diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index f3c96d2d09..02fc6b8195 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -20364,11 +20364,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "runs" @@ -20419,11 +20415,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "runs" @@ -20692,11 +20684,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "runs" @@ -20761,11 +20749,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "runs" @@ -20834,11 +20818,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "suites" @@ -20927,11 +20907,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "suites" @@ -20982,11 +20958,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "suites" @@ -21079,11 +21051,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "runs" @@ -21122,11 +21090,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "suites" @@ -22854,11 +22818,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "runs" @@ -22950,11 +22910,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "suites" @@ -52086,166 +52042,6 @@ } } }, - "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", - "type": "object", - "properties": { - "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "events_url": { - "type": "string", - "format": "uri" - }, - "hooks_url": { - "type": "string" - }, - "issues_url": { - "type": "string" - }, - "members_url": { - "type": "string" - }, - "public_members_url": { - "type": "string" - }, - "avatar_url": { - "type": "string" - }, - "description": { - "type": "string", - "nullable": true - }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" - }, - "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" - }, - "email": { - "description": "Display email for the organization", - "example": "org@example.com", - "type": "string", - "format": "email" - }, - "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" - }, - "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" - }, - "public_repos": { - "type": "integer" - }, - "public_gists": { - "type": "integer" - }, - "followers": { - "type": "integer" - }, - "following": { - "type": "integer" - }, - "type": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "plan": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" - }, - "filled_seats": { - "type": "integer" - }, - "seats": { - "type": "integer" - } - } - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at" - ] - }, "team-full": { "title": "Full Team", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -52335,7 +52131,7 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "$ref": "#/components/schemas/organization" + "$ref": "#/components/schemas/organization-full" }, "ldap_dn": { "description": "Distinguished Name (DN) that team maps to within LDAP environment", @@ -83020,9 +82816,17 @@ "workflow-id": { "name": "workflow_id", "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "type": "integer" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } }, "branch": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index e524fc32bc..c07f1d5c5b 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.0.0-rc.1 + version: 1.0.0-rc.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -14694,14 +14694,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: runs "/repos/{owner}/{repo}/check-runs/{check_run_id}": @@ -14734,14 +14727,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: runs patch: @@ -14982,14 +14968,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: runs "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations": @@ -15030,14 +15009,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: runs "/repos/{owner}/{repo}/check-suites": @@ -15082,14 +15054,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: suites "/repos/{owner}/{repo}/check-suites/preferences": @@ -15154,14 +15119,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: suites "/repos/{owner}/{repo}/check-suites/{check_suite_id}": @@ -15194,14 +15152,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: suites "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": @@ -15259,14 +15210,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: runs "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": @@ -15292,14 +15236,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: suites "/repos/{owner}/{repo}/code-scanning/alerts": @@ -16544,14 +16481,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: runs "/repos/{owner}/{repo}/commits/{ref}/check-suites": @@ -16609,14 +16539,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: suites "/repos/{owner}/{repo}/commits/{ref}/status": @@ -37720,129 +37643,6 @@ components: description: the time of the last sync for this group-mapping example: 2019-06-03 22:27:15:000 -700 type: string - organization: - title: Organization - description: GitHub account for managing multiple users, teams, and repositories - type: object - properties: - login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri - id: - type: integer - node_id: - type: string - repos_url: - type: string - format: uri - events_url: - type: string - format: uri - hooks_url: - type: string - issues_url: - type: string - members_url: - type: string - public_members_url: - type: string - avatar_url: - type: string - description: - type: string - nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri - name: - description: Display name for the organization - example: New Org - type: string - company: - description: Display company name for the organization - example: Acme corporation - type: string - location: - description: Display location for the organization - example: Berlin, Germany - type: string - email: - description: Display email for the organization - example: org@example.com - type: string - format: email - has_organization_projects: - description: Specifies if organization projects are enabled for this org - type: boolean - has_repository_projects: - description: Specifies if repository projects are enabled for repositories - that belong to this org - type: boolean - is_verified: - type: boolean - public_repos: - type: integer - public_gists: - type: integer - followers: - type: integer - following: - type: integer - type: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - plan: - type: object - properties: - name: - type: string - space: - type: integer - private_repos: - type: integer - filled_seats: - type: integer - seats: - type: integer - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description - - html_url - - has_organization_projects - - has_repository_projects - - public_repos - - public_gists - - followers - - following - - type - - created_at - - updated_at team-full: title: Full Team description: Groups of organization members that gives permissions on specified @@ -37913,7 +37713,7 @@ components: format: date-time example: '2017-08-17T12:37:15Z' organization: - "$ref": "#/components/schemas/organization" + "$ref": "#/components/schemas/organization-full" ldap_dn: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com @@ -63050,9 +62850,13 @@ components: workflow-id: name: workflow_id in: path + description: The ID of the workflow. You can also pass the workflow file name + as a string. required: true schema: - type: integer + oneOf: + - type: integer + - type: string branch: name: branch description: branch+ parameter diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 8f47585e14..820a9cea0b 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -67044,118 +67044,159 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -67175,7 +67216,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -67584,118 +67668,159 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -67715,7 +67840,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -68102,118 +68270,159 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -68233,7 +68442,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -99512,9 +99764,17 @@ { "name": "workflow_id", "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "type": "integer" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } ], @@ -99656,96 +99916,112 @@ { "name": "workflow_id", "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + ], + "responses": { + "204": { + "description": "Empty response" + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The reference of the workflow run. The reference can be a branch, tag, or a commit SHA." + }, + "inputs": { + "type": "object", + "description": "Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted.", + "additionalProperties": { + "type": "string" + }, + "maxProperties": 10 + } + }, + "required": [ + "ref" + ] + }, + "example": { + "ref": "topic-branch", + "inputs": { + "name": "Mona the Octocat", + "home": "San Francisco, CA" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "previews": [ + + ], + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { + "get": { + "summary": "List workflow runs", + "description": "List all workflow runs for a workflow. You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.", + "tags": [ + "actions" + ], + "operationId": "actions/list-workflow-runs", + "externalDocs": { + "description": "API method documentation", + "url": "https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs" + }, + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "workflow_id", + "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Empty response" - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "ref": { - "type": "string", - "description": "The reference of the workflow run. The reference can be a branch, tag, or a commit SHA." - }, - "inputs": { - "type": "object", - "description": "Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted.", - "additionalProperties": { - "type": "string" - }, - "maxProperties": 10 - } + "oneOf": [ + { + "type": "integer" }, - "required": [ - "ref" - ] - }, - "example": { - "ref": "topic-branch", - "inputs": { - "name": "Mona the Octocat", - "home": "San Francisco, CA" + { + "type": "string" } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "previews": [ - - ], - "category": "actions", - "subcategory": "workflows" - } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { - "get": { - "summary": "List workflow runs", - "description": "List all workflow runs for a workflow. You can also replace `:workflow_id` with `:workflow_file_name`. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://developer.github.com/v3/#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.", - "tags": [ - "actions" - ], - "operationId": "actions/list-workflow-runs", - "externalDocs": { - "description": "API method documentation", - "url": "https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs" - }, - "parameters": [ - { - "name": "owner", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "workflow_id", - "in": "path", - "required": true, - "schema": { - "type": "integer" + ] } }, { @@ -101395,9 +101671,17 @@ { "name": "workflow_id", "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "type": "integer" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } ], @@ -114124,11 +114408,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "runs" @@ -114755,11 +115035,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "runs" @@ -115604,11 +115880,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "runs" @@ -115778,11 +116050,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "runs" @@ -117047,11 +117315,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "suites" @@ -118277,11 +118541,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "suites" @@ -119534,11 +119794,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "suites" @@ -120244,11 +120500,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "runs" @@ -120303,11 +120555,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "suites" @@ -132360,11 +132608,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "runs" @@ -133677,11 +133921,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "antiope", - "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" - } + ], "category": "checks", "subcategory": "suites" @@ -242975,118 +243215,159 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -243106,7 +243387,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -243488,118 +243812,159 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -243619,7 +243984,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -279142,118 +279550,159 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -279273,7 +279722,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index d159d9332c..c420748a13 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.0.0-rc.1 + version: 1.0.0-rc.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -51249,94 +51249,126 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com + twitter_username: + type: string + example: github + nullable: true + is_verified: + type: boolean + example: true has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -51350,6 +51382,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -51669,94 +51734,126 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com + twitter_username: + type: string + example: github + nullable: true + is_verified: + type: boolean + example: true has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -51770,6 +51867,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -52093,94 +52223,126 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com + twitter_username: + type: string + example: github + nullable: true + is_verified: + type: boolean + example: true has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -52194,6 +52356,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -76336,9 +76531,13 @@ paths: type: string - name: workflow_id in: path + description: The ID of the workflow. You can also pass the workflow file name + as a string. required: true schema: - type: integer + oneOf: + - type: integer + - type: string responses: '200': description: response @@ -76446,9 +76645,13 @@ paths: type: string - name: workflow_id in: path + description: The ID of the workflow. You can also pass the workflow file name + as a string. required: true schema: - type: integer + oneOf: + - type: integer + - type: string responses: '204': description: Empty response @@ -76510,9 +76713,13 @@ paths: type: string - name: workflow_id in: path + description: The ID of the workflow. You can also pass the workflow file name + as a string. required: true schema: - type: integer + oneOf: + - type: integer + - type: string - name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -77806,9 +78013,13 @@ paths: type: string - name: workflow_id in: path + description: The ID of the workflow. You can also pass the workflow file name + as a string. required: true schema: - type: integer + oneOf: + - type: integer + - type: string responses: '200': description: response @@ -87364,14 +87575,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: runs "/repos/{owner}/{repo}/check-runs/{check_run_id}": @@ -87859,14 +88063,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: runs patch: @@ -88562,14 +88759,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: runs "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations": @@ -88695,14 +88885,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: runs "/repos/{owner}/{repo}/check-suites": @@ -89699,14 +89882,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: suites "/repos/{owner}/{repo}/check-suites/preferences": @@ -90649,14 +90825,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: suites "/repos/{owner}/{repo}/check-suites/{check_suite_id}": @@ -91646,14 +91815,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: suites "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": @@ -92197,14 +92359,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: runs "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": @@ -92243,14 +92398,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: suites "/repos/{owner}/{repo}/code-scanning/alerts": @@ -101593,14 +101741,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: runs "/repos/{owner}/{repo}/commits/{ref}/check-suites": @@ -102630,14 +102771,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: antiope - note: |- - The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.antiope-preview+json - ``` + previews: [] category: checks subcategory: suites "/repos/{owner}/{repo}/commits/{ref}/status": @@ -186640,94 +186774,126 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com + twitter_username: + type: string + example: github + nullable: true + is_verified: + type: boolean + example: true has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -186741,6 +186907,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -187063,94 +187262,126 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com + twitter_username: + type: string + example: github + nullable: true + is_verified: + type: boolean + example: true has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -187164,6 +187395,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -214238,94 +214502,126 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com + twitter_username: + type: string + example: github + nullable: true + is_verified: + type: boolean + example: true has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -214339,6 +214635,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url diff --git a/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json b/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json index eccbb4809d..10d60a315a 100644 --- a/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json +++ b/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -2086,9 +2086,8 @@ "hooks_count": 1, "download": { "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", - "state": "not_started", - "downloaded_at": null, - "message": null + "state": "success", + "downloaded_at": "2016-05-26T07:42:53-05:00" } } } @@ -2227,9 +2226,8 @@ "hooks_count": 1, "download": { "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", - "state": "not_started", - "downloaded_at": null, - "message": null + "state": "success", + "downloaded_at": "2016-05-26T07:42:53-05:00" } } } @@ -3934,24 +3932,36 @@ "default": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] } @@ -4746,7 +4756,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -4849,11 +4859,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -5085,7 +5090,6 @@ "default": { "value": { "id": 1, - "slug": "octoapp", "node_id": "MDExOkludGVncmF0aW9uMQ==", "owner": { "login": "github", @@ -5134,10 +5138,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -5180,11 +5187,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -5565,6 +5567,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#list-installations-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "per_page", "description": "Results per page (max 100)", @@ -5582,23 +5594,6 @@ "type": "integer", "default": 1 } - }, - { - "name": "since", - "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "outdated", - "in": "query", - "required": false, - "schema": { - "type": "string" - } } ], "responses": { @@ -6108,10 +6103,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -6128,6 +6126,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#get-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -6674,15 +6682,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://developer.github.com/enterprise/2.18/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -6692,6 +6703,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#delete-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -6731,10 +6752,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "gambit", + "note": "Uninstalling GitHub Apps and revoking an app's installation token are currently available for developers to preview. To access the new endpoint during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.gambit-preview+json\n```" + }, + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -6751,6 +6780,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#create-an-installation-access-token-for-an-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -7361,11 +7400,6 @@ "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", @@ -7657,9 +7691,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -7689,15 +7720,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -7706,24 +7731,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -7748,6 +7767,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -7842,7 +7864,6 @@ "issues": "write", "contents": "read" }, - "repository_selection": "selected", "repositories": [ { "id": 1296269, @@ -7937,7 +7958,6 @@ "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", @@ -7948,23 +7968,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -8129,10 +8137,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -9376,11 +9387,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -9612,7 +9618,6 @@ "default": { "value": { "id": 1, - "slug": "octoapp", "node_id": "MDExOkludGVncmF0aW9uMQ==", "owner": { "login": "github", @@ -9723,10 +9728,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -10148,24 +10156,36 @@ "default": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] } @@ -10717,7 +10737,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -11757,7 +11777,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -16295,11 +16315,6 @@ "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", @@ -16591,9 +16606,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -16623,15 +16635,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -16640,24 +16646,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -16682,6 +16682,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -16773,11 +16776,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -17213,11 +17211,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -17679,137 +17672,71 @@ "format": "uri" } }, - "security_advisories_url": { - "type": "string", - "example": "https://github.com/security-advisories" - }, "_links": { - "type": "object", - "properties": { - "timeline": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, - "user": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, - "security_advisories": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "type": "array", + "required": [ + "timeline", + "user" + ], + "items": { + "type": "object", + "properties": { + "timeline": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_public": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user_public": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_actor": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_organization": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user_actor": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_organizations": { - "type": "array", - "items": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", + "current_user_organization": { "type": "object", "properties": { "href": { @@ -17818,18 +17745,24 @@ "type": { "type": "string" } - }, - "required": [ - "href", - "type" - ] + } + }, + "current_user_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } } } - }, - "required": [ - "timeline", - "user" - ] + } } }, "required": [ @@ -17850,43 +17783,40 @@ "current_user_organization_urls": [ "https://github.com/organizations/github/octocat.private.atom?token=abc123" ], - "security_advisories_url": "https://github.com/security-advisories", - "_links": { - "timeline": { - "href": "https://github.com/timeline", - "type": "application/atom+xml" - }, - "user": { - "href": "https://github.com/{user}", - "type": "application/atom+xml" - }, - "current_user_public": { - "href": "https://github.com/octocat", - "type": "application/atom+xml" - }, - "current_user": { - "href": "https://github.com/octocat.private?token=abc123", - "type": "application/atom+xml" - }, - "current_user_actor": { - "href": "https://github.com/octocat.private.actor?token=abc123", - "type": "application/atom+xml" - }, - "current_user_organization": { - "href": "", - "type": "" - }, - "current_user_organizations": [ - { - "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "_links": [ + { + "timeline": { + "href": "https://github.com/timeline", "type": "application/atom+xml" - } - ], - "security_advisories": { - "href": "https://github.com/security-advisories", - "type": "application/atom+xml" + }, + "user": { + "href": "https://github.com/{user}", + "type": "application/atom+xml" + }, + "current_user_public": { + "href": "https://github.com/octocat", + "type": "application/atom+xml" + }, + "current_user": { + "href": "https://github.com/octocat.private?token=abc123", + "type": "application/atom+xml" + }, + "current_user_actor": { + "href": "https://github.com/octocat.private.actor?token=abc123", + "type": "application/atom+xml" + }, + "current_user_organization": { + "href": "", + "type": "" + }, + "current_user_organizations": [ + { + "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "type": "application/atom+xml" + } + ] } - } + ] } } } @@ -26157,6 +26087,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/installations/#list-repositories-accessible-to-the-app-installation" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "per_page", "description": "Results per page (max 100)", @@ -26689,11 +26629,6 @@ "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", @@ -26985,9 +26920,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -27017,15 +26949,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -27034,24 +26960,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -27076,6 +26996,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -27259,29 +27182,16 @@ "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", "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -27346,6 +27256,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -28868,11 +28783,6 @@ "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", @@ -29164,9 +29074,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -29196,15 +29103,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -29213,24 +29114,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -29255,6 +29150,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -29346,11 +29244,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -29889,7 +29782,6 @@ "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", @@ -29900,25 +29792,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] } @@ -30033,12 +29912,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -30584,79 +30462,6 @@ "type": "boolean", "example": true }, - "ssh_key_fingerprints": { - "type": "object", - "properties": { - "MD5_RSA": { - "type": "string" - }, - "MD5_DSA": { - "type": "string" - }, - "SHA256_RSA": { - "type": "string" - }, - "SHA256_DSA": { - "type": "string" - } - } - }, - "hooks": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "web": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "api": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "git": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "pages": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "192.30.252.153/32", - "192.30.252.154/32" - ] - }, - "importer": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "54.158.161.132", - "54.226.70.38" - ] - }, "github_services_sha": { "type": "string", "example": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" @@ -30673,34 +30478,8 @@ "default": { "value": { "verifiable_password_authentication": true, - "ssh_key_fingerprints": { - "MD5_RSA": "16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48", - "MD5_DSA": "ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c", - "SHA256_RSA": "nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", - "SHA256_DSA": "br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ" - }, - "hooks": [ - "192.30.252.0/22" - ], - "web": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "api": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "git": [ - "192.30.252.0/22" - ], - "pages": [ - "192.30.252.153/32", - "192.30.252.154/32" - ], - "importer": [ - "54.158.161.132", - "54.226.70.38" - ] + "installed_version": "2.18.0", + "github_services_sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" } } } @@ -32125,11 +31904,6 @@ "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", @@ -32421,9 +32195,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -32453,15 +32224,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -32470,24 +32235,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -32512,6 +32271,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -32603,11 +32365,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -33043,11 +32800,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -33925,9 +33677,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -33963,12 +33712,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -34007,6 +33750,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -34853,9 +34599,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -34891,12 +34634,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -34935,6 +34672,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -35918,15 +35658,6 @@ "format": "email", "example": "octocat@github.com" }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, "has_organization_projects": { "type": "boolean", "example": true @@ -36037,18 +35768,6 @@ "type": "string", "example": "all" }, - "members_can_create_public_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_private_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "example": true - }, "members_can_create_pages": { "type": "boolean", "example": true @@ -36426,15 +36145,6 @@ "format": "email", "example": "octocat@github.com" }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, "has_organization_projects": { "type": "boolean", "example": true @@ -36545,18 +36255,6 @@ "type": "string", "example": "all" }, - "members_can_create_public_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_private_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "example": true - }, "members_can_create_pages": { "type": "boolean", "example": true @@ -36611,8 +36309,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -36637,9 +36333,6 @@ "members_can_create_repositories": true, "two_factor_requirement_enabled": true, "members_allowed_repository_creation_type": "all", - "members_can_create_public_repositories": false, - "members_can_create_private_repositories": false, - "members_can_create_internal_repositories": false, "members_can_create_pages": true, "updated_at": "2014-03-03T18:58:10Z" } @@ -38197,11 +37890,6 @@ "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", @@ -38493,9 +38181,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -38525,15 +38210,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -38542,24 +38221,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -38584,6 +38257,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -38675,11 +38351,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -39115,11 +38786,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -40625,6 +40291,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#get-an-organization-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "org", "in": "path", @@ -41128,10 +40804,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -42622,11 +42301,6 @@ "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", @@ -42918,9 +42592,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -42950,15 +42621,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -42967,24 +42632,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -43009,6 +42668,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -43100,11 +42762,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -43643,7 +43300,6 @@ "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", @@ -43654,25 +43310,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] } @@ -43715,12 +43358,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -47648,9 +47290,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -47686,12 +47325,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -47730,6 +47363,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -47878,7 +47514,6 @@ "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", @@ -47887,11 +47522,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -48567,11 +48201,6 @@ "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", @@ -48863,9 +48492,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -48895,15 +48521,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -48912,24 +48532,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -48954,6 +48568,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -49106,7 +48723,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -49138,7 +48754,6 @@ "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", @@ -49148,13 +48763,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -49785,118 +49398,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -49916,7 +49561,38 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -49982,7 +49658,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -50005,7 +49680,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -50016,7 +49690,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -50325,118 +50000,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -50456,7 +50163,38 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -50522,7 +50260,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -50545,7 +50282,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -50556,7 +50292,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -56378,11 +56115,6 @@ "type": "boolean", "description": "Returns whether or not this repository disabled." }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "type": "string", - "example": "public" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -56924,11 +56656,6 @@ "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", @@ -57220,9 +56947,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -57252,15 +56976,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -57269,24 +56987,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -57311,6 +57023,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -57391,18 +57106,10 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true }, - "delete_branch_on_merge": { - "type": "boolean", - "example": false - }, "allow_merge_commit": { "type": "boolean", "example": true @@ -58078,11 +57785,6 @@ "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", @@ -58374,9 +58076,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -58406,15 +58105,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -58423,24 +58116,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -58465,6 +58152,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -59043,11 +58733,6 @@ "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", @@ -59339,9 +59024,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -59371,15 +59053,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -59388,24 +59064,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -59430,6 +59100,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -59679,7 +59352,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -59703,7 +59375,6 @@ "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", @@ -59713,10 +59384,7 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -59819,7 +59487,6 @@ "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, @@ -59840,7 +59507,6 @@ "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", @@ -59850,10 +59516,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -59867,7 +59530,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -59941,7 +59605,6 @@ "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, @@ -59962,7 +59625,6 @@ "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", @@ -59972,10 +59634,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -59989,8 +59648,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } }, "response-with-scarlet-witch-preview-media-type": { @@ -60711,11 +60372,6 @@ "type": "boolean", "description": "Returns whether or not this repository disabled." }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "type": "string", - "example": "public" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -61257,11 +60913,6 @@ "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", @@ -61553,9 +61204,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -61585,15 +61233,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -61602,24 +61244,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -61644,6 +61280,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -61724,18 +61363,10 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true }, - "delete_branch_on_merge": { - "type": "boolean", - "example": false - }, "allow_merge_commit": { "type": "boolean", "example": true @@ -62411,11 +62042,6 @@ "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", @@ -62707,9 +62333,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -62739,15 +62362,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -62756,24 +62373,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -62798,6 +62409,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -63376,11 +62990,6 @@ "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", @@ -63672,9 +63281,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -63704,15 +63310,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -63721,24 +63321,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -63763,6 +63357,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -64019,7 +63616,6 @@ "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" }, - "language": null, "forks_count": 9, "forks": 9, "stargazers_count": 80, @@ -64043,7 +63639,6 @@ "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", @@ -64053,10 +63648,7 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -64152,7 +63744,6 @@ "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, @@ -64173,7 +63764,6 @@ "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", @@ -64183,10 +63773,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -64200,7 +63787,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -64274,7 +63862,6 @@ "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, @@ -64295,7 +63882,6 @@ "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", @@ -64305,10 +63891,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -64322,8 +63905,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } } } @@ -65575,6 +65160,129 @@ } } } + }, + "restrictions": { + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "users_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "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" + } + } + } + }, + "teams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "parent": { + "nullable": true + } + } + } + } + } + }, + "type": "array" } }, "required": [ @@ -65587,30 +65295,6 @@ "apps" ] }, - "required_linear_history": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_force_pushes": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_deletions": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, "enabled": { "type": "boolean" }, @@ -66897,6 +66581,129 @@ } } } + }, + "restrictions": { + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "users_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "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" + } + } + } + }, + "teams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "parent": { + "nullable": true + } + } + } + } + } + }, + "type": "array" } }, "required": [ @@ -66909,30 +66716,6 @@ "apps" ] }, - "required_linear_history": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_force_pushes": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_deletions": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, "enabled": { "type": "boolean" }, @@ -67805,6 +67588,129 @@ } } } + }, + "restrictions": { + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "users_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "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" + } + } + } + }, + "teams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "parent": { + "nullable": true + } + } + } + } + } + }, + "type": "array" } }, "required": [ @@ -67817,30 +67723,6 @@ "apps" ] }, - "required_linear_history": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_force_pushes": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_deletions": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, "enabled": { "type": "boolean" }, @@ -67924,96 +67806,51 @@ "require_code_owner_reviews": true, "required_approving_review_count": 2 }, - "restrictions": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", - "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", - "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", - "users": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://api.github.com/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ], - "apps": [ - { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", + "restrictions": [ + { + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", + "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", + "users": [ + { + "login": "octocat", "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "node_id": "MDQ6VXNlcjE=", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - } - ] - }, - "required_linear_history": { - "enabled": true - }, - "allow_force_pushes": { - "enabled": true - }, - "allow_deletions": { - "enabled": true - } + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], + "teams": [ + { + "id": 1, + "node_id": "MDQ6VGVhbTE=", + "url": "https://api.github.com/teams/1", + "html_url": "https://api.github.com/teams/justice-league", + "name": "Justice League", + "slug": "justice-league", + "description": "A great team.", + "privacy": "closed", + "permission": "admin", + "members_url": "https://api.github.com/teams/1/members{/member}", + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null + } + ] + } + ] } } } @@ -68949,6 +68786,129 @@ } } } + }, + "restrictions": { + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "users_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "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" + } + } + } + }, + "teams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "parent": { + "nullable": true + } + } + } + } + } + }, + "type": "array" } }, "required": [ @@ -72065,6 +72025,129 @@ } } } + }, + "restrictions": { + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "users_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "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" + } + } + } + }, + "teams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "parent": { + "nullable": true + } + } + } + } + } + }, + "type": "array" } }, "required": [ @@ -72083,7 +72166,6 @@ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users", "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", - "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", "users": [ { "login": "octocat", @@ -72121,43 +72203,6 @@ "repositories_url": "https://api.github.com/teams/1/repos", "parent": null } - ], - "apps": [ - { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - } ] } } @@ -74887,11 +74932,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -75612,11 +75652,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -76461,11 +76496,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -77309,11 +77339,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -77931,9 +77956,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -77969,12 +77991,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -78013,6 +78029,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -78292,7 +78311,6 @@ "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, @@ -78313,7 +78331,6 @@ "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", @@ -78322,10 +78339,9 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false }, "head_commit": { "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", @@ -78969,11 +78985,6 @@ "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", @@ -79265,9 +79276,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -79297,15 +79305,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -79314,24 +79316,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -79356,6 +79352,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -79523,7 +79522,6 @@ "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, @@ -79544,7 +79542,6 @@ "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", @@ -79554,10 +79551,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -79571,7 +79565,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } } } @@ -79796,11 +79791,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -80418,9 +80408,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -80456,12 +80443,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -80500,6 +80481,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -80779,7 +80763,6 @@ "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, @@ -80800,7 +80783,6 @@ "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", @@ -80809,10 +80791,9 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false }, "head_commit": { "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", @@ -81085,11 +81066,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -82415,9 +82391,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -82453,12 +82426,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -82497,6 +82464,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -88238,11 +88208,6 @@ "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", @@ -88534,9 +88499,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -88566,15 +88528,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -88583,24 +88539,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -88625,6 +88575,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -89341,11 +89294,6 @@ "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", @@ -89637,9 +89585,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -89669,15 +89614,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -89686,24 +89625,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -89728,6 +89661,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -90289,7 +90225,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -90409,7 +90346,6 @@ "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", @@ -90420,23 +90356,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "base": { @@ -90556,7 +90480,6 @@ "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", @@ -90567,23 +90490,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "_links": { @@ -91646,11 +91557,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -92369,11 +92275,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -92991,9 +92892,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -93029,12 +92927,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -93073,6 +92965,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -93253,18 +93148,12 @@ "url": "https://api.github.com/orgs/github", "repos_url": "https://api.github.com/orgs/github/repos", "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true + "description": "A great organization" }, "name": "Octocat App", "description": "", @@ -93376,7 +93265,6 @@ "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", @@ -93385,29 +93273,14 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "allow_rebase_merge": true, + "template_repository": null, + "allow_squash_merge": true, + "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 - }, - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "head_commit": { - "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "tree_id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", - "timestamp": "2016-10-10T00:00:00Z", - "author": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - }, - "committer": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - } - }, - "latest_check_runs_count": 1, - "check_runs_url": "https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs" + "network_count": 0, + "anonymous_access_enabled": false + } } ] } @@ -93948,9 +93821,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -93986,12 +93856,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -94030,6 +93894,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -98955,11 +98822,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -99612,11 +99474,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -100349,11 +100206,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -100672,6 +100524,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "ant-man", @@ -100963,11 +100820,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -101630,11 +101482,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -102287,11 +102134,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -102625,6 +102467,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "flash", @@ -104044,11 +103891,6 @@ "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", @@ -104340,9 +104182,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -104372,15 +104211,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -104389,24 +104222,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -104431,6 +104258,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -104522,11 +104352,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -104962,11 +104787,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -105783,9 +105603,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -105821,12 +105638,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -105865,6 +105676,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -106013,7 +105827,6 @@ "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", @@ -106022,10 +105835,10 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -106662,11 +106475,6 @@ "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", @@ -106958,9 +106766,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -106990,15 +106795,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -107007,24 +106806,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -107049,6 +106842,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -107201,7 +106997,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -107233,7 +107028,6 @@ "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", @@ -107243,13 +107037,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -111932,6 +111724,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#get-a-repository-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "owner", "in": "path", @@ -112466,10 +112268,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -112926,9 +112731,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -112964,12 +112766,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -113008,6 +112804,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -113944,9 +113743,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -113982,12 +113778,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -114026,6 +113816,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -115933,11 +115726,6 @@ "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", @@ -116229,9 +116017,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -116261,15 +116046,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -116278,24 +116057,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -116320,6 +116093,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -116411,11 +116187,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -116924,12 +116695,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "post": { @@ -118405,11 +118175,6 @@ "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", @@ -118701,9 +118466,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -118733,15 +118495,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -118750,24 +118506,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -118792,6 +118542,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -118883,11 +118636,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -119801,11 +119549,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -120476,11 +120219,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -120837,8 +120575,8 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -121090,11 +120828,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -123919,11 +123652,6 @@ "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", @@ -124215,9 +123943,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -124247,15 +123972,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -124264,24 +123983,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -124306,6 +124019,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -124397,11 +124113,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -125654,6 +125365,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -127098,11 +126814,6 @@ "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", @@ -127394,9 +127105,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -127426,15 +127134,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -127443,24 +127145,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -127485,6 +127181,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -127576,11 +127275,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -128813,6 +128507,16 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + }, + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -130225,11 +129929,6 @@ "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", @@ -130521,9 +130220,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -130553,15 +130249,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -130570,24 +130260,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -130612,6 +130296,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -130703,11 +130390,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -132726,11 +132408,6 @@ "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", @@ -133022,9 +132699,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -133054,15 +132728,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -133071,24 +132739,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -133113,6 +132775,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -133204,11 +132869,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -135152,11 +134812,6 @@ "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", @@ -135448,9 +135103,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -135480,15 +135132,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -135497,24 +135143,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -135539,6 +135179,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -135630,11 +135273,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -137391,11 +137029,6 @@ "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", @@ -137687,9 +137320,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -137719,15 +137349,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -137736,24 +137360,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -137778,6 +137396,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -137869,11 +137490,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -138578,11 +138194,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -139223,11 +138834,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -140041,6 +139647,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -141165,10 +140776,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "delete": { @@ -146835,9 +146449,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -146873,12 +146484,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -146917,6 +146522,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -147328,7 +146936,7 @@ } }, "post": { - "summary": "Create a GitHub Enterprise Server Pages site", + "summary": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"", "tags": [ "repos" @@ -147369,11 +146977,15 @@ "properties": { "branch": { "type": "string", - "description": "The repository branch used to publish your site's source files." + "description": "The repository branch used to publish your site's source files. Can be either `master` or `gh-pages`.", + "enum": [ + "master", + "gh-pages" + ] }, "path": { "type": "string", - "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`", + "description": "The repository directory that includes the source files for the Pages site. When `branch` is `master`, you can change `path` to `/docs`. When `branch` is `gh-pages`, you are unable to specify a `path` other than `/`.", "enum": [ "/", "/docs" @@ -147392,7 +147004,7 @@ }, "example": { "source": { - "branch": "main", + "branch": "master", "path": "/docs" } } @@ -147606,6 +147218,11 @@ "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```" + }, + { + "required": false, + "name": "mister-fantastic", + "note": "The GitHub Pages API contains two additional fields in responses, which developers can preview: `html_url` and `source`. To see these two new fields, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.mister-fantastic-preview+json\n```" } ], "category": "repos", @@ -147613,7 +147230,7 @@ } }, "put": { - "summary": "Update information about a GitHub Enterprise Server Pages site", + "summary": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).", "tags": [ "repos" @@ -147647,11 +147264,6 @@ "schema": { "type": "object", "properties": { - "cname": { - "type": "string", - "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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/).\"", - "nullable": true - }, "source": { "anyOf": [ { @@ -147685,19 +147297,19 @@ "path" ] } + ], + "type": "string", + "description": "Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `\"gh-pages\"`, `\"master\"`, and `\"master /docs\"`.", + "enum": [ + "gh-pages", + "master", + "master /docs" ] } - }, - "required": [ - "source" - ] + } }, "example": { - "cname": "octocatblog.com", - "source": { - "branch": "main", - "path": "/" - } + "source": "master /docs" } } } @@ -147834,7 +147446,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "mister-fantastic", + "note": "The GitHub Pages API contains two additional fields in responses, which developers can preview: `html_url` and `source`. To see these two new fields, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.mister-fantastic-preview+json\n```" + } ], "category": "repos", "subcategory": "pages" @@ -150201,7 +149817,7 @@ "/repos/{owner}/{repo}/pulls": { "get": { "summary": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -151742,11 +151358,6 @@ "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", @@ -152038,9 +151649,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -152070,15 +151678,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -152087,24 +151689,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -152129,6 +151725,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -152845,11 +152444,6 @@ "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", @@ -153141,9 +152735,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -153173,15 +152764,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -153190,24 +152775,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -153232,6 +152811,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -153793,7 +153375,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -153913,7 +153496,6 @@ "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", @@ -153924,23 +153506,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "base": { @@ -154060,7 +153630,6 @@ "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", @@ -154071,23 +153640,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "_links": { @@ -154210,15 +153767,23 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } }, "post": { "summary": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.18/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.", "tags": [ "pulls" ], @@ -155554,9 +155119,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -155633,6 +155195,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -156140,9 +155705,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -156234,6 +155796,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -157037,7 +156602,6 @@ "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, @@ -157066,7 +156630,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -157078,7 +156641,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -157177,7 +156741,6 @@ "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, @@ -157206,7 +156769,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -157218,7 +156780,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -157389,10 +156952,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -157741,47 +157312,6 @@ "pull_request" ] }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, "reactions": { "title": "Reaction Rollup", "type": "object", @@ -157913,13 +157443,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } ] } @@ -158254,47 +157778,6 @@ "pull_request" ] }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, "reactions": { "title": "Reaction Rollup", "type": "object", @@ -158424,13 +157907,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } } } @@ -158795,47 +158272,6 @@ "pull_request" ] }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, "reactions": { "title": "Reaction Rollup", "type": "object", @@ -158965,13 +158401,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } } } @@ -161277,9 +160707,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -161356,6 +160783,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -161863,9 +161293,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -161957,6 +161384,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -162760,7 +162190,6 @@ "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, @@ -162789,7 +162218,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -162801,7 +162229,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -162900,7 +162329,6 @@ "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, @@ -162929,7 +162357,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -162941,7 +162368,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -163065,7 +162493,7 @@ }, "patch": { "summary": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -164401,9 +163829,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -164480,6 +163905,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -164987,9 +164415,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -165081,6 +164506,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -165884,7 +165312,6 @@ "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, @@ -165913,7 +165340,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -165925,7 +165351,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -166024,7 +165451,6 @@ "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, @@ -166053,7 +165479,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -166065,7 +165490,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -166227,10 +165653,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -166587,47 +166021,6 @@ "pull_request" ] }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, "reactions": { "title": "Reaction Rollup", "type": "object", @@ -166759,13 +166152,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } ] } @@ -167417,47 +166804,6 @@ "pull_request" ] }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, "reactions": { "title": "Reaction Rollup", "type": "object", @@ -167550,7 +166896,7 @@ "original_position": 4, "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "in_reply_to_id": 426899381, + "in_reply_to_id": 8, "user": { "login": "octocat", "id": 1, @@ -167587,13 +166933,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } } } @@ -170164,11 +169504,6 @@ "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", @@ -170460,9 +169795,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -170492,15 +169824,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -170509,24 +169835,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -170551,6 +169871,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -171267,11 +170590,6 @@ "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", @@ -171563,9 +170881,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -171595,15 +170910,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -171612,24 +170921,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -171654,6 +170957,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -172352,7 +171658,6 @@ "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, @@ -172373,7 +171678,6 @@ "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", @@ -172383,10 +171687,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -172400,7 +171701,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "base": { @@ -172499,7 +171801,6 @@ "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, @@ -172520,7 +171821,6 @@ "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", @@ -172530,10 +171830,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -172547,7 +171844,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "_links": { @@ -184541,11 +183839,6 @@ "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", @@ -184837,9 +184130,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -184869,15 +184159,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -184886,24 +184170,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -184928,6 +184206,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -185080,7 +184361,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -185112,7 +184392,6 @@ "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", @@ -185122,13 +184401,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -185879,11 +185156,6 @@ "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", @@ -186175,9 +185447,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -186207,15 +185476,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -186224,24 +185487,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -186266,6 +185523,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -186418,7 +185678,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -186442,7 +185701,6 @@ "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", @@ -186459,6 +185717,10 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" + }, + "anonymous_access_enabled": false, + "template_repository": { + "anonymous_access_enabled": false } } } @@ -186926,9 +186188,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -186964,12 +186223,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -187008,6 +186261,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -187727,9 +186983,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -187765,12 +187018,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -187809,6 +187056,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -188911,9 +188161,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -188949,12 +188196,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -188993,6 +188234,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -190635,11 +189879,6 @@ "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", @@ -190931,9 +190170,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -190963,15 +190199,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -190980,24 +190210,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -191022,6 +190246,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -191123,11 +190350,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -194557,10 +193779,6 @@ "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - }, { "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" @@ -194619,10 +193837,6 @@ "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - }, { "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" @@ -194699,10 +193913,6 @@ "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - }, { "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" @@ -195093,118 +194303,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -195224,7 +194466,38 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -195290,7 +194563,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -195313,7 +194585,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -195324,7 +194595,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -195537,118 +194809,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -195668,7 +194972,38 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -195734,7 +195069,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -195757,7 +195091,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -195768,7 +195101,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -202362,9 +201696,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -202400,12 +201731,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -202444,6 +201769,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -202592,7 +201920,6 @@ "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", @@ -202601,11 +201928,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -203075,9 +202401,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -203113,12 +202436,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -203157,6 +202474,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -203625,11 +202945,6 @@ "type": "boolean", "description": "Returns whether or not this repository disabled." }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "type": "string", - "example": "public" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -204171,11 +203486,6 @@ "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", @@ -204467,9 +203777,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -204499,15 +203806,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -204516,24 +203817,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -204558,6 +203853,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -204638,18 +203936,10 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true }, - "delete_branch_on_merge": { - "type": "boolean", - "example": false - }, "allow_merge_commit": { "type": "boolean", "example": true @@ -205325,11 +204615,6 @@ "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", @@ -205621,9 +204906,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -205653,15 +204935,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -205670,24 +204946,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -205712,6 +204982,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -206290,11 +205563,6 @@ "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", @@ -206586,9 +205854,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -206618,15 +205883,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -206635,24 +205894,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -206677,6 +205930,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -207578,11 +206834,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -207805,10 +207056,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -207944,7 +207191,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -207993,7 +207239,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -208249,11 +207494,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -208407,7 +207647,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -211227,6 +210466,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "per_page", "description": "Results per page (max 100)", @@ -211872,7 +211121,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -211892,6 +211145,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -212436,11 +211699,6 @@ "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", @@ -212732,9 +211990,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -212764,15 +212019,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -212781,24 +212030,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -212823,6 +212066,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -213002,7 +212248,6 @@ "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", @@ -213013,23 +212258,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -213094,6 +212327,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -213188,7 +212426,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -213276,7 +212518,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -214762,11 +214008,6 @@ "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", @@ -215058,9 +214299,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -215090,15 +214328,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -215107,24 +214339,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -215149,6 +214375,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -215240,11 +214469,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -215783,7 +215007,6 @@ "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", @@ -215794,25 +215017,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] } @@ -215858,12 +215068,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -219291,11 +218500,6 @@ "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", @@ -219587,9 +218791,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -219619,15 +218820,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -219636,24 +218831,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -219678,6 +218867,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -219854,7 +219046,6 @@ "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", @@ -219865,23 +219056,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -220639,11 +219818,6 @@ "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", @@ -220935,9 +220109,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -220967,15 +220138,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -220984,24 +220149,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -221026,6 +220185,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -221178,7 +220340,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -221210,7 +220371,6 @@ "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", @@ -221220,13 +220380,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -221885,9 +221043,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -221923,12 +221078,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -221967,6 +221116,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -223271,11 +222423,6 @@ "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", @@ -223567,9 +222714,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -223599,15 +222743,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -223616,24 +222754,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -223658,6 +222790,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -223834,7 +222969,6 @@ "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", @@ -223845,23 +222979,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -224379,11 +223501,6 @@ "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", @@ -224675,9 +223792,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -224707,15 +223821,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -224724,24 +223832,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -224766,6 +223868,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -224950,7 +224055,6 @@ "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", @@ -224961,23 +224065,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } } ] @@ -225799,9 +224891,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -225837,12 +224926,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -225881,6 +224964,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -226029,7 +225115,6 @@ "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", @@ -226038,11 +225123,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -226324,118 +225408,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -226455,7 +225571,38 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -226546,7 +225693,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -226555,9 +225701,9 @@ "following": 0, "html_url": "https://github.com/octocat", "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } ] } @@ -226981,11 +226127,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -227208,10 +226349,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -228830,11 +227967,6 @@ "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", @@ -229126,9 +228258,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -229158,15 +228287,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -229175,24 +228298,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -229217,6 +228334,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -229308,11 +228428,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -229748,11 +228863,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -231514,11 +230624,6 @@ "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", @@ -231810,9 +230915,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -231842,15 +230944,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -231859,24 +230955,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -231901,6 +230991,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -231992,11 +231085,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -232432,11 +231520,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -234190,11 +233273,6 @@ "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", @@ -234486,9 +233564,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -234518,15 +233593,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -234535,24 +233604,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -234577,6 +233640,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -234668,11 +233734,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -235108,11 +234169,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -236970,6 +236026,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#get-a-user-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "username", "in": "path", @@ -237473,10 +236539,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -239592,11 +238661,6 @@ "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", @@ -239888,9 +238952,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -239920,15 +238981,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -239937,24 +238992,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -239979,6 +239028,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -240070,11 +239122,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -240510,11 +239557,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -242268,11 +241310,6 @@ "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", @@ -242564,9 +241601,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -242596,15 +241630,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -242613,24 +241641,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -242655,6 +241677,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -242746,11 +241771,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -243186,11 +242206,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -244028,9 +243043,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -244066,12 +243078,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -244110,6 +243116,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -244258,7 +243267,6 @@ "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", @@ -244267,11 +243275,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -244959,11 +243966,6 @@ "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", @@ -245255,9 +244257,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -245287,15 +244286,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -245304,24 +244297,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -245346,6 +244333,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -245522,7 +244512,6 @@ "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", @@ -245533,23 +244522,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -246067,11 +245044,6 @@ "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", @@ -246363,9 +245335,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -246395,15 +245364,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -246412,24 +245375,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -246454,6 +245411,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -246638,7 +245598,6 @@ "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", @@ -246649,23 +245608,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } } ] @@ -247129,9 +246076,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -247167,12 +246111,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -247211,6 +246149,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -247359,7 +246300,6 @@ "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", @@ -247368,11 +246308,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", diff --git a/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml b/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml index fa2d2d6a2d..c483160a14 100644 --- a/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml +++ b/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.0.0-rc.1 + version: 1.0.0-rc.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -1500,9 +1500,8 @@ paths: hooks_count: 1 download: url: https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest - state: not_started - downloaded_at: - message: + state: success + downloaded_at: '2016-05-26T07:42:53-05:00' requestBody: content: application/json: @@ -1603,9 +1602,8 @@ paths: hooks_count: 1 download: url: https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest - state: not_started - downloaded_at: - message: + state: success + downloaded_at: '2016-05-26T07:42:53-05:00' x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -2889,22 +2887,34 @@ paths: examples: default: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: headers: Link: example: ; rel="next", ; @@ -3513,7 +3523,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 requestBody: content: application/json: @@ -3587,10 +3597,6 @@ paths: 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== @@ -3772,7 +3778,6 @@ paths: default: value: id: 1 - slug: octoapp node_id: MDExOkludGVncmF0aW9uMQ== owner: login: github @@ -3810,9 +3815,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app-manifests/{code}/conversions": post: summary: Create a GitHub App from a manifest @@ -3851,10 +3861,6 @@ paths: 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== @@ -4171,6 +4177,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#list-installations-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: per_page description: Results per page (max 100) in: query @@ -4183,19 +4196,6 @@ paths: schema: type: integer default: 1 - - name: since - description: 'Only show notifications updated after the given time. This is - a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: - `YYYY-MM-DDTHH:MM:SSZ`.' - in: query - required: false - schema: - type: string - - name: outdated - in: query - required: false - schema: - type: string responses: '200': description: The permissions the installation has are included under the @@ -4595,9 +4595,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}": get: summary: Get an installation for the authenticated app @@ -4612,6 +4617,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#get-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -5035,15 +5047,19 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: delete: summary: Delete an installation for the authenticated app - description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://developer.github.com/enterprise/2.18/v3/apps/#suspend-an-app-installation)" endpoint. - - You must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + description: Uninstalls a GitHub App on a user, organization, or business account. + You must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) + to access this endpoint. tags: - apps operationId: apps/delete-installation @@ -5051,6 +5067,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#delete-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -5076,9 +5099,21 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: gambit + note: |- + Uninstalling GitHub Apps and revoking an app's installation token are currently available for developers to preview. To access the new endpoint during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.gambit-preview+json + ``` + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}/access_tokens": post: summary: Create an installation access token for an app @@ -5093,6 +5128,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#create-an-installation-access-token-for-an-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -5561,11 +5603,6 @@ paths: 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 @@ -5765,8 +5802,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -5786,31 +5821,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -5829,6 +5854,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -5914,7 +5941,6 @@ paths: permissions: issues: write contents: read - repository_selection: selected repositories: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -6006,7 +6032,6 @@ paths: 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' @@ -6016,22 +6041,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false '403': description: Forbidden content: @@ -6131,9 +6145,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/applications/grants": get: summary: List your grants @@ -7054,10 +7073,6 @@ paths: 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== @@ -7239,7 +7254,6 @@ paths: default: value: id: 1 - slug: octoapp node_id: MDExOkludGVncmF0aW9uMQ== owner: login: github @@ -7317,9 +7331,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/authorizations": get: summary: List your authorizations @@ -7654,22 +7673,34 @@ paths: examples: default: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: headers: Link: example: ; rel="next", ; @@ -8100,7 +8131,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 headers: Location: example: https://api.github.com/authorizations/1 @@ -8905,7 +8936,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 headers: Location: example: https://api.github.com/authorizations/1 @@ -12493,11 +12524,6 @@ paths: 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 @@ -12698,8 +12724,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -12719,32 +12743,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -12764,6 +12778,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -12854,10 +12870,6 @@ paths: 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== @@ -13209,10 +13221,6 @@ paths: 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== @@ -13563,113 +13571,65 @@ paths: items: type: string format: uri - security_advisories_url: - type: string - example: https://github.com/security-advisories _links: - type: object - properties: - timeline: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - user: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - security_advisories: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_public: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_actor: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_organization: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_organizations: - type: array - items: - title: Link With Type - description: Hypermedia Link with Type + type: array + required: + - timeline + - user + items: + type: object + properties: + timeline: type: object properties: href: type: string type: type: string - required: - - href - - type - required: - - timeline - - user + user: + type: object + properties: + href: + type: string + type: + type: string + current_user_public: + type: object + properties: + href: + type: string + type: + type: string + current_user: + type: object + properties: + href: + type: string + type: + type: string + current_user_actor: + type: object + properties: + href: + type: string + type: + type: string + current_user_organization: + type: object + properties: + href: + type: string + type: + type: string + current_user_organizations: + type: array + items: + type: object + properties: + href: + type: string + type: + type: string required: - _links - timeline_url @@ -13685,9 +13645,8 @@ paths: current_user_organization_url: '' current_user_organization_urls: - https://github.com/organizations/github/octocat.private.atom?token=abc123 - security_advisories_url: https://github.com/security-advisories _links: - timeline: + - timeline: href: https://github.com/timeline type: application/atom+xml user: @@ -13708,9 +13667,6 @@ paths: current_user_organizations: - href: https://github.com/organizations/github/octocat.private.atom?token=abc123 type: application/atom+xml - security_advisories: - href: https://github.com/security-advisories - type: application/atom+xml x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19727,6 +19683,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/installations/#list-repositories-accessible-to-the-app-installation parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: per_page description: Results per page (max 100) in: query @@ -20138,11 +20101,6 @@ paths: 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 @@ -20342,8 +20300,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -20363,31 +20319,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -20406,6 +20352,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -20578,28 +20526,16 @@ paths: 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' allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -20638,6 +20574,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -21838,11 +21780,6 @@ paths: 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 @@ -22042,8 +21979,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -22063,31 +21998,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -22106,6 +22031,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -22195,10 +22122,6 @@ paths: 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== @@ -22653,7 +22576,6 @@ paths: 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' @@ -22663,23 +22585,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -22749,17 +22659,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/licenses": get: summary: Get all commonly used licenses @@ -23203,55 +23110,6 @@ paths: verifiable_password_authentication: type: boolean example: true - ssh_key_fingerprints: - type: object - properties: - MD5_RSA: - type: string - MD5_DSA: - type: string - SHA256_RSA: - type: string - SHA256_DSA: - type: string - hooks: - type: array - items: - type: string - example: - - 127.0.0.1/32 - web: - type: array - items: - type: string - example: - - 127.0.0.1/32 - api: - type: array - items: - type: string - example: - - 127.0.0.1/32 - git: - type: array - items: - type: string - example: - - 127.0.0.1/32 - pages: - type: array - items: - type: string - example: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - type: array - items: - type: string - example: - - 54.158.161.132 - - 54.226.70.38 github_services_sha: type: string example: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15 @@ -23263,27 +23121,8 @@ paths: default: value: verifiable_password_authentication: true - ssh_key_fingerprints: - MD5_RSA: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 - MD5_DSA: ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c - SHA256_RSA: nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 - SHA256_DSA: br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ - hooks: - - 192.30.252.0/22 - web: - - 192.30.252.0/22 - - 185.199.108.0/22 - api: - - 192.30.252.0/22 - - 185.199.108.0/22 - git: - - 192.30.252.0/22 - pages: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - - 54.158.161.132 - - 54.226.70.38 + installed_version: 2.18.0 + github_services_sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15 '304': description: Not Modified x-github: @@ -24383,11 +24222,6 @@ paths: 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 @@ -24588,8 +24422,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -24609,32 +24441,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -24654,6 +24476,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -24744,10 +24568,6 @@ paths: 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== @@ -25099,10 +24919,6 @@ paths: 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== @@ -25762,8 +25578,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -25790,10 +25604,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -25821,6 +25631,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -26456,8 +26268,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -26484,10 +26294,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -26515,6 +26321,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -27251,13 +27059,6 @@ paths: type: string format: email example: octocat@github.com - twitter_username: - type: string - example: github - nullable: true - is_verified: - type: boolean - example: true has_organization_projects: type: boolean example: true @@ -27341,15 +27142,6 @@ paths: members_allowed_repository_creation_type: type: string example: all - members_can_create_public_repositories: - type: boolean - example: true - members_can_create_private_repositories: - type: boolean - example: true - members_can_create_internal_repositories: - type: boolean - example: true members_can_create_pages: type: boolean example: true @@ -27708,13 +27500,6 @@ paths: type: string format: email example: octocat@github.com - twitter_username: - type: string - example: github - nullable: true - is_verified: - type: boolean - example: true has_organization_projects: type: boolean example: true @@ -27798,15 +27583,6 @@ paths: members_allowed_repository_creation_type: type: string example: all - members_can_create_public_repositories: - type: boolean - example: true - members_can_create_private_repositories: - type: boolean - example: true - members_can_create_internal_repositories: - type: boolean - example: true members_can_create_pages: type: boolean example: true @@ -27856,8 +27632,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - twitter_username: github - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -27881,9 +27655,6 @@ paths: members_can_create_repositories: true two_factor_requirement_enabled: true members_allowed_repository_creation_type: all - members_can_create_public_repositories: false - members_can_create_private_repositories: false - members_can_create_internal_repositories: false members_can_create_pages: true updated_at: '2014-03-03T18:58:10Z' '422': @@ -29073,11 +28844,6 @@ paths: 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 @@ -29278,8 +29044,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -29299,32 +29063,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -29344,6 +29098,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -29434,10 +29190,6 @@ paths: 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== @@ -29789,10 +29541,6 @@ paths: 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== @@ -30887,6 +30635,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#get-an-organization-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: org in: path required: true @@ -31282,9 +31037,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/orgs/{org}/issues": get: summary: List organization issues assigned to the authenticated user @@ -32457,11 +32217,6 @@ paths: 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 @@ -32661,8 +32416,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -32682,31 +32435,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -32725,6 +32468,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -32814,10 +32559,6 @@ paths: 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== @@ -33272,7 +33013,6 @@ paths: 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' @@ -33282,23 +33022,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -33323,17 +33051,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/orgs/{org}/members": get: summary: List organization members @@ -36304,8 +36029,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -36332,10 +36055,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -36363,6 +36082,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -36503,7 +36224,6 @@ paths: 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' @@ -36511,11 +36231,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -37075,10 +36794,6 @@ paths: 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 @@ -37278,8 +36993,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -37299,31 +37012,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -37342,6 +37045,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -37489,7 +37194,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -37519,7 +37223,6 @@ paths: 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' @@ -37528,13 +37231,11 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -38025,94 +37726,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -38126,6 +37852,30 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -38184,7 +37934,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -38207,7 +37956,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -38218,6 +37966,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '422': description: Validation Failed content: @@ -38445,94 +38194,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -38546,6 +38320,30 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -38604,7 +38402,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -38627,7 +38424,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -38638,6 +38434,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '404': description: Resource Not Found content: @@ -42921,10 +42718,6 @@ paths: disabled: type: boolean description: Returns whether or not this repository disabled. - visibility: - description: 'The repository visibility: public, private, or internal.' - type: string - example: public pushed_at: type: string format: date-time @@ -43342,11 +43135,6 @@ paths: 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 @@ -43546,8 +43334,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -43567,31 +43353,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -43610,6 +43386,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -43684,15 +43462,9 @@ paths: - watchers_count - created_at - updated_at - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true - delete_branch_on_merge: - type: boolean - example: false allow_merge_commit: type: boolean example: true @@ -44215,11 +43987,6 @@ paths: 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 @@ -44419,8 +44186,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -44440,31 +44205,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -44483,6 +44238,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -44944,11 +44701,6 @@ paths: 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 @@ -45148,8 +44900,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -45169,31 +44919,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -45212,6 +44952,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -45448,7 +45190,6 @@ paths: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -45471,7 +45212,6 @@ paths: 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' @@ -45480,10 +45220,7 @@ paths: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -45583,7 +45320,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -45603,7 +45339,6 @@ paths: 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' @@ -45612,10 +45347,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -45629,6 +45361,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45700,7 +45433,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -45720,7 +45452,6 @@ paths: 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' @@ -45729,10 +45460,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -45746,6 +45474,8 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false response-with-scarlet-witch-preview-media-type: summary: Response with scarlet-witch-preview media type value: @@ -46349,10 +46079,6 @@ paths: disabled: type: boolean description: Returns whether or not this repository disabled. - visibility: - description: 'The repository visibility: public, private, or internal.' - type: string - example: public pushed_at: type: string format: date-time @@ -46770,11 +46496,6 @@ paths: 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 @@ -46974,8 +46695,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -46995,31 +46714,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -47038,6 +46747,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -47112,15 +46823,9 @@ paths: - watchers_count - created_at - updated_at - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true - delete_branch_on_merge: - type: boolean - example: false allow_merge_commit: type: boolean example: true @@ -47643,11 +47348,6 @@ paths: 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 @@ -47847,8 +47547,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -47868,31 +47566,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -47911,6 +47599,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -48372,11 +48062,6 @@ paths: 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 @@ -48576,8 +48261,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -48597,31 +48280,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -48640,6 +48313,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -48882,7 +48557,6 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit - language: forks_count: 9 forks: 9 stargazers_count: 80 @@ -48905,7 +48579,6 @@ paths: 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' @@ -48914,10 +48587,7 @@ paths: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -49011,7 +48681,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -49031,7 +48700,6 @@ paths: 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' @@ -49040,10 +48708,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -49057,6 +48722,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49128,7 +48794,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -49148,7 +48813,6 @@ paths: 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' @@ -49157,10 +48821,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -49174,6 +48835,8 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false '403': description: Forbidden content: @@ -50096,6 +49759,87 @@ paths: type: array items: type: string + restrictions: + items: + type: object + properties: + url: + type: string + users_url: + type: string + teams_url: + type: string + users: + type: array + items: + type: object + properties: + login: + type: string + id: + type: number + 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 + teams: + type: array + items: + type: object + properties: + id: + type: number + node_id: + type: string + url: + type: string + html_url: + type: string + name: + type: string + slug: + type: string + description: + type: string + privacy: + type: string + permission: + type: string + members_url: + type: string + repositories_url: + type: string + parent: + nullable: true + type: array required: - url - users_url @@ -50104,21 +49848,6 @@ paths: - users - teams - apps - required_linear_history: - type: object - properties: - enabled: - type: boolean - allow_force_pushes: - type: object - properties: - enabled: - type: boolean - allow_deletions: - type: object - properties: - enabled: - type: boolean enabled: type: boolean name: @@ -51070,6 +50799,87 @@ paths: type: array items: type: string + restrictions: + items: + type: object + properties: + url: + type: string + users_url: + type: string + teams_url: + type: string + users: + type: array + items: + type: object + properties: + login: + type: string + id: + type: number + 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 + teams: + type: array + items: + type: object + properties: + id: + type: number + node_id: + type: string + url: + type: string + html_url: + type: string + name: + type: string + slug: + type: string + description: + type: string + privacy: + type: string + permission: + type: string + members_url: + type: string + repositories_url: + type: string + parent: + nullable: true + type: array required: - url - users_url @@ -51078,21 +50888,6 @@ paths: - users - teams - apps - required_linear_history: - type: object - properties: - enabled: - type: boolean - allow_force_pushes: - type: object - properties: - enabled: - type: boolean - allow_deletions: - type: object - properties: - enabled: - type: boolean enabled: type: boolean name: @@ -51744,6 +51539,87 @@ paths: type: array items: type: string + restrictions: + items: + type: object + properties: + url: + type: string + users_url: + type: string + teams_url: + type: string + users: + type: array + items: + type: object + properties: + login: + type: string + id: + type: number + 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 + teams: + type: array + items: + type: object + properties: + id: + type: number + node_id: + type: string + url: + type: string + html_url: + type: string + name: + type: string + slug: + type: string + description: + type: string + privacy: + type: string + permission: + type: string + members_url: + type: string + repositories_url: + type: string + parent: + nullable: true + type: array required: - url - users_url @@ -51752,21 +51628,6 @@ paths: - users - teams - apps - required_linear_history: - type: object - properties: - enabled: - type: boolean - allow_force_pushes: - type: object - properties: - enabled: - type: boolean - allow_deletions: - type: object - properties: - enabled: - type: boolean enabled: type: boolean name: @@ -51834,10 +51695,9 @@ paths: require_code_owner_reviews: true required_approving_review_count: 2 restrictions: - url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions + - url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions users_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users teams_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams - apps_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams users: - login: octocat id: 1 @@ -51870,43 +51730,6 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - apps: - - id: 1 - slug: octoapp - node_id: MDExOkludGVncmF0aW9uMQ== - owner: - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization - name: Octocat App - description: '' - external_url: https://example.com - html_url: https://github.com/apps/octoapp - created_at: '2017-07-08T16:18:44-04:00' - updated_at: '2017-07-08T16:18:44-04:00' - permissions: - metadata: read - contents: read - issues: write - single_file: write - events: - - push - - pull_request - required_linear_history: - enabled: true - allow_force_pushes: - enabled: true - allow_deletions: - enabled: true '404': description: Resource Not Found content: @@ -52626,6 +52449,87 @@ paths: type: array items: type: string + restrictions: + items: + type: object + properties: + url: + type: string + users_url: + type: string + teams_url: + type: string + users: + type: array + items: + type: object + properties: + login: + type: string + id: + type: number + 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 + teams: + type: array + items: + type: object + properties: + id: + type: number + node_id: + type: string + url: + type: string + html_url: + type: string + name: + type: string + slug: + type: string + description: + type: string + privacy: + type: string + permission: + type: string + members_url: + type: string + repositories_url: + type: string + parent: + nullable: true + type: array required: - url - users_url @@ -54880,6 +54784,87 @@ paths: type: array items: type: string + restrictions: + items: + type: object + properties: + url: + type: string + users_url: + type: string + teams_url: + type: string + users: + type: array + items: + type: object + properties: + login: + type: string + id: + type: number + 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 + teams: + type: array + items: + type: object + properties: + id: + type: number + node_id: + type: string + url: + type: string + html_url: + type: string + name: + type: string + slug: + type: string + description: + type: string + privacy: + type: string + permission: + type: string + members_url: + type: string + repositories_url: + type: string + parent: + nullable: true + type: array required: - url - users_url @@ -54894,7 +54879,6 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions users_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users teams_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams - apps_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams users: - login: octocat id: 1 @@ -54927,37 +54911,6 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - apps: - - id: 1 - slug: octoapp - node_id: MDExOkludGVncmF0aW9uMQ== - owner: - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization - name: Octocat App - description: '' - external_url: https://example.com - html_url: https://github.com/apps/octoapp - created_at: '2017-07-08T16:18:44-04:00' - updated_at: '2017-07-08T16:18:44-04:00' - permissions: - metadata: read - contents: read - issues: write - single_file: write - events: - - push - - pull_request '404': description: Resource Not Found content: @@ -57054,10 +57007,6 @@ paths: 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== @@ -57628,10 +57577,6 @@ paths: 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== @@ -58331,10 +58276,6 @@ paths: 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== @@ -58984,10 +58925,6 @@ paths: 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== @@ -59460,8 +59397,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -59488,10 +59423,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -59519,6 +59450,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -59763,7 +59696,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -59783,7 +59715,6 @@ paths: 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' @@ -59791,10 +59722,9 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false head_commit: id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d @@ -60293,11 +60223,6 @@ paths: 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 @@ -60497,8 +60422,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -60518,31 +60441,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -60561,6 +60474,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -60715,7 +60630,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -60735,7 +60649,6 @@ paths: 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' @@ -60744,10 +60657,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -60761,6 +60671,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60931,10 +60842,6 @@ paths: 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== @@ -61407,8 +61314,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -61435,10 +61340,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -61466,6 +61367,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -61710,7 +61613,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -61730,7 +61632,6 @@ paths: 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' @@ -61738,10 +61639,9 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false head_commit: id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d @@ -61957,10 +61857,6 @@ paths: 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== @@ -62988,8 +62884,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -63016,10 +62910,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -63047,6 +62937,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -67454,11 +67346,6 @@ paths: 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 @@ -67659,8 +67546,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -67680,32 +67565,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -67725,6 +67600,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -68294,11 +68171,6 @@ paths: 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 @@ -68499,8 +68371,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -68520,32 +68390,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -68565,6 +68425,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -69037,6 +68899,7 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos + parent: head: label: octocat:new-topic ref: new-topic @@ -69151,7 +69014,6 @@ paths: 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' @@ -69161,22 +69023,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -69291,7 +69142,6 @@ paths: 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' @@ -69301,22 +69151,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -70135,10 +69974,6 @@ paths: 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== @@ -70689,10 +70524,6 @@ paths: 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== @@ -71166,8 +70997,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -71194,10 +71023,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -71225,6 +71050,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -71371,18 +71198,12 @@ paths: url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true + description: A great organization name: Octocat App description: '' external_url: https://example.com @@ -71488,7 +71309,6 @@ paths: 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' @@ -71496,28 +71316,13 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + allow_rebase_merge: true + template_repository: + allow_squash_merge: true + allow_merge_commit: true subscribers_count: 42 network_count: 0 - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - head_commit: - id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - message: |- - Merge pull request #6 from Spaceghost/patch-1 - - New line at end of file. - timestamp: '2016-10-10T00:00:00Z' - author: - name: The Octocat - email: octocat@nowhere.com - committer: - name: The Octocat - email: octocat@nowhere.com - latest_check_runs_count: 1 - check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -71931,8 +71736,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -71959,10 +71762,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -71990,6 +71789,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -75823,10 +75624,6 @@ paths: 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== @@ -76403,10 +76200,6 @@ paths: 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== @@ -76975,10 +76768,6 @@ paths: 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== @@ -77226,6 +77015,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: ant-man note: |- @@ -77463,10 +77260,6 @@ paths: 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== @@ -78033,10 +77826,6 @@ paths: 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== @@ -78550,10 +78339,6 @@ paths: 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== @@ -78809,6 +78594,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: flash note: |- @@ -79920,11 +79713,6 @@ paths: 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 @@ -80125,8 +79913,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -80146,32 +79932,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -80191,6 +79967,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -80281,10 +80059,6 @@ paths: 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== @@ -80636,10 +80410,6 @@ paths: 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== @@ -81251,8 +81021,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -81279,10 +81047,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -81310,6 +81074,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -81450,7 +81216,6 @@ paths: 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' @@ -81458,10 +81223,10 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -81942,10 +81707,6 @@ paths: 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 @@ -82145,8 +81906,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -82166,31 +81925,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -82209,6 +81958,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -82356,7 +82107,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -82386,7 +82136,6 @@ paths: 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' @@ -82395,13 +82144,11 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false '400': description: Bad Request content: @@ -85842,6 +85589,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#get-a-repository-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: owner in: path required: true @@ -86257,9 +86011,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -86606,8 +86365,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -86634,10 +86391,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -86665,6 +86418,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -87407,8 +87162,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -87435,10 +87188,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -87466,6 +87215,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -88972,11 +88723,6 @@ paths: 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 @@ -89176,8 +88922,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -89197,31 +88941,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -89240,6 +88974,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -89329,10 +89065,6 @@ paths: 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== @@ -89728,17 +89460,14 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: post: summary: Create an issue description: |- @@ -90893,11 +90622,6 @@ paths: 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 @@ -91097,8 +90821,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -91118,31 +90840,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -91161,6 +90873,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -91250,10 +90964,6 @@ paths: 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== @@ -91961,10 +91671,6 @@ paths: 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== @@ -92478,10 +92184,6 @@ paths: 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== @@ -92754,15 +92456,13 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: comments patch: @@ -92958,10 +92658,6 @@ paths: 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== @@ -95133,11 +94829,6 @@ paths: 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 @@ -95338,8 +95029,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -95359,32 +95048,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -95404,6 +95083,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -95493,10 +95174,6 @@ paths: 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== @@ -96487,6 +96164,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/events/{event_id}": @@ -97609,11 +97293,6 @@ paths: 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 @@ -97813,8 +97492,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -97834,31 +97511,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -97877,6 +97544,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -97966,10 +97635,6 @@ paths: 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== @@ -98948,6 +98613,21 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}": @@ -100059,11 +99739,6 @@ paths: 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 @@ -100263,8 +99938,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -100284,31 +99957,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -100327,6 +99990,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -100416,10 +100081,6 @@ paths: 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== @@ -102013,11 +101674,6 @@ paths: 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 @@ -102217,8 +101873,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -102238,31 +101892,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -102281,6 +101925,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -102370,10 +102016,6 @@ paths: 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== @@ -103877,11 +103519,6 @@ paths: 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 @@ -104081,8 +103718,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -104102,31 +103737,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -104145,6 +103770,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -104234,10 +103861,6 @@ paths: 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== @@ -105621,11 +105244,6 @@ paths: 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 @@ -105825,8 +105443,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -105846,31 +105462,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -105889,6 +105495,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -105978,10 +105586,6 @@ paths: 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== @@ -106553,10 +106157,6 @@ paths: 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== @@ -107056,10 +106656,6 @@ paths: 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== @@ -107667,6 +107263,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}/labels": @@ -108445,9 +108048,15 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues - subcategory: delete: summary: Unlock an issue description: Users with push access can unlock an issue's conversation. @@ -112663,8 +112272,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -112691,10 +112298,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -112722,6 +112325,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -113043,7 +112648,7 @@ paths: category: repos subcategory: pages post: - summary: Create a GitHub Enterprise Server Pages site + summary: Create a GitHub Pages site description: Configures a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)." tags: @@ -113079,12 +112684,16 @@ paths: branch: type: string description: The repository branch used to publish your site's - source files. + source files. Can be either `master` or `gh-pages`. + enum: + - master + - gh-pages path: type: string - description: 'The repository directory that includes the source - files for the Pages site. Allowed paths are `/` or `/docs`. - Default: `/`' + description: The repository directory that includes the source + files for the Pages site. When `branch` is `master`, you can + change `path` to `/docs`. When `branch` is `gh-pages`, you + are unable to specify a `path` other than `/`. enum: - "/" - "/docs" @@ -113095,7 +112704,7 @@ paths: - source example: source: - branch: main + branch: master path: "/docs" responses: '201': @@ -113244,10 +112853,17 @@ paths: ```shell application/vnd.github.switcheroo-preview+json ``` + - required: false + name: mister-fantastic + note: |- + The GitHub Pages API contains two additional fields in responses, which developers can preview: `html_url` and `source`. To see these two new fields, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.mister-fantastic-preview+json + ``` category: repos subcategory: pages put: - summary: Update information about a GitHub Enterprise Server Pages site + summary: Update information about a GitHub Pages site description: Updates information for a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). tags: @@ -113273,12 +112889,6 @@ paths: schema: type: object properties: - cname: - type: string - 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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)." - nullable: true source: anyOf: - type: string @@ -113308,13 +112918,16 @@ paths: required: - branch - path - required: - - source + type: string + description: Update the source for the repository. Must include + the branch name, and may optionally specify the subdirectory `/docs`. + Possible values are `"gh-pages"`, `"master"`, and `"master /docs"`. + enum: + - gh-pages + - master + - master /docs example: - cname: octocatblog.com - source: - branch: main - path: "/" + source: master /docs responses: '204': description: Empty response @@ -113401,7 +113014,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: mister-fantastic + note: |- + The GitHub Pages API contains two additional fields in responses, which developers can preview: `html_url` and `source`. To see these two new fields, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.mister-fantastic-preview+json + ``` category: repos subcategory: pages delete: @@ -115170,9 +114790,8 @@ paths: summary: List pull requests description: Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository - billing plans, and in public and private repositories with GitHub Team and - GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) - in the GitHub Help documentation. + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/list @@ -116382,11 +116001,6 @@ paths: 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 @@ -116587,8 +116201,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -116608,32 +116220,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -116653,6 +116255,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -117222,11 +116826,6 @@ paths: 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 @@ -117427,8 +117026,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -117448,32 +117045,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -117493,6 +117080,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -117965,6 +117554,7 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos + parent: head: label: octocat:new-topic ref: new-topic @@ -118079,7 +117669,6 @@ paths: 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' @@ -118089,22 +117678,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -118219,7 +117797,6 @@ paths: 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' @@ -118229,22 +117806,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -118318,19 +117884,32 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: post: summary: Create a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - - You can create a new pull request. - - This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.18/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new + pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). + Creating content too quickly using this endpoint may result in abuse rate + limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)" + for details. tags: - pulls operationId: pulls/create @@ -119373,8 +118952,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -119430,6 +119007,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -119816,8 +119395,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -119884,6 +119461,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -120563,7 +120142,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -120590,7 +120168,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -120602,6 +120179,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -120696,7 +120274,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -120723,7 +120300,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -120735,6 +120311,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -120849,9 +120426,22 @@ paths: triggersNotification: true githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/comments": get: summary: List review comments in a repository @@ -121150,43 +120740,6 @@ paths: - self - html - pull_request - start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - original_start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - start_side: - type: string - description: The side of the first line of the range for a multi-line - comment. - enum: - - LEFT - - RIGHT - default: RIGHT - nullable: true - line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - original_line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - side: - description: The side of the diff to which the comment applies. - The side of the last line of the range for a multi-line comment - enum: - - LEFT - - RIGHT - default: RIGHT - type: string reactions: title: Reaction Rollup type: object @@ -121294,12 +120847,6 @@ paths: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT headers: Link: example: ; rel="next", ; @@ -121589,43 +121136,6 @@ paths: - self - html - pull_request - start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - original_start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - start_side: - type: string - description: The side of the first line of the range for a multi-line - comment. - enum: - - LEFT - - RIGHT - default: RIGHT - nullable: true - line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - original_line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - side: - description: The side of the diff to which the comment applies. - The side of the last line of the range for a multi-line comment - enum: - - LEFT - - RIGHT - default: RIGHT - type: string reactions: title: Reaction Rollup type: object @@ -121733,12 +121243,6 @@ paths: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT '404': description: Resource Not Found content: @@ -122045,43 +121549,6 @@ paths: - self - html - pull_request - start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - original_start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - start_side: - type: string - description: The side of the first line of the range for a multi-line - comment. - enum: - - LEFT - - RIGHT - default: RIGHT - nullable: true - line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - original_line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - side: - description: The side of the diff to which the comment applies. - The side of the last line of the range for a multi-line comment - enum: - - LEFT - - RIGHT - default: RIGHT - type: string reactions: title: Reaction Rollup type: object @@ -122189,12 +121656,6 @@ paths: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -123983,8 +123444,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -124040,6 +123499,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -124426,8 +123887,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -124494,6 +123953,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -125173,7 +124634,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -125200,7 +124660,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -125212,6 +124671,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -125306,7 +124766,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -125333,7 +124792,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -125345,6 +124803,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -125430,10 +124889,10 @@ paths: subcategory: patch: summary: Update a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/update @@ -126471,8 +125930,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -126528,6 +125985,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -126914,8 +126373,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -126982,6 +126439,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -127661,7 +127120,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -127688,7 +127146,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -127700,6 +127157,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -127794,7 +127252,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -127821,7 +127278,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -127833,6 +127289,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -127941,9 +127398,22 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/{pull_number}/comments": get: summary: List review comments on a pull request @@ -128247,43 +127717,6 @@ paths: - self - html - pull_request - start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - original_start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - start_side: - type: string - description: The side of the first line of the range for a multi-line - comment. - enum: - - LEFT - - RIGHT - default: RIGHT - nullable: true - line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - original_line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - side: - description: The side of the diff to which the comment applies. - The side of the last line of the range for a multi-line comment - enum: - - LEFT - - RIGHT - default: RIGHT - type: string reactions: title: Reaction Rollup type: object @@ -128391,12 +127824,6 @@ paths: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT headers: Link: example: ; rel="next", ; @@ -128891,43 +128318,6 @@ paths: - self - html - pull_request - start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - original_start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - start_side: - type: string - description: The side of the first line of the range for a multi-line - comment. - enum: - - LEFT - - RIGHT - default: RIGHT - nullable: true - line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - original_line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - side: - description: The side of the diff to which the comment applies. - The side of the last line of the range for a multi-line comment - enum: - - LEFT - - RIGHT - default: RIGHT - type: string reactions: title: Reaction Rollup type: object @@ -129002,7 +128392,7 @@ paths: original_position: 4 commit_id: 6dcb09b5b57875f334f61aebed695e2e4193db5e original_commit_id: 9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840 - in_reply_to_id: 426899381 + in_reply_to_id: 8 user: login: octocat id: 1 @@ -129035,12 +128425,6 @@ paths: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT headers: Location: example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 @@ -130943,11 +130327,6 @@ paths: 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 @@ -131147,8 +130526,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -131168,31 +130545,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -131211,6 +130578,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -131779,11 +131148,6 @@ paths: 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 @@ -131983,8 +131347,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -132004,31 +131366,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -132047,6 +131399,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -132648,7 +132002,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -132668,7 +132021,6 @@ paths: 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' @@ -132677,10 +132029,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -132694,6 +132043,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -132788,7 +132138,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -132808,7 +132157,6 @@ paths: 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' @@ -132817,10 +132165,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -132834,6 +132179,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -141956,10 +141302,6 @@ paths: 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 @@ -142159,8 +141501,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -142180,31 +141520,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -142223,6 +141553,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -142370,7 +141702,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -142400,7 +141731,6 @@ paths: 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' @@ -142409,13 +141739,11 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -142993,10 +142321,6 @@ paths: 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 @@ -143196,8 +142520,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -143217,31 +142539,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -143260,6 +142572,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -143407,7 +142721,6 @@ paths: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -143430,7 +142743,6 @@ paths: 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' @@ -143446,6 +142758,9 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit + anonymous_access_enabled: false + template_repository: + anonymous_access_enabled: false headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -143800,8 +143115,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -143828,10 +143141,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -143859,6 +143168,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -144434,8 +143745,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -144462,10 +143771,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -144493,6 +143798,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -145333,8 +144640,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -145361,10 +144666,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -145392,6 +144693,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -146694,11 +145997,6 @@ paths: 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 @@ -146899,8 +146197,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -146920,32 +146216,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -146965,6 +146251,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -147061,10 +146349,6 @@ paths: 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== @@ -149648,8 +148932,6 @@ paths: pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... - pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -149686,8 +148968,6 @@ paths: pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... - pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 requestBody: content: application/json: @@ -149735,8 +149015,6 @@ paths: pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... - pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 requestBody: content: application/json: @@ -150039,94 +149317,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -150140,6 +149443,30 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -150198,7 +149525,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -150221,7 +149547,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -150232,6 +149557,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -150403,94 +149729,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -150504,6 +149855,30 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -150562,7 +149937,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -150585,7 +149959,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -150596,6 +149969,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com requestBody: content: application/json: @@ -155876,8 +155250,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -155904,10 +155276,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -155935,6 +155303,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -156075,7 +155445,6 @@ paths: 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' @@ -156083,11 +155452,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -156442,8 +155810,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -156470,10 +155836,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -156501,6 +155863,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -156870,10 +156234,6 @@ paths: disabled: type: boolean description: Returns whether or not this repository disabled. - visibility: - description: 'The repository visibility: public, private, or internal.' - type: string - example: public pushed_at: type: string format: date-time @@ -157291,11 +156651,6 @@ paths: 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 @@ -157495,8 +156850,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -157516,31 +156869,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -157559,6 +156902,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -157633,15 +156978,9 @@ paths: - watchers_count - created_at - updated_at - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true - delete_branch_on_merge: - type: boolean - example: false allow_merge_commit: type: boolean example: true @@ -158164,11 +157503,6 @@ paths: 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 @@ -158368,8 +157702,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -158389,31 +157721,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -158432,6 +157754,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -158893,11 +158217,6 @@ paths: 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 @@ -159097,8 +158416,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -159118,31 +158435,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -159161,6 +158468,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -159926,10 +159235,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -160101,9 +159406,6 @@ paths: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -160215,7 +159517,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -160261,7 +159562,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -160452,10 +159752,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -160584,7 +159880,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -162516,6 +161811,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: per_page description: Results per page (max 100) in: query @@ -163014,7 +162316,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/installations/{installation_id}/repositories": @@ -163035,6 +162343,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -163455,11 +162770,6 @@ paths: 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 @@ -163659,8 +162969,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -163680,31 +162988,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -163723,6 +163021,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -163892,7 +163192,6 @@ paths: 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' @@ -163902,22 +163201,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -163956,6 +163244,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: false previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -164024,7 +163318,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations delete: @@ -164085,7 +163385,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/issues": @@ -165255,11 +164561,6 @@ paths: 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 @@ -165459,8 +164760,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -165480,31 +164779,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -165523,6 +164812,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -165612,10 +164903,6 @@ paths: 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== @@ -166070,7 +165357,6 @@ paths: 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' @@ -166080,23 +165366,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -166123,17 +165397,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/user/keys": get: summary: List public SSH keys for the authenticated user @@ -168669,11 +167940,6 @@ paths: 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 @@ -168873,8 +168139,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -168894,31 +168158,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -168937,6 +168191,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -169105,7 +168361,6 @@ paths: 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' @@ -169115,22 +168370,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false '418': description: Response definition missing '422': @@ -169708,10 +168952,6 @@ paths: 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 @@ -169911,8 +169151,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -169932,31 +169170,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -169975,6 +169203,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -170122,7 +169352,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -170152,7 +169381,6 @@ paths: 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' @@ -170161,13 +169389,11 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -170652,8 +169878,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -170680,10 +169904,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -170711,6 +169931,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -171714,11 +170936,6 @@ paths: 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 @@ -171918,8 +171135,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -171939,31 +171154,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -171982,6 +171187,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -172150,7 +171357,6 @@ paths: 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' @@ -172160,22 +171366,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false application/vnd.github.v3.star+json: schema: type: array @@ -172574,11 +171769,6 @@ paths: 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 @@ -172778,8 +171968,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -172799,31 +171987,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -172842,6 +172020,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -173015,7 +172195,6 @@ paths: 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' @@ -173025,22 +172204,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -173618,8 +172786,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -173646,10 +172812,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -173677,6 +172839,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -173817,7 +172981,6 @@ paths: 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' @@ -173825,11 +172988,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -174044,94 +173206,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -174145,6 +173332,30 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -174226,7 +173437,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -174235,8 +173445,8 @@ paths: following: 0 html_url: https://github.com/octocat created_at: '2008-01-14T04:33:35Z' - updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com headers: Link: example: ; rel="next", ; @@ -174560,10 +173770,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -174735,9 +173941,6 @@ paths: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -176002,11 +175205,6 @@ paths: 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 @@ -176207,8 +175405,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -176228,32 +175424,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -176273,6 +175459,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -176363,10 +175551,6 @@ paths: 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== @@ -176718,10 +175902,6 @@ paths: 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== @@ -178079,11 +177259,6 @@ paths: 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 @@ -178284,8 +177459,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -178305,32 +177478,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -178350,6 +177513,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -178440,10 +177605,6 @@ paths: 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== @@ -178795,10 +177956,6 @@ paths: 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== @@ -180150,11 +179307,6 @@ paths: 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 @@ -180355,8 +179507,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -180376,32 +179526,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -180421,6 +179561,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -180511,10 +179653,6 @@ paths: 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== @@ -180866,10 +180004,6 @@ paths: 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== @@ -182233,6 +181367,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#get-a-user-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: username in: path required: true @@ -182628,9 +181769,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/users/{username}/keys": get: summary: List public keys for a user @@ -184251,11 +183397,6 @@ paths: 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 @@ -184456,8 +183597,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -184477,32 +183616,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -184522,6 +183651,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -184612,10 +183743,6 @@ paths: 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== @@ -184967,10 +184094,6 @@ paths: 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== @@ -186322,11 +185445,6 @@ paths: 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 @@ -186527,8 +185645,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -186548,32 +185664,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -186593,6 +185699,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -186683,10 +185791,6 @@ paths: 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== @@ -187038,10 +186142,6 @@ paths: 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== @@ -187670,8 +186770,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -187698,10 +186796,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -187729,6 +186823,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -187869,7 +186965,6 @@ paths: 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' @@ -187877,11 +186972,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -188405,11 +187499,6 @@ paths: 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 @@ -188609,8 +187698,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -188630,31 +187717,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -188673,6 +187750,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -188841,7 +187920,6 @@ paths: 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' @@ -188851,22 +187929,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false application/vnd.github.v3.star+json: schema: type: array @@ -189265,11 +188332,6 @@ paths: 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 @@ -189469,8 +188531,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -189490,31 +188550,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -189533,6 +188583,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -189706,7 +188758,6 @@ paths: 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' @@ -189716,22 +188767,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -190074,8 +189114,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -190102,10 +189140,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -190133,6 +189167,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -190273,7 +189309,6 @@ paths: 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' @@ -190281,11 +189316,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License diff --git a/descriptions/ghes-2.18/ghes-2.18.json b/descriptions/ghes-2.18/ghes-2.18.json index 4a27f20e12..8ecb2ca827 100644 --- a/descriptions/ghes-2.18/ghes-2.18.json +++ b/descriptions/ghes-2.18/ghes-2.18.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -2496,10 +2496,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -2601,21 +2604,20 @@ }, "parameters": [ { - "$ref": "#/components/parameters/per_page" - }, - { - "$ref": "#/components/parameters/page" + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true }, { - "$ref": "#/components/parameters/since" + "$ref": "#/components/parameters/per_page" }, { - "name": "outdated", - "in": "query", - "required": false, - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/page" } ], "responses": { @@ -2647,10 +2649,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -2667,6 +2672,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#get-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" } @@ -2698,15 +2713,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://developer.github.com/enterprise/2.18/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -2716,6 +2734,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#delete-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" } @@ -2732,10 +2760,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "gambit", + "note": "Uninstalling GitHub Apps and revoking an app's installation token are currently available for developers to preview. To access the new endpoint during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.gambit-preview+json\n```" + }, + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -2752,6 +2788,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#create-an-installation-access-token-for-an-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" } @@ -2848,10 +2894,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -3237,10 +3286,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -5693,6 +5745,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/installations/#list-repositories-accessible-to-the-app-installation" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/per_page" }, @@ -5750,6 +5812,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -5909,12 +5976,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -7524,6 +7590,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#get-an-organization-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/org" } @@ -7549,10 +7625,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -7669,12 +7748,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -17042,6 +17120,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "ant-man", @@ -17323,6 +17406,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "flash", @@ -19105,6 +19193,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#get-a-repository-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/owner" }, @@ -19139,10 +19237,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -19459,12 +19560,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "post": { @@ -19756,8 +19856,8 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -20136,6 +20236,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -20205,6 +20310,16 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + }, + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -20811,6 +20926,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -21226,10 +21346,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "delete": { @@ -22914,7 +23037,7 @@ } }, "post": { - "summary": "Create a GitHub Enterprise Server Pages site", + "summary": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"", "tags": [ "repos" @@ -22945,11 +23068,15 @@ "properties": { "branch": { "type": "string", - "description": "The repository branch used to publish your site's source files." + "description": "The repository branch used to publish your site's source files. Can be either `master` or `gh-pages`.", + "enum": [ + "master", + "gh-pages" + ] }, "path": { "type": "string", - "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`", + "description": "The repository directory that includes the source files for the Pages site. When `branch` is `master`, you can change `path` to `/docs`. When `branch` is `gh-pages`, you are unable to specify a `path` other than `/`.", "enum": [ "/", "/docs" @@ -22968,7 +23095,7 @@ }, "example": { "source": { - "branch": "main", + "branch": "master", "path": "/docs" } } @@ -23009,6 +23136,11 @@ "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```" + }, + { + "required": false, + "name": "mister-fantastic", + "note": "The GitHub Pages API contains two additional fields in responses, which developers can preview: `html_url` and `source`. To see these two new fields, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.mister-fantastic-preview+json\n```" } ], "category": "repos", @@ -23016,7 +23148,7 @@ } }, "put": { - "summary": "Update information about a GitHub Enterprise Server Pages site", + "summary": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).", "tags": [ "repos" @@ -23040,11 +23172,6 @@ "schema": { "type": "object", "properties": { - "cname": { - "type": "string", - "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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/).\"", - "nullable": true - }, "source": { "anyOf": [ { @@ -23078,19 +23205,19 @@ "path" ] } + ], + "type": "string", + "description": "Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `\"gh-pages\"`, `\"master\"`, and `\"master /docs\"`.", + "enum": [ + "gh-pages", + "master", + "master /docs" ] } - }, - "required": [ - "source" - ] + } }, "example": { - "cname": "octocatblog.com", - "source": { - "branch": "main", - "path": "/" - } + "source": "master /docs" } } } @@ -23110,7 +23237,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "mister-fantastic", + "note": "The GitHub Pages API contains two additional fields in responses, which developers can preview: `html_url` and `source`. To see these two new fields, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.mister-fantastic-preview+json\n```" + } ], "category": "repos", "subcategory": "pages" @@ -23806,7 +23937,7 @@ "/repos/{owner}/{repo}/pulls": { "get": { "summary": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -23926,15 +24057,23 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } }, "post": { "summary": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.18/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)\" for details.", "tags": [ "pulls" ], @@ -24036,10 +24175,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -24570,7 +24717,7 @@ }, "patch": { "summary": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -24658,10 +24805,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -32999,6 +33154,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/per_page" }, @@ -33055,7 +33220,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -33075,6 +33244,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" }, @@ -33134,6 +33313,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -33183,7 +33367,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -33226,7 +33414,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -33346,12 +33538,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -35516,6 +35707,16 @@ "url": "https://developer.github.com/enterprise/2.18/v3/apps/#get-a-user-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/username" } @@ -35541,10 +35742,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -36374,15 +36578,6 @@ "default": 30 } }, - "since": { - "name": "since", - "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, "installation_id": { "name": "installation_id", "description": "installation_id parameter", @@ -36434,6 +36629,15 @@ "type": "integer" } }, + "since": { + "name": "since", + "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, "gist_id": { "name": "gist_id", "description": "gist_id parameter", @@ -37512,11 +37716,6 @@ "example": 37, "type": "integer" }, - "slug": { - "description": "The slug name of the GitHub app", - "example": "probot-owners", - "type": "string" - }, "node_id": { "type": "string", "example": "MDExOkludGVncmF0aW9uMQ==" @@ -38284,11 +38483,6 @@ "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", @@ -38580,9 +38774,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -38612,15 +38803,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -38629,24 +38814,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -38671,6 +38850,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -39905,23 +40087,6 @@ "created_at" ] }, - "link-with-type": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, "feed": { "title": "Feed", "description": "Feed", @@ -39961,45 +40126,97 @@ "format": "uri" } }, - "security_advisories_url": { - "type": "string", - "example": "https://github.com/security-advisories" - }, "_links": { - "type": "object", - "properties": { - "timeline": { - "$ref": "#/components/schemas/link-with-type" - }, - "user": { - "$ref": "#/components/schemas/link-with-type" - }, - "security_advisories": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_public": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_actor": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organization": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/link-with-type" - } - } - }, + "type": "array", "required": [ "timeline", "user" - ] + ], + "items": { + "type": "object", + "properties": { + "timeline": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_public": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_actor": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_organization": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + } + } } }, "required": [ @@ -40954,79 +41171,6 @@ "type": "boolean", "example": true }, - "ssh_key_fingerprints": { - "type": "object", - "properties": { - "MD5_RSA": { - "type": "string" - }, - "MD5_DSA": { - "type": "string" - }, - "SHA256_RSA": { - "type": "string" - }, - "SHA256_DSA": { - "type": "string" - } - } - }, - "hooks": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "web": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "api": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "git": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "pages": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "192.30.252.153/32", - "192.30.252.154/32" - ] - }, - "importer": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "54.158.161.132", - "54.226.70.38" - ] - }, "github_services_sha": { "type": "string", "example": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" @@ -41318,9 +41462,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -41356,12 +41497,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -41400,6 +41535,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -41626,15 +41764,6 @@ "format": "email", "example": "octocat@github.com" }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, "has_organization_projects": { "type": "boolean", "example": true @@ -41745,18 +41874,6 @@ "type": "string", "example": "all" }, - "members_can_create_public_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_private_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "example": true - }, "members_can_create_pages": { "type": "boolean", "example": true @@ -42220,166 +42337,6 @@ "slug" ] }, - "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", - "type": "object", - "properties": { - "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "events_url": { - "type": "string", - "format": "uri" - }, - "hooks_url": { - "type": "string" - }, - "issues_url": { - "type": "string" - }, - "members_url": { - "type": "string" - }, - "public_members_url": { - "type": "string" - }, - "avatar_url": { - "type": "string" - }, - "description": { - "type": "string", - "nullable": true - }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" - }, - "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" - }, - "email": { - "description": "Display email for the organization", - "example": "org@example.com", - "type": "string", - "format": "email" - }, - "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" - }, - "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" - }, - "public_repos": { - "type": "integer" - }, - "public_gists": { - "type": "integer" - }, - "followers": { - "type": "integer" - }, - "following": { - "type": "integer" - }, - "type": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "plan": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" - }, - "filled_seats": { - "type": "integer" - }, - "seats": { - "type": "integer" - } - } - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at" - ] - }, "team-full": { "title": "Full Team", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -42469,7 +42426,7 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "$ref": "#/components/schemas/organization" + "$ref": "#/components/schemas/organization-full" }, "ldap_dn": { "description": "Distinguished Name (DN) that team maps to within LDAP environment", @@ -43015,11 +42972,6 @@ "type": "boolean", "description": "Returns whether or not this repository disabled." }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "type": "string", - "example": "public" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -43066,18 +43018,10 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true }, - "delete_branch_on_merge": { - "type": "boolean", - "example": false - }, "allow_merge_commit": { "type": "boolean", "example": true @@ -43556,6 +43500,129 @@ } } } + }, + "restrictions": { + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "users_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "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" + } + } + } + }, + "teams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "parent": { + "nullable": true + } + } + } + } + } + }, + "type": "array" } }, "required": [ @@ -43609,30 +43676,6 @@ "restrictions": { "$ref": "#/components/schemas/branch-restriction-policy" }, - "required_linear_history": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_force_pushes": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_deletions": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, "enabled": { "type": "boolean" }, @@ -48384,9 +48427,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -48463,6 +48503,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -48970,9 +49013,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -49026,6 +49066,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -49496,47 +49539,6 @@ "pull_request" ] }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, @@ -52730,11 +52732,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -52957,10 +52954,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -53547,9 +53540,8 @@ "hooks_count": 1, "download": { "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", - "state": "not_started", - "downloaded_at": null, - "message": null + "state": "success", + "downloaded_at": "2016-05-26T07:42:53-05:00" } } }, @@ -53685,24 +53677,36 @@ "authorization-items": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] }, @@ -53747,13 +53751,12 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } }, "integration": { "value": { "id": 1, - "slug": "octoapp", "node_id": "MDExOkludGVncmF0aW9uMQ==", "owner": { "login": "github", @@ -53940,7 +53943,6 @@ "issues": "write", "contents": "read" }, - "repository_selection": "selected", "repositories": [ { "id": 1296269, @@ -54035,7 +54037,6 @@ "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", @@ -54046,23 +54047,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -54342,43 +54331,40 @@ "current_user_organization_urls": [ "https://github.com/organizations/github/octocat.private.atom?token=abc123" ], - "security_advisories_url": "https://github.com/security-advisories", - "_links": { - "timeline": { - "href": "https://github.com/timeline", - "type": "application/atom+xml" - }, - "user": { - "href": "https://github.com/{user}", - "type": "application/atom+xml" - }, - "current_user_public": { - "href": "https://github.com/octocat", - "type": "application/atom+xml" - }, - "current_user": { - "href": "https://github.com/octocat.private?token=abc123", - "type": "application/atom+xml" - }, - "current_user_actor": { - "href": "https://github.com/octocat.private.actor?token=abc123", - "type": "application/atom+xml" - }, - "current_user_organization": { - "href": "", - "type": "" - }, - "current_user_organizations": [ - { - "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "_links": [ + { + "timeline": { + "href": "https://github.com/timeline", "type": "application/atom+xml" - } - ], - "security_advisories": { - "href": "https://github.com/security-advisories", - "type": "application/atom+xml" + }, + "user": { + "href": "https://github.com/{user}", + "type": "application/atom+xml" + }, + "current_user_public": { + "href": "https://github.com/octocat", + "type": "application/atom+xml" + }, + "current_user": { + "href": "https://github.com/octocat.private?token=abc123", + "type": "application/atom+xml" + }, + "current_user_actor": { + "href": "https://github.com/octocat.private.actor?token=abc123", + "type": "application/atom+xml" + }, + "current_user_organization": { + "href": "", + "type": "" + }, + "current_user_organizations": [ + { + "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "type": "application/atom+xml" + } + ] } - } + ] } }, "base-gist-items": { @@ -54743,29 +54729,16 @@ "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", "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -55000,7 +54973,6 @@ "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", @@ -55011,25 +54983,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] }, @@ -55116,34 +55075,8 @@ "api-overview": { "value": { "verifiable_password_authentication": true, - "ssh_key_fingerprints": { - "MD5_RSA": "16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48", - "MD5_DSA": "ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c", - "SHA256_RSA": "nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", - "SHA256_DSA": "br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ" - }, - "hooks": [ - "192.30.252.0/22" - ], - "web": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "api": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "git": [ - "192.30.252.0/22" - ], - "pages": [ - "192.30.252.153/32", - "192.30.252.154/32" - ], - "importer": [ - "54.158.161.132", - "54.226.70.38" - ] + "installed_version": "2.18.0", + "github_services_sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" } }, "thread-items": { @@ -55459,8 +55392,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -55485,9 +55416,6 @@ "members_can_create_repositories": true, "two_factor_requirement_enabled": true, "members_allowed_repository_creation_type": "all", - "members_can_create_public_repositories": false, - "members_can_create_private_repositories": false, - "members_can_create_internal_repositories": false, "members_can_create_pages": true, "updated_at": "2014-03-03T18:58:10Z" } @@ -56035,7 +55963,6 @@ "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", @@ -56044,11 +55971,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -56132,7 +56058,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -56164,7 +56089,6 @@ "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", @@ -56174,13 +56098,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } }, "team-items": { @@ -56214,7 +56136,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -56237,7 +56158,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -56248,7 +56168,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } }, "project-card": { @@ -56518,7 +56439,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -56542,7 +56462,6 @@ "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", @@ -56552,10 +56471,7 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -56658,7 +56574,6 @@ "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, @@ -56679,7 +56594,6 @@ "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", @@ -56689,10 +56603,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -56706,7 +56617,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -56780,7 +56692,6 @@ "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, @@ -56801,7 +56712,6 @@ "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", @@ -56811,10 +56721,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -56828,8 +56735,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } }, "full-repository-response-with-scarlet-witch-preview-media-type": { @@ -57019,7 +56928,6 @@ "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" }, - "language": null, "forks_count": 9, "forks": 9, "stargazers_count": 80, @@ -57043,7 +56951,6 @@ "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", @@ -57053,10 +56960,7 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -57152,7 +57056,6 @@ "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, @@ -57173,7 +57076,6 @@ "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", @@ -57183,10 +57085,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -57200,7 +57099,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -57274,7 +57174,6 @@ "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, @@ -57295,7 +57194,6 @@ "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", @@ -57305,10 +57203,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -57322,8 +57217,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } }, "short-branch-items": { @@ -57529,96 +57426,51 @@ "require_code_owner_reviews": true, "required_approving_review_count": 2 }, - "restrictions": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", - "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", - "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", - "users": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://api.github.com/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ], - "apps": [ - { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", + "restrictions": [ + { + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", + "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", + "users": [ + { + "login": "octocat", "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "node_id": "MDQ6VXNlcjE=", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - } - ] - }, - "required_linear_history": { - "enabled": true - }, - "allow_force_pushes": { - "enabled": true - }, - "allow_deletions": { - "enabled": true - } + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], + "teams": [ + { + "id": 1, + "node_id": "MDQ6VGVhbTE=", + "url": "https://api.github.com/teams/1", + "html_url": "https://api.github.com/teams/justice-league", + "name": "Justice League", + "slug": "justice-league", + "description": "A great team.", + "privacy": "closed", + "permission": "admin", + "members_url": "https://api.github.com/teams/1/members{/member}", + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null + } + ] + } + ] } }, "protected-branch-admin-enforced-2": { @@ -57699,7 +57551,6 @@ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users", "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", - "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", "users": [ { "login": "octocat", @@ -57737,43 +57588,6 @@ "repositories_url": "https://api.github.com/teams/1/repos", "parent": null } - ], - "apps": [ - { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - } ] } }, @@ -58201,7 +58015,6 @@ "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, @@ -58222,7 +58035,6 @@ "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", @@ -58231,10 +58043,9 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false }, "head_commit": { "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", @@ -58340,7 +58151,6 @@ "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, @@ -58361,7 +58171,6 @@ "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", @@ -58371,10 +58180,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -58388,7 +58194,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } } }, @@ -59064,7 +58871,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -59184,7 +58992,6 @@ "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", @@ -59195,23 +59002,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "base": { @@ -59331,7 +59126,6 @@ "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", @@ -59342,23 +59136,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "_links": { @@ -59517,18 +59299,12 @@ "url": "https://api.github.com/orgs/github", "repos_url": "https://api.github.com/orgs/github/repos", "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true + "description": "A great organization" }, "name": "Octocat App", "description": "", @@ -59640,7 +59416,6 @@ "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", @@ -59649,29 +59424,14 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "allow_rebase_merge": true, + "template_repository": null, + "allow_squash_merge": true, + "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 - }, - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "head_commit": { - "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "tree_id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", - "timestamp": "2016-10-10T00:00:00Z", - "author": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - }, - "committer": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - } - }, - "latest_check_runs_count": 1, - "check_runs_url": "https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs" + "network_count": 0, + "anonymous_access_enabled": false + } } ] } @@ -60697,7 +60457,6 @@ "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", @@ -60706,10 +60465,10 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -62745,7 +62504,6 @@ "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, @@ -62774,7 +62532,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -62786,7 +62543,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -62885,7 +62643,6 @@ "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, @@ -62914,7 +62671,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -62926,7 +62682,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -63040,13 +62797,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } ] }, @@ -63099,13 +62850,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } }, "legacy-review-comment": { @@ -63172,7 +62917,7 @@ "original_position": 4, "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "in_reply_to_id": 426899381, + "in_reply_to_id": 8, "user": { "login": "octocat", "id": 1, @@ -63209,13 +62954,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } }, "diff-entry-items": { @@ -63611,7 +63350,6 @@ "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, @@ -63632,7 +63370,6 @@ "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", @@ -63642,10 +63379,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -63659,7 +63393,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "base": { @@ -63758,7 +63493,6 @@ "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, @@ -63779,7 +63513,6 @@ "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", @@ -63789,10 +63522,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -63806,7 +63536,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "_links": { @@ -64780,7 +64511,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -64804,7 +64534,6 @@ "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", @@ -64821,6 +64550,10 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" + }, + "anonymous_access_enabled": false, + "template_repository": { + "anonymous_access_enabled": false } } }, @@ -65667,10 +65400,6 @@ "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - }, { "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" @@ -66414,7 +66143,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -66463,7 +66191,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -66499,7 +66226,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -66826,7 +66552,6 @@ "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", @@ -66837,23 +66562,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -67194,7 +66907,6 @@ "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", @@ -67205,23 +66917,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] }, @@ -67323,7 +67023,6 @@ "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", @@ -67334,23 +67033,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } } ] @@ -67392,7 +67079,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -67401,9 +67087,9 @@ "following": 0, "html_url": "https://github.com/octocat", "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } ] }, diff --git a/descriptions/ghes-2.18/ghes-2.18.yaml b/descriptions/ghes-2.18/ghes-2.18.yaml index 1e626db580..0bf01b7f93 100644 --- a/descriptions/ghes-2.18/ghes-2.18.yaml +++ b/descriptions/ghes-2.18/ghes-2.18.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.0.0-rc.1 + version: 1.0.0-rc.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -1801,9 +1801,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app-manifests/{code}/conversions": post: summary: Create a GitHub App from a manifest @@ -1874,14 +1879,15 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#list-installations-for-the-authenticated-app parameters: - - "$ref": "#/components/parameters/per_page" - - "$ref": "#/components/parameters/page" - - "$ref": "#/components/parameters/since" - - name: outdated - in: query - required: false + - name: accept + description: This API is under preview and subject to change. + in: header schema: type: string + default: application/vnd.github.machine-man-preview+json + required: true + - "$ref": "#/components/parameters/per_page" + - "$ref": "#/components/parameters/page" responses: '200': description: The permissions the installation has are included under the @@ -1901,9 +1907,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}": get: summary: Get an installation for the authenticated app @@ -1918,6 +1929,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#get-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" responses: '200': @@ -1936,15 +1954,19 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: delete: summary: Delete an installation for the authenticated app - description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://developer.github.com/enterprise/2.18/v3/apps/#suspend-an-app-installation)" endpoint. - - You must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + description: Uninstalls a GitHub App on a user, organization, or business account. + You must use a [JWT](https://developer.github.com/enterprise/2.18/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) + to access this endpoint. tags: - apps operationId: apps/delete-installation @@ -1952,6 +1974,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#delete-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" responses: '204': @@ -1961,9 +1990,21 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: gambit + note: |- + Uninstalling GitHub Apps and revoking an app's installation token are currently available for developers to preview. To access the new endpoint during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.gambit-preview+json + ``` + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}/access_tokens": post: summary: Create an installation access token for an app @@ -1978,6 +2019,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#create-an-installation-access-token-for-an-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" requestBody: content: @@ -2042,9 +2090,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/applications/grants": get: summary: List your grants @@ -2320,9 +2373,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/authorizations": get: summary: List your authorizations @@ -4022,6 +4080,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/installations/#list-repositories-accessible-to-the-app-installation parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" responses: @@ -4057,6 +4122,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -4179,17 +4250,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/licenses": get: summary: Get all commonly used licenses @@ -5340,6 +5408,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#get-an-organization-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/org" responses: '200': @@ -5354,9 +5429,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/orgs/{org}/issues": get: summary: List organization issues assigned to the authenticated user @@ -5443,17 +5523,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/orgs/{org}/members": get: summary: List organization members @@ -12453,6 +12530,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: ant-man note: |- @@ -12700,6 +12785,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: flash note: |- @@ -14066,6 +14159,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#get-a-repository-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" responses: @@ -14085,9 +14185,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -14296,17 +14401,14 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: post: summary: Create an issue description: |- @@ -14506,15 +14608,13 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: comments patch: @@ -14772,6 +14872,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/events/{event_id}": @@ -14821,6 +14928,21 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}": @@ -15242,6 +15364,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}/labels": @@ -15506,9 +15635,15 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues - subcategory: delete: summary: Unlock an issue description: Users with push access can unlock an issue's conversation. @@ -16603,7 +16738,7 @@ paths: category: repos subcategory: pages post: - summary: Create a GitHub Enterprise Server Pages site + summary: Create a GitHub Pages site description: Configures a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)." tags: @@ -16631,12 +16766,16 @@ paths: branch: type: string description: The repository branch used to publish your site's - source files. + source files. Can be either `master` or `gh-pages`. + enum: + - master + - gh-pages path: type: string - description: 'The repository directory that includes the source - files for the Pages site. Allowed paths are `/` or `/docs`. - Default: `/`' + description: The repository directory that includes the source + files for the Pages site. When `branch` is `master`, you can + change `path` to `/docs`. When `branch` is `gh-pages`, you + are unable to specify a `path` other than `/`. enum: - "/" - "/docs" @@ -16647,7 +16786,7 @@ paths: - source example: source: - branch: main + branch: master path: "/docs" responses: '201': @@ -16676,10 +16815,17 @@ paths: ```shell application/vnd.github.switcheroo-preview+json ``` + - required: false + name: mister-fantastic + note: |- + The GitHub Pages API contains two additional fields in responses, which developers can preview: `html_url` and `source`. To see these two new fields, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.mister-fantastic-preview+json + ``` category: repos subcategory: pages put: - summary: Update information about a GitHub Enterprise Server Pages site + summary: Update information about a GitHub Pages site description: Updates information for a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). tags: @@ -16697,12 +16843,6 @@ paths: schema: type: object properties: - cname: - type: string - 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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)." - nullable: true source: anyOf: - type: string @@ -16732,13 +16872,16 @@ paths: required: - branch - path - required: - - source + type: string + description: Update the source for the repository. Must include + the branch name, and may optionally specify the subdirectory `/docs`. + Possible values are `"gh-pages"`, `"master"`, and `"master /docs"`. + enum: + - gh-pages + - master + - master /docs example: - cname: octocatblog.com - source: - branch: main - path: "/" + source: master /docs responses: '204': description: Empty response @@ -16749,7 +16892,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: mister-fantastic + note: |- + The GitHub Pages API contains two additional fields in responses, which developers can preview: `html_url` and `source`. To see these two new fields, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.mister-fantastic-preview+json + ``` category: repos subcategory: pages delete: @@ -17234,9 +17384,8 @@ paths: summary: List pull requests description: Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository - billing plans, and in public and private repositories with GitHub Team and - GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) - in the GitHub Help documentation. + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/list @@ -17319,19 +17468,32 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: post: summary: Create a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - - You can create a new pull request. - - This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.18/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new + pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). + Creating content too quickly using this endpoint may result in abuse rate + limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.18/v3/#abuse-rate-limits)" + for details. tags: - pulls operationId: pulls/create @@ -17407,9 +17569,22 @@ paths: triggersNotification: true githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/comments": get: summary: List review comments in a repository @@ -17855,10 +18030,10 @@ paths: subcategory: patch: summary: Update a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/update @@ -17919,9 +18094,22 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/{pull_number}/comments": get: summary: List review comments on a pull request @@ -23931,6 +24119,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" responses: @@ -23965,7 +24160,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/installations/{installation_id}/repositories": @@ -23986,6 +24187,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" @@ -24022,6 +24230,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: false previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -24059,7 +24273,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations delete: @@ -24089,7 +24309,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/issues": @@ -24179,17 +24405,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.18/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/user/keys": get: summary: List public SSH keys for the authenticated user @@ -25649,6 +25872,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.18/v3/apps/#get-a-user-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/username" responses: '200': @@ -25663,9 +25893,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.18/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/users/{username}/keys": get: summary: List public keys for a user @@ -26225,15 +26460,6 @@ components: schema: type: integer default: 30 - since: - name: since - description: 'Only show notifications updated after the given time. This is - a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: - `YYYY-MM-DDTHH:MM:SSZ`.' - in: query - required: false - schema: - type: string installation_id: name: installation_id description: installation_id parameter @@ -26273,6 +26499,15 @@ components: required: true schema: type: integer + since: + name: since + description: 'Only show notifications updated after the given time. This is + a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: + `YYYY-MM-DDTHH:MM:SSZ`.' + in: query + required: false + schema: + type: string gist_id: name: gist_id description: gist_id parameter @@ -27078,10 +27313,6 @@ components: 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== @@ -27663,10 +27894,6 @@ components: 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 @@ -27866,8 +28093,6 @@ components: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -27887,30 +28112,21 @@ components: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -27929,6 +28145,8 @@ components: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -28872,18 +29090,6 @@ components: - payload - public - created_at - link-with-type: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type feed: title: Feed description: Feed @@ -28914,33 +29120,65 @@ components: items: type: string format: uri - security_advisories_url: - type: string - example: https://github.com/security-advisories _links: - type: object - properties: - timeline: - "$ref": "#/components/schemas/link-with-type" - user: - "$ref": "#/components/schemas/link-with-type" - security_advisories: - "$ref": "#/components/schemas/link-with-type" - current_user: - "$ref": "#/components/schemas/link-with-type" - current_user_public: - "$ref": "#/components/schemas/link-with-type" - current_user_actor: - "$ref": "#/components/schemas/link-with-type" - current_user_organization: - "$ref": "#/components/schemas/link-with-type" - current_user_organizations: - type: array - items: - "$ref": "#/components/schemas/link-with-type" + type: array required: - timeline - user + items: + type: object + properties: + timeline: + type: object + properties: + href: + type: string + type: + type: string + user: + type: object + properties: + href: + type: string + type: + type: string + current_user_public: + type: object + properties: + href: + type: string + type: + type: string + current_user: + type: object + properties: + href: + type: string + type: + type: string + current_user_actor: + type: object + properties: + href: + type: string + type: + type: string + current_user_organization: + type: object + properties: + href: + type: string + type: + type: string + current_user_organizations: + type: array + items: + type: object + properties: + href: + type: string + type: + type: string required: - _links - timeline_url @@ -29662,55 +29900,6 @@ components: verifiable_password_authentication: type: boolean example: true - ssh_key_fingerprints: - type: object - properties: - MD5_RSA: - type: string - MD5_DSA: - type: string - SHA256_RSA: - type: string - SHA256_DSA: - type: string - hooks: - type: array - items: - type: string - example: - - 127.0.0.1/32 - web: - type: array - items: - type: string - example: - - 127.0.0.1/32 - api: - type: array - items: - type: string - example: - - 127.0.0.1/32 - git: - type: array - items: - type: string - example: - - 127.0.0.1/32 - pages: - type: array - items: - type: string - example: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - type: array - items: - type: string - example: - - 54.158.161.132 - - 54.226.70.38 github_services_sha: type: string example: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15 @@ -29925,8 +30114,6 @@ components: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -29953,10 +30140,6 @@ components: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -29984,6 +30167,8 @@ components: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -30163,13 +30348,6 @@ components: type: string format: email example: octocat@github.com - twitter_username: - type: string - example: github - nullable: true - is_verified: - type: boolean - example: true has_organization_projects: type: boolean example: true @@ -30253,15 +30431,6 @@ components: members_allowed_repository_creation_type: type: string example: all - members_can_create_public_repositories: - type: boolean - example: true - members_can_create_private_repositories: - type: boolean - example: true - members_can_create_internal_repositories: - type: boolean - example: true members_can_create_pages: type: boolean example: true @@ -30618,129 +30787,6 @@ components: - html_url - repositories_url - slug - organization: - title: Organization - description: GitHub account for managing multiple users, teams, and repositories - type: object - properties: - login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri - id: - type: integer - node_id: - type: string - repos_url: - type: string - format: uri - events_url: - type: string - format: uri - hooks_url: - type: string - issues_url: - type: string - members_url: - type: string - public_members_url: - type: string - avatar_url: - type: string - description: - type: string - nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri - name: - description: Display name for the organization - example: New Org - type: string - company: - description: Display company name for the organization - example: Acme corporation - type: string - location: - description: Display location for the organization - example: Berlin, Germany - type: string - email: - description: Display email for the organization - example: org@example.com - type: string - format: email - has_organization_projects: - description: Specifies if organization projects are enabled for this org - type: boolean - has_repository_projects: - description: Specifies if repository projects are enabled for repositories - that belong to this org - type: boolean - is_verified: - type: boolean - public_repos: - type: integer - public_gists: - type: integer - followers: - type: integer - following: - type: integer - type: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - plan: - type: object - properties: - name: - type: string - space: - type: integer - private_repos: - type: integer - filled_seats: - type: integer - seats: - type: integer - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description - - html_url - - has_organization_projects - - has_repository_projects - - public_repos - - public_gists - - followers - - following - - type - - created_at - - updated_at team-full: title: Full Team description: Groups of organization members that gives permissions on specified @@ -30811,7 +30857,7 @@ components: format: date-time example: '2017-08-17T12:37:15Z' organization: - "$ref": "#/components/schemas/organization" + "$ref": "#/components/schemas/organization-full" ldap_dn: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com @@ -31224,10 +31270,6 @@ components: disabled: type: boolean description: Returns whether or not this repository disabled. - visibility: - description: 'The repository visibility: public, private, or internal.' - type: string - example: public pushed_at: type: string format: date-time @@ -31260,15 +31302,9 @@ components: nullable: true allOf: - "$ref": "#/components/schemas/repository" - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true - delete_branch_on_merge: - type: boolean - example: false allow_merge_commit: type: boolean example: true @@ -31622,6 +31658,87 @@ components: type: array items: type: string + restrictions: + items: + type: object + properties: + url: + type: string + users_url: + type: string + teams_url: + type: string + users: + type: array + items: + type: object + properties: + login: + type: string + id: + type: number + 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 + teams: + type: array + items: + type: object + properties: + id: + type: number + node_id: + type: string + url: + type: string + html_url: + type: string + name: + type: string + slug: + type: string + description: + type: string + privacy: + type: string + permission: + type: string + members_url: + type: string + repositories_url: + type: string + parent: + nullable: true + type: array required: - url - users_url @@ -31659,21 +31776,6 @@ components: "$ref": "#/components/schemas/protected-branch-pull-request-review" restrictions: "$ref": "#/components/schemas/branch-restriction-policy" - required_linear_history: - type: object - properties: - enabled: - type: boolean - allow_force_pushes: - type: object - properties: - enabled: - type: boolean - allow_deletions: - type: object - properties: - enabled: - type: boolean enabled: type: boolean name: @@ -35177,8 +35279,6 @@ components: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -35234,6 +35334,8 @@ components: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -35620,8 +35722,6 @@ components: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -35658,6 +35758,8 @@ components: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -36037,42 +36139,6 @@ components: - self - html - pull_request - start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - original_start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - start_side: - type: string - description: The side of the first line of the range for a multi-line comment. - enum: - - LEFT - - RIGHT - default: RIGHT - nullable: true - line: - description: The line of the blob to which the comment applies. The last - line of the range for a multi-line comment - example: 2 - type: integer - original_line: - description: The line of the blob to which the comment applies. The last - line of the range for a multi-line comment - example: 2 - type: integer - side: - description: The side of the diff to which the comment applies. The side - of the last line of the range for a multi-line comment - enum: - - LEFT - - RIGHT - default: RIGHT - type: string reactions: "$ref": "#/components/schemas/reaction-rollup" body_html: @@ -38386,10 +38452,6 @@ components: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -38562,9 +38624,6 @@ components: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -39006,9 +39065,8 @@ components: hooks_count: 1 download: url: https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest - state: not_started - downloaded_at: - message: + state: success + downloaded_at: '2016-05-26T07:42:53-05:00' pre-receive-environment-default-response: value: id: 2 @@ -39116,22 +39174,34 @@ components: allow_downstream_configuration: true authorization-items: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: simple-user: value: login: octocat @@ -39169,11 +39239,10 @@ components: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 integration: value: id: 1 - slug: octoapp node_id: MDExOkludGVncmF0aW9uMQ== owner: login: github @@ -39364,7 +39433,6 @@ components: permissions: issues: write contents: read - repository_selection: selected repositories: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39456,7 +39524,6 @@ components: 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' @@ -39466,22 +39533,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false application-grant-items: value: - id: 1 @@ -39757,9 +39813,8 @@ components: current_user_organization_url: '' current_user_organization_urls: - https://github.com/organizations/github/octocat.private.atom?token=abc123 - security_advisories_url: https://github.com/security-advisories _links: - timeline: + - timeline: href: https://github.com/timeline type: application/atom+xml user: @@ -39780,9 +39835,6 @@ components: current_user_organizations: - href: https://github.com/organizations/github/octocat.private.atom?token=abc123 type: application/atom+xml - security_advisories: - href: https://github.com/security-advisories - type: application/atom+xml base-gist-items: value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d @@ -40121,28 +40173,16 @@ components: 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' allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false issue-with-repo-items: value: - id: 1 @@ -40359,7 +40399,6 @@ components: 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' @@ -40369,23 +40408,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false license-simple-items: value: - key: mit @@ -40475,27 +40502,8 @@ components: api-overview: value: verifiable_password_authentication: true - ssh_key_fingerprints: - MD5_RSA: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 - MD5_DSA: ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c - SHA256_RSA: nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 - SHA256_DSA: br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ - hooks: - - 192.30.252.0/22 - web: - - 192.30.252.0/22 - - 185.199.108.0/22 - api: - - 192.30.252.0/22 - - 185.199.108.0/22 - git: - - 192.30.252.0/22 - pages: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - - 54.158.161.132 - - 54.226.70.38 + installed_version: 2.18.0 + github_services_sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15 thread-items: value: - id: '1' @@ -40785,8 +40793,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - twitter_username: github - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -40810,9 +40816,6 @@ components: members_can_create_repositories: true two_factor_requirement_enabled: true members_allowed_repository_creation_type: all - members_can_create_public_repositories: false - members_can_create_private_repositories: false - members_can_create_internal_repositories: false members_can_create_pages: true updated_at: '2014-03-03T18:58:10Z' org-hook-items: @@ -41296,7 +41299,6 @@ components: 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' @@ -41304,11 +41306,10 @@ components: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -41387,7 +41388,6 @@ components: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -41417,7 +41417,6 @@ components: 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' @@ -41426,13 +41425,11 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false team-items: value: - id: 1 @@ -41460,7 +41457,6 @@ components: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -41483,7 +41479,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -41494,6 +41489,7 @@ components: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com project-card: value: url: https://api.github.com/projects/columns/cards/1478 @@ -41731,7 +41727,6 @@ components: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -41754,7 +41749,6 @@ components: 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' @@ -41763,10 +41757,7 @@ components: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -41866,7 +41857,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -41886,7 +41876,6 @@ components: 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' @@ -41895,10 +41884,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -41912,6 +41898,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41983,7 +41970,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -42003,7 +41989,6 @@ components: 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' @@ -42012,10 +41997,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -42029,6 +42011,8 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false full-repository-response-with-scarlet-witch-preview-media-type: summary: Response with scarlet-witch-preview media type value: @@ -42210,7 +42194,6 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit - language: forks_count: 9 forks: 9 stargazers_count: 80 @@ -42233,7 +42216,6 @@ components: 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' @@ -42242,10 +42224,7 @@ components: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -42339,7 +42318,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -42359,7 +42337,6 @@ components: 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' @@ -42368,10 +42345,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -42385,6 +42359,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42456,7 +42431,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -42476,7 +42450,6 @@ components: 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' @@ -42485,10 +42458,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -42502,6 +42472,8 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false short-branch-items: value: - name: master @@ -42666,10 +42638,9 @@ components: require_code_owner_reviews: true required_approving_review_count: 2 restrictions: - url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions + - url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions users_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users teams_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams - apps_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams users: - login: octocat id: 1 @@ -42702,43 +42673,6 @@ components: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - apps: - - id: 1 - slug: octoapp - node_id: MDExOkludGVncmF0aW9uMQ== - owner: - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization - name: Octocat App - description: '' - external_url: https://example.com - html_url: https://github.com/apps/octoapp - created_at: '2017-07-08T16:18:44-04:00' - updated_at: '2017-07-08T16:18:44-04:00' - permissions: - metadata: read - contents: read - issues: write - single_file: write - events: - - push - - pull_request - required_linear_history: - enabled: true - allow_force_pushes: - enabled: true - allow_deletions: - enabled: true protected-branch-admin-enforced-2: value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins @@ -42801,7 +42735,6 @@ components: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions users_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users teams_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams - apps_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams users: - login: octocat id: 1 @@ -42834,37 +42767,6 @@ components: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - apps: - - id: 1 - slug: octoapp - node_id: MDExOkludGVncmF0aW9uMQ== - owner: - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization - name: Octocat App - description: '' - external_url: https://example.com - html_url: https://github.com/apps/octoapp - created_at: '2017-07-08T16:18:44-04:00' - updated_at: '2017-07-08T16:18:44-04:00' - permissions: - metadata: read - contents: read - issues: write - single_file: write - events: - - push - - pull_request check-run-example-of-in-progress-conclusion: summary: Example of in_progress conclusion value: @@ -43235,7 +43137,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -43255,7 +43156,6 @@ components: 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' @@ -43263,10 +43163,9 @@ components: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false head_commit: id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d @@ -43362,7 +43261,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -43382,7 +43280,6 @@ components: 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' @@ -43391,10 +43288,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -43408,6 +43302,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false check-run-paginated: value: total_count: 1 @@ -43999,6 +43894,7 @@ components: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos + parent: head: label: octocat:new-topic ref: new-topic @@ -44113,7 +44009,6 @@ components: 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' @@ -44123,22 +44018,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -44253,7 +44137,6 @@ components: 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' @@ -44263,22 +44146,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -44406,18 +44278,12 @@ components: url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true + description: A great organization name: Octocat App description: '' external_url: https://example.com @@ -44523,7 +44389,6 @@ components: 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' @@ -44531,28 +44396,13 @@ components: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + allow_rebase_merge: true + template_repository: + allow_squash_merge: true + allow_merge_commit: true subscribers_count: 42 network_count: 0 - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - head_commit: - id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - message: |- - Merge pull request #6 from Spaceghost/patch-1 - - New line at end of file. - timestamp: '2016-10-10T00:00:00Z' - author: - name: The Octocat - email: octocat@nowhere.com - committer: - name: The Octocat - email: octocat@nowhere.com - latest_check_runs_count: 1 - check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs + anonymous_access_enabled: false combined-commit-status: value: state: success @@ -45482,7 +45332,6 @@ components: 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' @@ -45490,10 +45339,10 @@ components: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -47303,7 +47152,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -47330,7 +47178,6 @@ components: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -47342,6 +47189,7 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -47436,7 +47284,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -47463,7 +47310,6 @@ components: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -47475,6 +47321,7 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -47569,12 +47416,6 @@ components: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT pull-request-review-comment-2: value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 @@ -47620,12 +47461,6 @@ components: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT legacy-review-comment: value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 @@ -47683,7 +47518,7 @@ components: original_position: 4 commit_id: 6dcb09b5b57875f334f61aebed695e2e4193db5e original_commit_id: 9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840 - in_reply_to_id: 426899381 + in_reply_to_id: 8 user: login: octocat id: 1 @@ -47716,12 +47551,6 @@ components: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT diff-entry-items: value: - sha: bbcd538c8e72b8c175046e27cc8f907076331401 @@ -48077,7 +47906,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -48097,7 +47925,6 @@ components: 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' @@ -48106,10 +47933,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -48123,6 +47947,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -48217,7 +48042,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -48237,7 +48061,6 @@ components: 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' @@ -48246,10 +48069,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -48263,6 +48083,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -49099,7 +48920,6 @@ components: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -49122,7 +48942,6 @@ components: 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' @@ -49138,6 +48957,9 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit + anonymous_access_enabled: false + template_repository: + anonymous_access_enabled: false public-repository-items: value: - id: 1296269 @@ -49887,8 +49709,6 @@ components: pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... - pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 team-discussion-items: value: - author: @@ -50561,7 +50381,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -50607,7 +50426,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -50641,7 +50459,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -50912,7 +50729,6 @@ components: 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' @@ -50922,22 +50738,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false key-items: value: - key_id: '012345678912345678' @@ -51242,7 +51047,6 @@ components: 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' @@ -51252,22 +51056,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false starred-repository-items-alternative-response-with-star-creation-timestamps: summary: Alternative response with star creation timestamps value: @@ -51363,7 +51156,6 @@ components: 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' @@ -51373,22 +51165,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false team-full-items: value: - id: 1 @@ -51425,7 +51206,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -51434,8 +51214,8 @@ components: following: 0 html_url: https://github.com/octocat created_at: '2008-01-14T04:33:35Z' - updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com public-user-default-response: summary: Default response value: diff --git a/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json b/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json index a37890ea4a..016726d660 100644 --- a/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json +++ b/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -2227,8 +2227,8 @@ "hooks_count": 1, "download": { "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", - "state": "not_started", - "downloaded_at": null, + "state": "success", + "downloaded_at": "2016-05-26T07:42:53-05:00", "message": null } } @@ -3934,24 +3934,36 @@ "default": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] } @@ -4186,7 +4198,7 @@ }, "email": { "type": "string", - "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.18/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.19/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." } }, "required": [ @@ -4746,7 +4758,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -5134,10 +5146,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -5565,6 +5580,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#list-installations-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "per_page", "description": "Results per page (max 100)", @@ -5582,23 +5607,6 @@ "type": "integer", "default": 1 } - }, - { - "name": "since", - "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "outdated", - "in": "query", - "required": false, - "schema": { - "type": "string" - } } ], "responses": { @@ -6108,10 +6116,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -6128,6 +6139,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#get-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -6674,15 +6695,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://developer.github.com/enterprise/2.19/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -6692,6 +6716,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#delete-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -6731,10 +6765,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "gambit", + "note": "Uninstalling GitHub Apps and revoking an app's installation token are currently available for developers to preview. To access the new endpoint during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.gambit-preview+json\n```" + }, + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -6751,6 +6793,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#create-an-installation-access-token-for-an-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -7361,11 +7413,6 @@ "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", @@ -7657,9 +7704,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -7689,15 +7733,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -7706,24 +7744,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -7748,6 +7780,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -7937,7 +7972,6 @@ "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", @@ -7948,23 +7982,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -8129,10 +8151,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -9723,10 +9748,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -10148,24 +10176,36 @@ "default": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] } @@ -10717,7 +10757,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -11757,7 +11797,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -16295,11 +16335,6 @@ "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", @@ -16591,9 +16626,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -16623,15 +16655,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -16640,24 +16666,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -16682,6 +16702,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -17679,137 +17702,71 @@ "format": "uri" } }, - "security_advisories_url": { - "type": "string", - "example": "https://github.com/security-advisories" - }, "_links": { - "type": "object", - "properties": { - "timeline": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, - "user": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, - "security_advisories": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "type": "array", + "required": [ + "timeline", + "user" + ], + "items": { + "type": "object", + "properties": { + "timeline": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_public": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user_public": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_actor": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_organization": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user_actor": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_organizations": { - "type": "array", - "items": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", + "current_user_organization": { "type": "object", "properties": { "href": { @@ -17818,18 +17775,24 @@ "type": { "type": "string" } - }, - "required": [ - "href", - "type" - ] + } + }, + "current_user_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } } } - }, - "required": [ - "timeline", - "user" - ] + } } }, "required": [ @@ -17850,43 +17813,40 @@ "current_user_organization_urls": [ "https://github.com/organizations/github/octocat.private.atom?token=abc123" ], - "security_advisories_url": "https://github.com/security-advisories", - "_links": { - "timeline": { - "href": "https://github.com/timeline", - "type": "application/atom+xml" - }, - "user": { - "href": "https://github.com/{user}", - "type": "application/atom+xml" - }, - "current_user_public": { - "href": "https://github.com/octocat", - "type": "application/atom+xml" - }, - "current_user": { - "href": "https://github.com/octocat.private?token=abc123", - "type": "application/atom+xml" - }, - "current_user_actor": { - "href": "https://github.com/octocat.private.actor?token=abc123", - "type": "application/atom+xml" - }, - "current_user_organization": { - "href": "", - "type": "" - }, - "current_user_organizations": [ - { - "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "_links": [ + { + "timeline": { + "href": "https://github.com/timeline", "type": "application/atom+xml" - } - ], - "security_advisories": { - "href": "https://github.com/security-advisories", - "type": "application/atom+xml" + }, + "user": { + "href": "https://github.com/{user}", + "type": "application/atom+xml" + }, + "current_user_public": { + "href": "https://github.com/octocat", + "type": "application/atom+xml" + }, + "current_user": { + "href": "https://github.com/octocat.private?token=abc123", + "type": "application/atom+xml" + }, + "current_user_actor": { + "href": "https://github.com/octocat.private.actor?token=abc123", + "type": "application/atom+xml" + }, + "current_user_organization": { + "href": "", + "type": "" + }, + "current_user_organizations": [ + { + "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "type": "application/atom+xml" + } + ] } - } + ] } } } @@ -26157,6 +26117,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/installations/#list-repositories-accessible-to-the-app-installation" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "per_page", "description": "Results per page (max 100)", @@ -26689,11 +26659,6 @@ "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", @@ -26985,9 +26950,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -27017,15 +26979,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -27034,24 +26990,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -27076,6 +27026,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -27259,29 +27212,16 @@ "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", "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -27346,6 +27286,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -28868,11 +28813,6 @@ "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", @@ -29164,9 +29104,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -29196,15 +29133,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -29213,24 +29144,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -29255,6 +29180,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -29889,7 +29817,6 @@ "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", @@ -29900,25 +29827,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] } @@ -30033,12 +29947,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -30584,79 +30497,6 @@ "type": "boolean", "example": true }, - "ssh_key_fingerprints": { - "type": "object", - "properties": { - "MD5_RSA": { - "type": "string" - }, - "MD5_DSA": { - "type": "string" - }, - "SHA256_RSA": { - "type": "string" - }, - "SHA256_DSA": { - "type": "string" - } - } - }, - "hooks": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "web": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "api": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "git": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "pages": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "192.30.252.153/32", - "192.30.252.154/32" - ] - }, - "importer": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "54.158.161.132", - "54.226.70.38" - ] - }, "github_services_sha": { "type": "string", "example": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" @@ -30673,34 +30513,8 @@ "default": { "value": { "verifiable_password_authentication": true, - "ssh_key_fingerprints": { - "MD5_RSA": "16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48", - "MD5_DSA": "ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c", - "SHA256_RSA": "nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", - "SHA256_DSA": "br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ" - }, - "hooks": [ - "192.30.252.0/22" - ], - "web": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "api": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "git": [ - "192.30.252.0/22" - ], - "pages": [ - "192.30.252.153/32", - "192.30.252.154/32" - ], - "importer": [ - "54.158.161.132", - "54.226.70.38" - ] + "installed_version": "2.19.0", + "github_services_sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" } } } @@ -32125,11 +31939,6 @@ "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", @@ -32421,9 +32230,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -32453,15 +32259,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -32470,24 +32270,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -32512,6 +32306,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -33925,9 +33722,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -33963,12 +33757,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -34007,6 +33795,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -34853,9 +34644,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -34891,12 +34679,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -34935,6 +34717,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -35918,15 +35703,6 @@ "format": "email", "example": "octocat@github.com" }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, "has_organization_projects": { "type": "boolean", "example": true @@ -36037,18 +35813,6 @@ "type": "string", "example": "all" }, - "members_can_create_public_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_private_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "example": true - }, "members_can_create_pages": { "type": "boolean", "example": true @@ -36426,15 +36190,6 @@ "format": "email", "example": "octocat@github.com" }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, "has_organization_projects": { "type": "boolean", "example": true @@ -36545,18 +36300,6 @@ "type": "string", "example": "all" }, - "members_can_create_public_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_private_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "example": true - }, "members_can_create_pages": { "type": "boolean", "example": true @@ -36611,8 +36354,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -36637,9 +36378,6 @@ "members_can_create_repositories": true, "two_factor_requirement_enabled": true, "members_allowed_repository_creation_type": "all", - "members_can_create_public_repositories": false, - "members_can_create_private_repositories": false, - "members_can_create_internal_repositories": false, "members_can_create_pages": true, "updated_at": "2014-03-03T18:58:10Z" } @@ -38197,11 +37935,6 @@ "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", @@ -38493,9 +38226,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -38525,15 +38255,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -38542,24 +38266,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -38584,6 +38302,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -40625,6 +40346,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#get-an-organization-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "org", "in": "path", @@ -41128,10 +40859,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -41148,6 +40882,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/orgs/#list-app-installations-for-an-organization" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "org", "in": "path", @@ -41694,10 +41438,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "orgs", - "subcategory": null + "category": "orgs" } } }, @@ -43188,11 +42935,6 @@ "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", @@ -43484,9 +43226,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -43516,15 +43255,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -43533,24 +43266,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -43575,6 +43302,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -44209,7 +43939,6 @@ "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", @@ -44220,25 +43949,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] } @@ -44281,12 +43997,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -48214,9 +47929,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -48252,12 +47964,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -48296,6 +48002,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -48444,7 +48153,6 @@ "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", @@ -48453,11 +48161,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -49133,11 +48840,6 @@ "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", @@ -49429,9 +49131,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -49461,15 +49160,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -49478,24 +49171,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -49520,6 +49207,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -49672,7 +49362,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -49704,7 +49393,6 @@ "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", @@ -49714,13 +49402,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -50351,118 +50037,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -50482,7 +50200,38 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -50548,7 +50297,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -50571,7 +50319,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -50582,7 +50329,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -50891,118 +50639,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -51022,7 +50802,38 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -51088,7 +50899,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -51111,7 +50921,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -51122,7 +50931,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -56456,7 +56266,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -56479,18 +56289,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } } }, @@ -56944,11 +56747,6 @@ "type": "boolean", "description": "Returns whether or not this repository disabled." }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "type": "string", - "example": "public" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -57490,11 +57288,6 @@ "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", @@ -57786,9 +57579,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -57818,15 +57608,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -57835,24 +57619,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -57877,6 +57655,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -57957,18 +57738,10 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true }, - "delete_branch_on_merge": { - "type": "boolean", - "example": false - }, "allow_merge_commit": { "type": "boolean", "example": true @@ -58644,11 +58417,6 @@ "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", @@ -58940,9 +58708,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -58972,15 +58737,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -58989,24 +58748,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -59031,6 +58784,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -59609,11 +59365,6 @@ "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", @@ -59905,9 +59656,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -59937,15 +59685,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -59954,24 +59696,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -59996,6 +59732,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -60245,7 +59984,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -60269,7 +60007,6 @@ "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", @@ -60279,10 +60016,7 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -60385,7 +60119,6 @@ "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, @@ -60406,7 +60139,6 @@ "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", @@ -60416,10 +60148,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -60433,7 +60162,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -60507,7 +60237,6 @@ "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, @@ -60528,7 +60257,6 @@ "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", @@ -60538,10 +60266,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -60555,8 +60280,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } }, "response-with-scarlet-witch-preview-media-type": { @@ -61277,11 +61004,6 @@ "type": "boolean", "description": "Returns whether or not this repository disabled." }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "type": "string", - "example": "public" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -61823,11 +61545,6 @@ "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", @@ -62119,9 +61836,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -62151,15 +61865,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -62168,24 +61876,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -62210,6 +61912,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -62290,18 +61995,10 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true }, - "delete_branch_on_merge": { - "type": "boolean", - "example": false - }, "allow_merge_commit": { "type": "boolean", "example": true @@ -62977,11 +62674,6 @@ "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", @@ -63273,9 +62965,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -63305,15 +62994,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -63322,24 +63005,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -63364,6 +63041,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -63942,11 +63622,6 @@ "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", @@ -64238,9 +63913,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -64270,15 +63942,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -64287,24 +63953,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -64329,6 +63989,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -64585,7 +64248,6 @@ "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" }, - "language": null, "forks_count": 9, "forks": 9, "stargazers_count": 80, @@ -64609,7 +64271,6 @@ "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", @@ -64619,10 +64280,7 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -64718,7 +64376,6 @@ "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, @@ -64739,7 +64396,6 @@ "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", @@ -64749,10 +64405,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -64766,7 +64419,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -64840,7 +64494,6 @@ "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, @@ -64861,7 +64514,6 @@ "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", @@ -64871,10 +64523,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -64888,8 +64537,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } } } @@ -66141,6 +65792,231 @@ } } } + }, + "restrictions": { + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "users_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "apps_url": { + "type": "string" + }, + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "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" + } + } + } + }, + "teams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "parent": { + "nullable": true + } + } + } + }, + "apps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "slug": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "public_members_url": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "external_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "issues": { + "type": "string" + }, + "single_file": { + "type": "string" + } + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "type": "array" } }, "required": [ @@ -66153,30 +66029,6 @@ "apps" ] }, - "required_linear_history": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_force_pushes": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_deletions": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, "enabled": { "type": "boolean" }, @@ -67463,6 +67315,231 @@ } } } + }, + "restrictions": { + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "users_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "apps_url": { + "type": "string" + }, + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "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" + } + } + } + }, + "teams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "parent": { + "nullable": true + } + } + } + }, + "apps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "slug": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "public_members_url": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "external_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "issues": { + "type": "string" + }, + "single_file": { + "type": "string" + } + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "type": "array" } }, "required": [ @@ -67475,30 +67552,6 @@ "apps" ] }, - "required_linear_history": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_force_pushes": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_deletions": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, "enabled": { "type": "boolean" }, @@ -68371,6 +68424,231 @@ } } } + }, + "restrictions": { + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "users_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "apps_url": { + "type": "string" + }, + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "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" + } + } + } + }, + "teams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "parent": { + "nullable": true + } + } + } + }, + "apps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "slug": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "public_members_url": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "external_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "issues": { + "type": "string" + }, + "single_file": { + "type": "string" + } + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "type": "array" } }, "required": [ @@ -68383,30 +68661,6 @@ "apps" ] }, - "required_linear_history": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_force_pushes": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_deletions": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, "enabled": { "type": "boolean" }, @@ -68484,102 +68738,95 @@ "repositories_url": "https://api.github.com/teams/1/repos", "parent": null } - ] - }, - "dismiss_stale_reviews": true, - "require_code_owner_reviews": true, - "required_approving_review_count": 2 - }, - "restrictions": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", - "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", - "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", - "users": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://api.github.com/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ], - "apps": [ - { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", + ] + }, + "dismiss_stale_reviews": true, + "require_code_owner_reviews": true, + "required_approving_review_count": 2 + }, + "restrictions": [ + { + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", + "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", + "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", + "users": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], + "teams": [ + { + "id": 1, + "node_id": "MDQ6VGVhbTE=", + "url": "https://api.github.com/teams/1", + "html_url": "https://api.github.com/teams/justice-league", + "name": "Justice League", + "slug": "justice-league", + "description": "A great team.", + "privacy": "closed", + "permission": "admin", + "members_url": "https://api.github.com/teams/1/members{/member}", + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null + } + ], + "apps": [ + { "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - } - ] - }, - "required_linear_history": { - "enabled": true - }, - "allow_force_pushes": { - "enabled": true - }, - "allow_deletions": { - "enabled": true - } + "slug": "octoapp", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + }, + "name": "Octocat App", + "description": "", + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00", + "permissions": { + "metadata": "read", + "contents": "read", + "issues": "write", + "single_file": "write" + }, + "events": [ + "push", + "pull_request" + ] + } + ] + } + ] } } } @@ -69515,6 +69762,231 @@ } } } + }, + "restrictions": { + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "users_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "apps_url": { + "type": "string" + }, + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "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" + } + } + } + }, + "teams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "parent": { + "nullable": true + } + } + } + }, + "apps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "slug": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "public_members_url": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "external_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "issues": { + "type": "string" + }, + "single_file": { + "type": "string" + } + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "type": "array" } }, "required": [ @@ -72631,6 +73103,231 @@ } } } + }, + "restrictions": { + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "users_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "apps_url": { + "type": "string" + }, + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "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" + } + } + } + }, + "teams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "parent": { + "nullable": true + } + } + } + }, + "apps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "slug": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "public_members_url": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "external_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "issues": { + "type": "string" + }, + "single_file": { + "type": "string" + } + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "type": "array" } }, "required": [ @@ -80164,9 +80861,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -80202,12 +80896,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -80246,6 +80934,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -80525,7 +81216,6 @@ "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, @@ -80546,7 +81236,6 @@ "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", @@ -80555,10 +81244,9 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false }, "head_commit": { "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", @@ -81202,11 +81890,6 @@ "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", @@ -81498,9 +82181,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -81530,15 +82210,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -81547,24 +82221,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -81589,6 +82257,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -81756,7 +82427,6 @@ "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, @@ -81777,7 +82447,6 @@ "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", @@ -81787,10 +82456,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -81804,7 +82470,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } } } @@ -82651,9 +83318,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -82689,12 +83353,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -82733,6 +83391,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -83012,7 +83673,6 @@ "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, @@ -83033,7 +83693,6 @@ "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", @@ -83042,10 +83701,9 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false }, "head_commit": { "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", @@ -84648,9 +85306,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -84686,12 +85341,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -84730,6 +85379,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -90471,11 +91123,6 @@ "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", @@ -90767,9 +91414,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -90799,15 +91443,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -90816,24 +91454,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -90858,6 +91490,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -91574,11 +92209,6 @@ "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", @@ -91870,9 +92500,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -91902,15 +92529,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -91919,24 +92540,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -91961,6 +92576,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -92522,7 +93140,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -92642,7 +93261,6 @@ "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", @@ -92653,23 +93271,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "base": { @@ -92789,7 +93395,6 @@ "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", @@ -92800,23 +93405,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "_links": { @@ -95224,9 +95817,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -95262,12 +95852,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -95306,6 +95890,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -95486,18 +96073,12 @@ "url": "https://api.github.com/orgs/github", "repos_url": "https://api.github.com/orgs/github/repos", "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true + "description": "A great organization" }, "name": "Octocat App", "description": "", @@ -95609,7 +96190,6 @@ "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", @@ -95618,29 +96198,14 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "allow_rebase_merge": true, + "template_repository": null, + "allow_squash_merge": true, + "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 - }, - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "head_commit": { - "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "tree_id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", - "timestamp": "2016-10-10T00:00:00Z", - "author": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - }, - "committer": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - } - }, - "latest_check_runs_count": 1, - "check_runs_url": "https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs" + "network_count": 0, + "anonymous_access_enabled": false + } } ] } @@ -96181,9 +96746,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -96219,12 +96781,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -96263,6 +96819,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -102905,6 +103464,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "ant-man", @@ -104858,6 +105422,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "flash", @@ -106277,11 +106846,6 @@ "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", @@ -106573,9 +107137,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -106605,15 +107166,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -106622,24 +107177,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -106664,6 +107213,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -108016,9 +108568,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -108054,12 +108603,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -108098,6 +108641,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -108246,7 +108792,6 @@ "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", @@ -108255,10 +108800,10 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -108895,11 +109440,6 @@ "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", @@ -109191,9 +109731,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -109223,15 +109760,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -109240,24 +109771,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -109282,6 +109807,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -109434,7 +109962,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -109466,7 +109993,6 @@ "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", @@ -109476,13 +110002,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -114337,6 +114861,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#get-a-repository-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "owner", "in": "path", @@ -114871,10 +115405,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -115331,9 +115868,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -115369,12 +115903,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -115413,6 +115941,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -116349,9 +116880,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -116387,12 +116915,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -116431,6 +116953,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -118338,11 +118863,6 @@ "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", @@ -118634,9 +119154,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -118666,15 +119183,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -118683,24 +119194,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -118725,6 +119230,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -119329,12 +119837,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "post": { @@ -120810,11 +121317,6 @@ "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", @@ -121106,9 +121608,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -121138,15 +121637,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -121155,24 +121648,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -121197,6 +121684,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -123242,8 +123732,8 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -126324,11 +126814,6 @@ "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", @@ -126620,9 +127105,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -126652,15 +127134,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -126669,24 +127145,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -126711,6 +127181,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -128059,6 +128532,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -129503,11 +129981,6 @@ "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", @@ -129799,9 +130272,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -129831,15 +130301,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -129848,24 +130312,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -129890,6 +130348,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -131218,6 +131679,16 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + }, + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -132630,11 +133101,6 @@ "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", @@ -132926,9 +133392,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -132958,15 +133421,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -132975,24 +133432,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -133017,6 +133468,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -135131,11 +135585,6 @@ "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", @@ -135427,9 +135876,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -135459,15 +135905,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -135476,24 +135916,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -135518,6 +135952,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -137557,11 +137994,6 @@ "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", @@ -137853,9 +138285,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -137885,15 +138314,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -137902,24 +138325,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -137944,6 +138361,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -139796,11 +140216,6 @@ "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", @@ -140092,9 +140507,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -140124,15 +140536,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -140141,24 +140547,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -140183,6 +140583,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -142446,6 +142849,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -143570,10 +143978,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "delete": { @@ -149385,9 +149796,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -149423,12 +149831,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -149467,6 +149869,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -149878,7 +150283,7 @@ } }, "post": { - "summary": "Create a GitHub Enterprise Server Pages site", + "summary": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"", "tags": [ "repos" @@ -149919,11 +150324,15 @@ "properties": { "branch": { "type": "string", - "description": "The repository branch used to publish your site's source files." + "description": "The repository branch used to publish your site's source files. Can be either `master` or `gh-pages`.", + "enum": [ + "master", + "gh-pages" + ] }, "path": { "type": "string", - "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`", + "description": "The repository directory that includes the source files for the Pages site. When `branch` is `master`, you can change `path` to `/docs`. When `branch` is `gh-pages`, you are unable to specify a `path` other than `/`.", "enum": [ "/", "/docs" @@ -149942,7 +150351,7 @@ }, "example": { "source": { - "branch": "main", + "branch": "master", "path": "/docs" } } @@ -150163,7 +150572,7 @@ } }, "put": { - "summary": "Update information about a GitHub Enterprise Server Pages site", + "summary": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).", "tags": [ "repos" @@ -150197,11 +150606,6 @@ "schema": { "type": "object", "properties": { - "cname": { - "type": "string", - "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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/).\"", - "nullable": true - }, "source": { "anyOf": [ { @@ -150235,19 +150639,19 @@ "path" ] } + ], + "type": "string", + "description": "Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `\"gh-pages\"`, `\"master\"`, and `\"master /docs\"`.", + "enum": [ + "gh-pages", + "master", + "master /docs" ] } - }, - "required": [ - "source" - ] + } }, "example": { - "cname": "octocatblog.com", - "source": { - "branch": "main", - "path": "/" - } + "source": "master /docs" } } } @@ -152751,7 +153155,7 @@ "/repos/{owner}/{repo}/pulls": { "get": { "summary": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -154292,11 +154696,6 @@ "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", @@ -154588,9 +154987,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -154620,15 +155016,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -154637,24 +155027,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -154679,6 +155063,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -155395,11 +155782,6 @@ "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", @@ -155691,9 +156073,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -155723,15 +156102,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -155740,24 +156113,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -155782,6 +156149,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -156343,7 +156713,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -156463,7 +156834,6 @@ "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", @@ -156474,23 +156844,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "base": { @@ -156610,7 +156968,6 @@ "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", @@ -156621,23 +156978,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "_links": { @@ -156760,15 +157105,23 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } }, "post": { "summary": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.19/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.", "tags": [ "pulls" ], @@ -158104,9 +158457,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -158183,6 +158533,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -158690,9 +159043,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -158784,6 +159134,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -159587,7 +159940,6 @@ "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, @@ -159616,7 +159968,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -159628,7 +159979,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -159727,7 +160079,6 @@ "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, @@ -159756,7 +160107,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -159768,7 +160118,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -159939,10 +160290,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -160291,47 +160650,6 @@ "pull_request" ] }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, "reactions": { "title": "Reaction Rollup", "type": "object", @@ -160463,13 +160781,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } ] } @@ -160804,47 +161116,6 @@ "pull_request" ] }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, "reactions": { "title": "Reaction Rollup", "type": "object", @@ -160974,13 +161245,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } } } @@ -161345,47 +161610,6 @@ "pull_request" ] }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, "reactions": { "title": "Reaction Rollup", "type": "object", @@ -161515,13 +161739,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } } } @@ -163827,9 +164045,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -163906,6 +164121,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -164413,9 +164631,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -164507,6 +164722,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -165310,7 +165528,6 @@ "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, @@ -165339,7 +165556,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -165351,7 +165567,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -165450,7 +165667,6 @@ "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, @@ -165479,7 +165695,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -165491,7 +165706,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -165615,7 +165831,7 @@ }, "patch": { "summary": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -166951,9 +167167,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -167030,6 +167243,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -167537,9 +167753,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -167631,6 +167844,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -168434,7 +168650,6 @@ "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, @@ -168463,7 +168678,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -168475,7 +168689,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -168574,7 +168789,6 @@ "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, @@ -168603,7 +168817,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -168615,7 +168828,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -168777,10 +168991,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -169137,47 +169359,6 @@ "pull_request" ] }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, "reactions": { "title": "Reaction Rollup", "type": "object", @@ -169309,13 +169490,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } ] } @@ -169967,47 +170142,6 @@ "pull_request" ] }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, "reactions": { "title": "Reaction Rollup", "type": "object", @@ -170100,7 +170234,7 @@ "original_position": 4, "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "in_reply_to_id": 426899381, + "in_reply_to_id": 8, "user": { "login": "octocat", "id": 1, @@ -170137,13 +170271,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } } } @@ -172714,11 +172842,6 @@ "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", @@ -173010,9 +173133,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -173042,15 +173162,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -173059,24 +173173,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -173101,6 +173209,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -173817,11 +173928,6 @@ "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", @@ -174113,9 +174219,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -174145,15 +174248,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -174162,24 +174259,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -174204,6 +174295,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -174902,7 +174996,6 @@ "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, @@ -174923,7 +175016,6 @@ "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", @@ -174933,10 +175025,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -174950,7 +175039,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "base": { @@ -175049,7 +175139,6 @@ "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, @@ -175070,7 +175159,6 @@ "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", @@ -175080,10 +175168,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -175097,7 +175182,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "_links": { @@ -187091,11 +187177,6 @@ "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", @@ -187387,9 +187468,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -187419,15 +187497,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -187436,24 +187508,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -187478,6 +187544,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -187630,7 +187699,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -187662,7 +187730,6 @@ "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", @@ -187672,13 +187739,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -188429,11 +188494,6 @@ "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", @@ -188725,9 +188785,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -188757,15 +188814,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -188774,24 +188825,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -188816,6 +188861,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -188968,7 +189016,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -188992,7 +189039,6 @@ "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", @@ -189009,6 +189055,10 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" + }, + "anonymous_access_enabled": false, + "template_repository": { + "anonymous_access_enabled": false } } } @@ -189476,9 +189526,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -189514,12 +189561,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -189558,6 +189599,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -190277,9 +190321,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -190315,12 +190356,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -190359,6 +190394,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -191461,9 +191499,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -191499,12 +191534,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -191543,6 +191572,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -193185,11 +193217,6 @@ "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", @@ -193481,9 +193508,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -193513,15 +193537,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -193530,24 +193548,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -193572,6 +193584,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -197107,10 +197122,6 @@ "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - }, { "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" @@ -197249,10 +197260,6 @@ "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - }, { "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" @@ -197643,118 +197650,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -197774,7 +197813,38 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -197840,7 +197910,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -197863,7 +197932,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -197874,7 +197942,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -198087,118 +198156,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -198218,7 +198319,38 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -198284,7 +198416,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -198307,7 +198438,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -198318,7 +198448,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -198443,16 +198574,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussions/#list-discussions" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -198463,7 +198584,7 @@ }, { "name": "direction", - "description": "One of `asc` (ascending) or `desc` (descending).", + "description": "Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.", "in": "query", "required": false, "schema": { @@ -198844,12 +198965,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -198870,16 +198985,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussions/#create-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -199259,12 +199364,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -199287,16 +199386,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussions/#get-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -199651,12 +199740,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -199677,16 +199760,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussions/#update-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -200063,12 +200136,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -200089,16 +200156,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussions/#delete-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -200125,11 +200182,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - } + ], "category": "teams", "subcategory": "discussions" @@ -200149,16 +200202,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#list-discussion-comments" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -200177,7 +200220,7 @@ }, { "name": "direction", - "description": "One of `asc` (ascending) or `desc` (descending).", + "description": "Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.", "in": "query", "required": false, "schema": { @@ -200524,12 +200567,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -200550,16 +200587,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#create-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -200902,12 +200929,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -200930,16 +200951,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#get-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -201268,12 +201279,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -201294,16 +201299,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#update-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -201653,12 +201648,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -201679,16 +201668,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#delete-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -201723,11 +201702,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - } + ], "category": "teams", "subcategory": "discussion-comments" @@ -201753,7 +201728,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -202035,18 +202010,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } }, "post": { @@ -202067,7 +202035,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -202330,18 +202298,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } } }, @@ -202364,7 +202325,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -202638,18 +202599,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } }, "post": { @@ -202670,7 +202624,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -202925,18 +202879,11 @@ "enabledForGitHubApps": false, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } } }, @@ -204912,9 +204859,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -204950,12 +204894,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -204994,6 +204932,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -205142,7 +205083,6 @@ "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", @@ -205151,11 +205091,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -205625,9 +205564,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -205663,12 +205599,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -205707,6 +205637,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -206175,11 +206108,6 @@ "type": "boolean", "description": "Returns whether or not this repository disabled." }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "type": "string", - "example": "public" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -206721,11 +206649,6 @@ "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", @@ -207017,9 +206940,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -207049,15 +206969,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -207066,24 +206980,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -207108,6 +207016,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -207188,18 +207099,10 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true }, - "delete_branch_on_merge": { - "type": "boolean", - "example": false - }, "allow_merge_commit": { "type": "boolean", "example": true @@ -207875,11 +207778,6 @@ "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", @@ -208171,9 +208069,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -208203,15 +208098,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -208220,24 +208109,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -208262,6 +208145,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -208840,11 +208726,6 @@ "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", @@ -209136,9 +209017,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -209168,15 +209046,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -209185,24 +209057,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -209227,6 +209093,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -210128,11 +209997,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -210355,10 +210219,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -210494,7 +210354,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -210543,7 +210402,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -210799,11 +210657,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -210957,7 +210810,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -213777,6 +213629,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "per_page", "description": "Results per page (max 100)", @@ -214422,7 +214284,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -214442,6 +214308,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -214986,11 +214862,6 @@ "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", @@ -215282,9 +215153,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -215314,15 +215182,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -215331,24 +215193,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -215373,6 +215229,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -215552,7 +215411,6 @@ "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", @@ -215563,23 +215421,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -215644,6 +215490,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -215738,7 +215589,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -215826,7 +215681,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -217312,11 +217171,6 @@ "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", @@ -217608,9 +217462,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -217640,15 +217491,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -217657,24 +217502,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -217699,6 +217538,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -218333,7 +218175,6 @@ "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", @@ -218344,25 +218185,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] } @@ -218408,12 +218236,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -221841,11 +221668,6 @@ "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", @@ -222137,9 +221959,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -222169,15 +221988,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -222186,24 +221999,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -222228,6 +222035,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -222404,7 +222214,6 @@ "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", @@ -222415,23 +222224,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -223189,11 +222986,6 @@ "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", @@ -223485,9 +223277,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -223517,15 +223306,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -223534,24 +223317,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -223576,6 +223353,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -223728,7 +223508,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -223760,7 +223539,6 @@ "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", @@ -223770,13 +223548,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -224435,9 +224211,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -224473,12 +224246,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -224517,6 +224284,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -225821,11 +225591,6 @@ "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", @@ -226117,9 +225882,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -226149,15 +225911,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -226166,24 +225922,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -226208,6 +225958,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -226384,7 +226137,6 @@ "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", @@ -226395,23 +226147,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -226929,11 +226669,6 @@ "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", @@ -227225,9 +226960,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -227257,15 +226989,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -227274,24 +227000,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -227316,6 +227036,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -227500,7 +227223,6 @@ "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", @@ -227511,23 +227233,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } } ] @@ -228349,9 +228059,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -228387,12 +228094,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -228431,6 +228132,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -228579,7 +228283,6 @@ "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", @@ -228588,11 +228291,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -228874,118 +228576,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -229005,7 +228739,38 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -229096,7 +228861,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -229105,9 +228869,9 @@ "following": 0, "html_url": "https://github.com/octocat", "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } ] } @@ -229531,11 +229295,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -229758,10 +229517,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -231380,11 +231135,6 @@ "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", @@ -231676,9 +231426,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -231708,15 +231455,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -231725,24 +231466,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -231767,6 +231502,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -234064,11 +233802,6 @@ "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", @@ -234360,9 +234093,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -234392,15 +234122,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -234409,24 +234133,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -234451,6 +234169,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -236740,11 +236461,6 @@ "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", @@ -237036,9 +236752,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -237068,15 +236781,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -237085,24 +236792,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -237127,6 +236828,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -239520,6 +239224,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#get-a-user-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "username", "in": "path", @@ -240023,10 +239737,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -242142,11 +241859,6 @@ "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", @@ -242438,9 +242150,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -242470,15 +242179,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -242487,24 +242190,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -242529,6 +242226,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -244818,11 +244518,6 @@ "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", @@ -245114,9 +244809,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -245146,15 +244838,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -245163,24 +244849,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -245205,6 +244885,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -246578,9 +246261,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -246616,12 +246296,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -246660,6 +246334,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -246808,7 +246485,6 @@ "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", @@ -246817,11 +246493,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -247509,11 +247184,6 @@ "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", @@ -247805,9 +247475,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -247837,15 +247504,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -247854,24 +247515,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -247896,6 +247551,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -248072,7 +247730,6 @@ "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", @@ -248083,23 +247740,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -248617,11 +248262,6 @@ "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", @@ -248913,9 +248553,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -248945,15 +248582,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -248962,24 +248593,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -249004,6 +248629,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -249188,7 +248816,6 @@ "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", @@ -249199,23 +248826,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } } ] @@ -249679,9 +249294,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -249717,12 +249329,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -249761,6 +249367,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -249909,7 +249518,6 @@ "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", @@ -249918,11 +249526,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", diff --git a/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml b/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml index da9d0927fb..8f5a25caae 100644 --- a/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml +++ b/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.0.0-rc.1 + version: 1.0.0-rc.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -1603,8 +1603,8 @@ paths: hooks_count: 1 download: url: https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest - state: not_started - downloaded_at: + state: success + downloaded_at: '2016-05-26T07:42:53-05:00' message: x-github: githubCloudOnly: false @@ -2889,22 +2889,34 @@ paths: examples: default: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: headers: Link: example: ; rel="next", ; @@ -3090,7 +3102,7 @@ paths: description: "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, - see the the [GitHub authentication guide](https://help.github.com/enterprise/2.18/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + see the the [GitHub authentication guide](https://help.github.com/enterprise/2.19/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." required: - login example: @@ -3513,7 +3525,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 requestBody: content: application/json: @@ -3810,9 +3822,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app-manifests/{code}/conversions": post: summary: Create a GitHub App from a manifest @@ -4171,6 +4188,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#list-installations-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: per_page description: Results per page (max 100) in: query @@ -4183,19 +4207,6 @@ paths: schema: type: integer default: 1 - - name: since - description: 'Only show notifications updated after the given time. This is - a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: - `YYYY-MM-DDTHH:MM:SSZ`.' - in: query - required: false - schema: - type: string - - name: outdated - in: query - required: false - schema: - type: string responses: '200': description: The permissions the installation has are included under the @@ -4595,9 +4606,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}": get: summary: Get an installation for the authenticated app @@ -4612,6 +4628,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#get-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -5035,15 +5058,19 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: delete: summary: Delete an installation for the authenticated app - description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://developer.github.com/enterprise/2.19/v3/apps/#suspend-an-app-installation)" endpoint. - - You must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + description: Uninstalls a GitHub App on a user, organization, or business account. + You must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) + to access this endpoint. tags: - apps operationId: apps/delete-installation @@ -5051,6 +5078,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#delete-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -5076,9 +5110,21 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: gambit + note: |- + Uninstalling GitHub Apps and revoking an app's installation token are currently available for developers to preview. To access the new endpoint during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.gambit-preview+json + ``` + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}/access_tokens": post: summary: Create an installation access token for an app @@ -5093,6 +5139,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#create-an-installation-access-token-for-an-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -5561,11 +5614,6 @@ paths: 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 @@ -5765,8 +5813,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -5786,31 +5832,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -5829,6 +5865,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -6006,7 +6044,6 @@ paths: 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' @@ -6016,22 +6053,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false '403': description: Forbidden content: @@ -6131,9 +6157,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/applications/grants": get: summary: List your grants @@ -7317,9 +7348,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/authorizations": get: summary: List your authorizations @@ -7654,22 +7690,34 @@ paths: examples: default: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: headers: Link: example: ; rel="next", ; @@ -8100,7 +8148,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 headers: Location: example: https://api.github.com/authorizations/1 @@ -8905,7 +8953,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 headers: Location: example: https://api.github.com/authorizations/1 @@ -12493,11 +12541,6 @@ paths: 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 @@ -12698,8 +12741,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -12719,32 +12760,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -12764,6 +12795,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -13563,113 +13596,65 @@ paths: items: type: string format: uri - security_advisories_url: - type: string - example: https://github.com/security-advisories _links: - type: object - properties: - timeline: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - user: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - security_advisories: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_public: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_actor: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_organization: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_organizations: - type: array - items: - title: Link With Type - description: Hypermedia Link with Type + type: array + required: + - timeline + - user + items: + type: object + properties: + timeline: type: object properties: href: type: string type: type: string - required: - - href - - type - required: - - timeline - - user + user: + type: object + properties: + href: + type: string + type: + type: string + current_user_public: + type: object + properties: + href: + type: string + type: + type: string + current_user: + type: object + properties: + href: + type: string + type: + type: string + current_user_actor: + type: object + properties: + href: + type: string + type: + type: string + current_user_organization: + type: object + properties: + href: + type: string + type: + type: string + current_user_organizations: + type: array + items: + type: object + properties: + href: + type: string + type: + type: string required: - _links - timeline_url @@ -13685,9 +13670,8 @@ paths: current_user_organization_url: '' current_user_organization_urls: - https://github.com/organizations/github/octocat.private.atom?token=abc123 - security_advisories_url: https://github.com/security-advisories _links: - timeline: + - timeline: href: https://github.com/timeline type: application/atom+xml user: @@ -13708,9 +13692,6 @@ paths: current_user_organizations: - href: https://github.com/organizations/github/octocat.private.atom?token=abc123 type: application/atom+xml - security_advisories: - href: https://github.com/security-advisories - type: application/atom+xml x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19727,6 +19708,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/installations/#list-repositories-accessible-to-the-app-installation parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: per_page description: Results per page (max 100) in: query @@ -20138,11 +20126,6 @@ paths: 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 @@ -20342,8 +20325,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -20363,31 +20344,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -20406,6 +20377,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -20578,28 +20551,16 @@ paths: 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' allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -20638,6 +20599,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -21838,11 +21805,6 @@ paths: 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 @@ -22042,8 +22004,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -22063,31 +22023,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -22106,6 +22056,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -22653,7 +22605,6 @@ paths: 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' @@ -22663,23 +22614,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -22749,17 +22688,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/licenses": get: summary: Get all commonly used licenses @@ -23203,55 +23139,6 @@ paths: verifiable_password_authentication: type: boolean example: true - ssh_key_fingerprints: - type: object - properties: - MD5_RSA: - type: string - MD5_DSA: - type: string - SHA256_RSA: - type: string - SHA256_DSA: - type: string - hooks: - type: array - items: - type: string - example: - - 127.0.0.1/32 - web: - type: array - items: - type: string - example: - - 127.0.0.1/32 - api: - type: array - items: - type: string - example: - - 127.0.0.1/32 - git: - type: array - items: - type: string - example: - - 127.0.0.1/32 - pages: - type: array - items: - type: string - example: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - type: array - items: - type: string - example: - - 54.158.161.132 - - 54.226.70.38 github_services_sha: type: string example: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15 @@ -23263,27 +23150,8 @@ paths: default: value: verifiable_password_authentication: true - ssh_key_fingerprints: - MD5_RSA: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 - MD5_DSA: ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c - SHA256_RSA: nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 - SHA256_DSA: br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ - hooks: - - 192.30.252.0/22 - web: - - 192.30.252.0/22 - - 185.199.108.0/22 - api: - - 192.30.252.0/22 - - 185.199.108.0/22 - git: - - 192.30.252.0/22 - pages: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - - 54.158.161.132 - - 54.226.70.38 + installed_version: 2.19.0 + github_services_sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15 '304': description: Not Modified x-github: @@ -24383,11 +24251,6 @@ paths: 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 @@ -24588,8 +24451,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -24609,32 +24470,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -24654,6 +24505,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -25762,8 +25615,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -25790,10 +25641,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -25821,6 +25668,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -26456,8 +26305,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -26484,10 +26331,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -26515,6 +26358,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -27251,13 +27096,6 @@ paths: type: string format: email example: octocat@github.com - twitter_username: - type: string - example: github - nullable: true - is_verified: - type: boolean - example: true has_organization_projects: type: boolean example: true @@ -27341,15 +27179,6 @@ paths: members_allowed_repository_creation_type: type: string example: all - members_can_create_public_repositories: - type: boolean - example: true - members_can_create_private_repositories: - type: boolean - example: true - members_can_create_internal_repositories: - type: boolean - example: true members_can_create_pages: type: boolean example: true @@ -27708,13 +27537,6 @@ paths: type: string format: email example: octocat@github.com - twitter_username: - type: string - example: github - nullable: true - is_verified: - type: boolean - example: true has_organization_projects: type: boolean example: true @@ -27798,15 +27620,6 @@ paths: members_allowed_repository_creation_type: type: string example: all - members_can_create_public_repositories: - type: boolean - example: true - members_can_create_private_repositories: - type: boolean - example: true - members_can_create_internal_repositories: - type: boolean - example: true members_can_create_pages: type: boolean example: true @@ -27856,8 +27669,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - twitter_username: github - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -27881,9 +27692,6 @@ paths: members_can_create_repositories: true two_factor_requirement_enabled: true members_allowed_repository_creation_type: all - members_can_create_public_repositories: false - members_can_create_private_repositories: false - members_can_create_internal_repositories: false members_can_create_pages: true updated_at: '2014-03-03T18:58:10Z' '422': @@ -29073,11 +28881,6 @@ paths: 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 @@ -29278,8 +29081,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -29299,32 +29100,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -29344,6 +29135,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -30887,6 +30680,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#get-an-organization-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: org in: path required: true @@ -31282,9 +31082,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/orgs/{org}/installations": get: summary: List app installations for an organization @@ -31298,6 +31103,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/orgs/#list-app-installations-for-an-organization parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: org in: path required: true @@ -31721,9 +31533,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: orgs - subcategory: "/orgs/{org}/issues": get: summary: List organization issues assigned to the authenticated user @@ -32896,11 +32713,6 @@ paths: 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 @@ -33100,8 +32912,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -33121,31 +32931,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -33164,6 +32964,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -33711,7 +33513,6 @@ paths: 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' @@ -33721,23 +33522,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -33762,17 +33551,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/orgs/{org}/members": get: summary: List organization members @@ -36743,8 +36529,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -36771,10 +36555,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -36802,6 +36582,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -36942,7 +36724,6 @@ paths: 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' @@ -36950,11 +36731,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -37514,10 +37294,6 @@ paths: 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 @@ -37717,8 +37493,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -37738,31 +37512,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -37781,6 +37545,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -37928,7 +37694,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -37958,7 +37723,6 @@ paths: 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' @@ -37967,13 +37731,11 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -38464,94 +38226,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -38565,6 +38352,30 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -38623,7 +38434,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -38646,7 +38456,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -38657,6 +38466,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '422': description: Validation Failed content: @@ -38884,94 +38694,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -38985,6 +38820,30 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -39043,7 +38902,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -39066,7 +38924,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -39077,6 +38934,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '404': description: Resource Not Found content: @@ -42977,7 +42835,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - name: reaction_id in: path @@ -42991,15 +42849,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -43009,7 +42859,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: "/repos/{owner}/{repo}": get: summary: Get a repository @@ -43360,10 +43209,6 @@ paths: disabled: type: boolean description: Returns whether or not this repository disabled. - visibility: - description: 'The repository visibility: public, private, or internal.' - type: string - example: public pushed_at: type: string format: date-time @@ -43781,11 +43626,6 @@ paths: 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 @@ -43985,8 +43825,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -44006,31 +43844,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -44049,6 +43877,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -44123,15 +43953,9 @@ paths: - watchers_count - created_at - updated_at - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true - delete_branch_on_merge: - type: boolean - example: false allow_merge_commit: type: boolean example: true @@ -44654,11 +44478,6 @@ paths: 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 @@ -44858,8 +44677,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -44879,31 +44696,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -44922,6 +44729,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -45383,11 +45192,6 @@ paths: 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 @@ -45587,8 +45391,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -45608,31 +45410,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -45651,6 +45443,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -45887,7 +45681,6 @@ paths: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -45910,7 +45703,6 @@ paths: 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' @@ -45919,10 +45711,7 @@ paths: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -46022,7 +45811,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -46042,7 +45830,6 @@ paths: 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' @@ -46051,10 +45838,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -46068,6 +45852,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -46139,7 +45924,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -46159,7 +45943,6 @@ paths: 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' @@ -46168,10 +45951,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -46185,6 +45965,8 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false response-with-scarlet-witch-preview-media-type: summary: Response with scarlet-witch-preview media type value: @@ -46788,10 +46570,6 @@ paths: disabled: type: boolean description: Returns whether or not this repository disabled. - visibility: - description: 'The repository visibility: public, private, or internal.' - type: string - example: public pushed_at: type: string format: date-time @@ -47209,11 +46987,6 @@ paths: 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 @@ -47413,8 +47186,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -47434,31 +47205,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -47477,6 +47238,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -47551,15 +47314,9 @@ paths: - watchers_count - created_at - updated_at - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true - delete_branch_on_merge: - type: boolean - example: false allow_merge_commit: type: boolean example: true @@ -48082,11 +47839,6 @@ paths: 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 @@ -48286,8 +48038,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -48307,31 +48057,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -48350,6 +48090,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -48811,11 +48553,6 @@ paths: 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 @@ -49015,8 +48752,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -49036,31 +48771,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -49079,6 +48804,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -49321,7 +49048,6 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit - language: forks_count: 9 forks: 9 stargazers_count: 80 @@ -49344,7 +49070,6 @@ paths: 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' @@ -49353,10 +49078,7 @@ paths: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -49450,7 +49172,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -49470,7 +49191,6 @@ paths: 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' @@ -49479,10 +49199,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -49496,6 +49213,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49567,7 +49285,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -49587,7 +49304,6 @@ paths: 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' @@ -49596,10 +49312,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -49613,6 +49326,8 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false '403': description: Forbidden content: @@ -50535,6 +50250,154 @@ paths: type: array items: type: string + restrictions: + items: + type: object + properties: + url: + type: string + users_url: + type: string + teams_url: + type: string + apps_url: + type: string + users: + type: array + items: + type: object + properties: + login: + type: string + id: + type: number + 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 + teams: + type: array + items: + type: object + properties: + id: + type: number + node_id: + type: string + url: + type: string + html_url: + type: string + name: + type: string + slug: + type: string + description: + type: string + privacy: + type: string + permission: + type: string + members_url: + type: string + repositories_url: + type: string + parent: + nullable: true + apps: + type: array + items: + type: object + properties: + id: + type: number + slug: + type: string + node_id: + type: string + owner: + type: object + properties: + login: + type: string + id: + type: number + node_id: + type: string + url: + type: string + repos_url: + type: string + events_url: + type: string + hooks_url: + type: string + issues_url: + type: string + members_url: + type: string + public_members_url: + type: string + avatar_url: + type: string + description: + type: string + name: + type: string + description: + type: string + external_url: + type: string + html_url: + type: string + created_at: + type: string + updated_at: + type: string + permissions: + type: object + properties: + metadata: + type: string + contents: + type: string + issues: + type: string + single_file: + type: string + events: + type: array + items: + type: string + type: array required: - url - users_url @@ -50543,21 +50406,6 @@ paths: - users - teams - apps - required_linear_history: - type: object - properties: - enabled: - type: boolean - allow_force_pushes: - type: object - properties: - enabled: - type: boolean - allow_deletions: - type: object - properties: - enabled: - type: boolean enabled: type: boolean name: @@ -51509,6 +51357,154 @@ paths: type: array items: type: string + restrictions: + items: + type: object + properties: + url: + type: string + users_url: + type: string + teams_url: + type: string + apps_url: + type: string + users: + type: array + items: + type: object + properties: + login: + type: string + id: + type: number + 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 + teams: + type: array + items: + type: object + properties: + id: + type: number + node_id: + type: string + url: + type: string + html_url: + type: string + name: + type: string + slug: + type: string + description: + type: string + privacy: + type: string + permission: + type: string + members_url: + type: string + repositories_url: + type: string + parent: + nullable: true + apps: + type: array + items: + type: object + properties: + id: + type: number + slug: + type: string + node_id: + type: string + owner: + type: object + properties: + login: + type: string + id: + type: number + node_id: + type: string + url: + type: string + repos_url: + type: string + events_url: + type: string + hooks_url: + type: string + issues_url: + type: string + members_url: + type: string + public_members_url: + type: string + avatar_url: + type: string + description: + type: string + name: + type: string + description: + type: string + external_url: + type: string + html_url: + type: string + created_at: + type: string + updated_at: + type: string + permissions: + type: object + properties: + metadata: + type: string + contents: + type: string + issues: + type: string + single_file: + type: string + events: + type: array + items: + type: string + type: array required: - url - users_url @@ -51517,21 +51513,6 @@ paths: - users - teams - apps - required_linear_history: - type: object - properties: - enabled: - type: boolean - allow_force_pushes: - type: object - properties: - enabled: - type: boolean - allow_deletions: - type: object - properties: - enabled: - type: boolean enabled: type: boolean name: @@ -52183,6 +52164,154 @@ paths: type: array items: type: string + restrictions: + items: + type: object + properties: + url: + type: string + users_url: + type: string + teams_url: + type: string + apps_url: + type: string + users: + type: array + items: + type: object + properties: + login: + type: string + id: + type: number + 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 + teams: + type: array + items: + type: object + properties: + id: + type: number + node_id: + type: string + url: + type: string + html_url: + type: string + name: + type: string + slug: + type: string + description: + type: string + privacy: + type: string + permission: + type: string + members_url: + type: string + repositories_url: + type: string + parent: + nullable: true + apps: + type: array + items: + type: object + properties: + id: + type: number + slug: + type: string + node_id: + type: string + owner: + type: object + properties: + login: + type: string + id: + type: number + node_id: + type: string + url: + type: string + repos_url: + type: string + events_url: + type: string + hooks_url: + type: string + issues_url: + type: string + members_url: + type: string + public_members_url: + type: string + avatar_url: + type: string + description: + type: string + name: + type: string + description: + type: string + external_url: + type: string + html_url: + type: string + created_at: + type: string + updated_at: + type: string + permissions: + type: object + properties: + metadata: + type: string + contents: + type: string + issues: + type: string + single_file: + type: string + events: + type: array + items: + type: string + type: array required: - url - users_url @@ -52191,21 +52320,6 @@ paths: - users - teams - apps - required_linear_history: - type: object - properties: - enabled: - type: boolean - allow_force_pushes: - type: object - properties: - enabled: - type: boolean - allow_deletions: - type: object - properties: - enabled: - type: boolean enabled: type: boolean name: @@ -52273,7 +52387,7 @@ paths: require_code_owner_reviews: true required_approving_review_count: 2 restrictions: - url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions + - url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions users_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users teams_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams apps_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams @@ -52340,12 +52454,6 @@ paths: events: - push - pull_request - required_linear_history: - enabled: true - allow_force_pushes: - enabled: true - allow_deletions: - enabled: true '404': description: Resource Not Found content: @@ -53065,6 +53173,154 @@ paths: type: array items: type: string + restrictions: + items: + type: object + properties: + url: + type: string + users_url: + type: string + teams_url: + type: string + apps_url: + type: string + users: + type: array + items: + type: object + properties: + login: + type: string + id: + type: number + 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 + teams: + type: array + items: + type: object + properties: + id: + type: number + node_id: + type: string + url: + type: string + html_url: + type: string + name: + type: string + slug: + type: string + description: + type: string + privacy: + type: string + permission: + type: string + members_url: + type: string + repositories_url: + type: string + parent: + nullable: true + apps: + type: array + items: + type: object + properties: + id: + type: number + slug: + type: string + node_id: + type: string + owner: + type: object + properties: + login: + type: string + id: + type: number + node_id: + type: string + url: + type: string + repos_url: + type: string + events_url: + type: string + hooks_url: + type: string + issues_url: + type: string + members_url: + type: string + public_members_url: + type: string + avatar_url: + type: string + description: + type: string + name: + type: string + description: + type: string + external_url: + type: string + html_url: + type: string + created_at: + type: string + updated_at: + type: string + permissions: + type: object + properties: + metadata: + type: string + contents: + type: string + issues: + type: string + single_file: + type: string + events: + type: array + items: + type: string + type: array required: - url - users_url @@ -55319,6 +55575,154 @@ paths: type: array items: type: string + restrictions: + items: + type: object + properties: + url: + type: string + users_url: + type: string + teams_url: + type: string + apps_url: + type: string + users: + type: array + items: + type: object + properties: + login: + type: string + id: + type: number + 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 + teams: + type: array + items: + type: object + properties: + id: + type: number + node_id: + type: string + url: + type: string + html_url: + type: string + name: + type: string + slug: + type: string + description: + type: string + privacy: + type: string + permission: + type: string + members_url: + type: string + repositories_url: + type: string + parent: + nullable: true + apps: + type: array + items: + type: object + properties: + id: + type: number + slug: + type: string + node_id: + type: string + owner: + type: object + properties: + login: + type: string + id: + type: number + node_id: + type: string + url: + type: string + repos_url: + type: string + events_url: + type: string + hooks_url: + type: string + issues_url: + type: string + members_url: + type: string + public_members_url: + type: string + avatar_url: + type: string + description: + type: string + name: + type: string + description: + type: string + external_url: + type: string + html_url: + type: string + created_at: + type: string + updated_at: + type: string + permissions: + type: object + properties: + metadata: + type: string + contents: + type: string + issues: + type: string + single_file: + type: string + events: + type: array + items: + type: string + type: array required: - url - users_url @@ -61181,8 +61585,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -61209,10 +61611,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -61240,6 +61638,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -61484,7 +61884,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -61504,7 +61903,6 @@ paths: 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' @@ -61512,10 +61910,9 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false head_commit: id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d @@ -62014,11 +62411,6 @@ paths: 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 @@ -62218,8 +62610,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -62239,31 +62629,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -62282,6 +62662,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -62436,7 +62818,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -62456,7 +62837,6 @@ paths: 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' @@ -62465,10 +62845,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -62482,6 +62859,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63128,8 +63506,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -63156,10 +63532,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -63187,6 +63559,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -63431,7 +63805,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -63451,7 +63824,6 @@ paths: 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' @@ -63459,10 +63831,9 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false head_commit: id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d @@ -64709,8 +65080,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -64737,10 +65106,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -64768,6 +65133,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -69175,11 +69542,6 @@ paths: 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 @@ -69380,8 +69742,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -69401,32 +69761,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -69446,6 +69796,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -70015,11 +70367,6 @@ paths: 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 @@ -70220,8 +70567,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -70241,32 +70586,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -70286,6 +70621,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -70758,6 +71095,7 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos + parent: head: label: octocat:new-topic ref: new-topic @@ -70872,7 +71210,6 @@ paths: 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' @@ -70882,22 +71219,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -71012,7 +71338,6 @@ paths: 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' @@ -71022,22 +71347,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -72887,8 +73201,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -72915,10 +73227,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -72946,6 +73254,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -73092,18 +73402,12 @@ paths: url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true + description: A great organization name: Octocat App description: '' external_url: https://example.com @@ -73209,7 +73513,6 @@ paths: 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' @@ -73217,28 +73520,13 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + allow_rebase_merge: true + template_repository: + allow_squash_merge: true + allow_merge_commit: true subscribers_count: 42 network_count: 0 - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - head_commit: - id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - message: |- - Merge pull request #6 from Spaceghost/patch-1 - - New line at end of file. - timestamp: '2016-10-10T00:00:00Z' - author: - name: The Octocat - email: octocat@nowhere.com - committer: - name: The Octocat - email: octocat@nowhere.com - latest_check_runs_count: 1 - check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -73652,8 +73940,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -73680,10 +73966,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -73711,6 +73993,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -78947,6 +79231,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: ant-man note: |- @@ -80530,6 +80822,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: flash note: |- @@ -81641,11 +81941,6 @@ paths: 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 @@ -81846,8 +82141,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -81867,32 +82160,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -81912,6 +82195,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -82972,8 +83257,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -83000,10 +83283,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -83031,6 +83310,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -83171,7 +83452,6 @@ paths: 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' @@ -83179,10 +83459,10 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -83663,10 +83943,6 @@ paths: 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 @@ -83866,8 +84142,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -83887,31 +84161,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -83930,6 +84194,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -84077,7 +84343,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -84107,7 +84372,6 @@ paths: 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' @@ -84116,13 +84380,11 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false '400': description: Bad Request content: @@ -87676,6 +87938,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#get-a-repository-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: owner in: path required: true @@ -88091,9 +88360,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -88440,8 +88714,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -88468,10 +88740,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -88499,6 +88767,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -89241,8 +89511,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -89269,10 +89537,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -89300,6 +89564,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -90806,11 +91072,6 @@ paths: 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 @@ -91010,8 +91271,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -91031,31 +91290,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -91074,6 +91323,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -91562,17 +91813,14 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: post: summary: Create an issue description: |- @@ -92727,11 +92975,6 @@ paths: 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 @@ -92931,8 +93174,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -92952,31 +93193,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -92995,6 +93226,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -94588,15 +94821,13 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: comments patch: @@ -96967,11 +97198,6 @@ paths: 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 @@ -97172,8 +97398,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -97193,32 +97417,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -97238,6 +97452,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -98321,6 +98537,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/events/{event_id}": @@ -99443,11 +99666,6 @@ paths: 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 @@ -99647,8 +99865,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -99668,31 +99884,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -99711,6 +99917,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -100782,6 +100990,21 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}": @@ -101893,11 +102116,6 @@ paths: 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 @@ -102097,8 +102315,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -102118,31 +102334,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -102161,6 +102367,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -103847,11 +104055,6 @@ paths: 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 @@ -104051,8 +104254,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -104072,31 +104273,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -104115,6 +104306,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -105711,11 +105904,6 @@ paths: 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 @@ -105915,8 +106103,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -105936,31 +106122,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -105979,6 +106155,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -107455,11 +107633,6 @@ paths: 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 @@ -107659,8 +107832,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -107680,31 +107851,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -107723,6 +107884,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -109501,6 +109664,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}/labels": @@ -110279,9 +110449,15 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues - subcategory: delete: summary: Unlock an issue description: Users with push access can unlock an issue's conversation. @@ -114607,8 +114783,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -114635,10 +114809,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -114666,6 +114836,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -114987,7 +115159,7 @@ paths: category: repos subcategory: pages post: - summary: Create a GitHub Enterprise Server Pages site + summary: Create a GitHub Pages site description: Configures a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)." tags: @@ -115023,12 +115195,16 @@ paths: branch: type: string description: The repository branch used to publish your site's - source files. + source files. Can be either `master` or `gh-pages`. + enum: + - master + - gh-pages path: type: string - description: 'The repository directory that includes the source - files for the Pages site. Allowed paths are `/` or `/docs`. - Default: `/`' + description: The repository directory that includes the source + files for the Pages site. When `branch` is `master`, you can + change `path` to `/docs`. When `branch` is `gh-pages`, you + are unable to specify a `path` other than `/`. enum: - "/" - "/docs" @@ -115039,7 +115215,7 @@ paths: - source example: source: - branch: main + branch: master path: "/docs" responses: '201': @@ -115191,7 +115367,7 @@ paths: category: repos subcategory: pages put: - summary: Update information about a GitHub Enterprise Server Pages site + summary: Update information about a GitHub Pages site description: Updates information for a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). tags: @@ -115217,12 +115393,6 @@ paths: schema: type: object properties: - cname: - type: string - 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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)." - nullable: true source: anyOf: - type: string @@ -115252,13 +115422,16 @@ paths: required: - branch - path - required: - - source + type: string + description: Update the source for the repository. Must include + the branch name, and may optionally specify the subdirectory `/docs`. + Possible values are `"gh-pages"`, `"master"`, and `"master /docs"`. + enum: + - gh-pages + - master + - master /docs example: - cname: octocatblog.com - source: - branch: main - path: "/" + source: master /docs responses: '204': description: Empty response @@ -117114,9 +117287,8 @@ paths: summary: List pull requests description: Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository - billing plans, and in public and private repositories with GitHub Team and - GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) - in the GitHub Help documentation. + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/list @@ -118326,11 +118498,6 @@ paths: 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 @@ -118531,8 +118698,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -118552,32 +118717,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -118597,6 +118752,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -119166,11 +119323,6 @@ paths: 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 @@ -119371,8 +119523,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -119392,32 +119542,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -119437,6 +119577,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -119909,6 +120051,7 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos + parent: head: label: octocat:new-topic ref: new-topic @@ -120023,7 +120166,6 @@ paths: 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' @@ -120033,22 +120175,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -120163,7 +120294,6 @@ paths: 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' @@ -120173,22 +120303,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -120262,19 +120381,32 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: post: summary: Create a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - - You can create a new pull request. - - This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.19/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new + pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). + Creating content too quickly using this endpoint may result in abuse rate + limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)" + for details. tags: - pulls operationId: pulls/create @@ -121317,8 +121449,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -121374,6 +121504,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -121760,8 +121892,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -121828,6 +121958,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -122507,7 +122639,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -122534,7 +122665,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -122546,6 +122676,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -122640,7 +122771,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -122667,7 +122797,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -122679,6 +122808,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -122793,9 +122923,22 @@ paths: triggersNotification: true githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/comments": get: summary: List review comments in a repository @@ -123094,43 +123237,6 @@ paths: - self - html - pull_request - start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - original_start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - start_side: - type: string - description: The side of the first line of the range for a multi-line - comment. - enum: - - LEFT - - RIGHT - default: RIGHT - nullable: true - line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - original_line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - side: - description: The side of the diff to which the comment applies. - The side of the last line of the range for a multi-line comment - enum: - - LEFT - - RIGHT - default: RIGHT - type: string reactions: title: Reaction Rollup type: object @@ -123238,12 +123344,6 @@ paths: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT headers: Link: example: ; rel="next", ; @@ -123533,43 +123633,6 @@ paths: - self - html - pull_request - start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - original_start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - start_side: - type: string - description: The side of the first line of the range for a multi-line - comment. - enum: - - LEFT - - RIGHT - default: RIGHT - nullable: true - line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - original_line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - side: - description: The side of the diff to which the comment applies. - The side of the last line of the range for a multi-line comment - enum: - - LEFT - - RIGHT - default: RIGHT - type: string reactions: title: Reaction Rollup type: object @@ -123677,12 +123740,6 @@ paths: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT '404': description: Resource Not Found content: @@ -123989,43 +124046,6 @@ paths: - self - html - pull_request - start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - original_start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - start_side: - type: string - description: The side of the first line of the range for a multi-line - comment. - enum: - - LEFT - - RIGHT - default: RIGHT - nullable: true - line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - original_line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - side: - description: The side of the diff to which the comment applies. - The side of the last line of the range for a multi-line comment - enum: - - LEFT - - RIGHT - default: RIGHT - type: string reactions: title: Reaction Rollup type: object @@ -124133,12 +124153,6 @@ paths: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -125927,8 +125941,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -125984,6 +125996,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -126370,8 +126384,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -126438,6 +126450,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -127117,7 +127131,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -127144,7 +127157,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -127156,6 +127168,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -127250,7 +127263,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -127277,7 +127289,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -127289,6 +127300,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -127374,10 +127386,10 @@ paths: subcategory: patch: summary: Update a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/update @@ -128415,8 +128427,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -128472,6 +128482,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -128858,8 +128870,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -128926,6 +128936,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -129605,7 +129617,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -129632,7 +129643,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -129644,6 +129654,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -129738,7 +129749,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -129765,7 +129775,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -129777,6 +129786,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -129885,9 +129895,22 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/{pull_number}/comments": get: summary: List review comments on a pull request @@ -130191,43 +130214,6 @@ paths: - self - html - pull_request - start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - original_start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - start_side: - type: string - description: The side of the first line of the range for a multi-line - comment. - enum: - - LEFT - - RIGHT - default: RIGHT - nullable: true - line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - original_line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - side: - description: The side of the diff to which the comment applies. - The side of the last line of the range for a multi-line comment - enum: - - LEFT - - RIGHT - default: RIGHT - type: string reactions: title: Reaction Rollup type: object @@ -130335,12 +130321,6 @@ paths: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT headers: Link: example: ; rel="next", ; @@ -130835,43 +130815,6 @@ paths: - self - html - pull_request - start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - original_start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - start_side: - type: string - description: The side of the first line of the range for a multi-line - comment. - enum: - - LEFT - - RIGHT - default: RIGHT - nullable: true - line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - original_line: - description: The line of the blob to which the comment applies. - The last line of the range for a multi-line comment - example: 2 - type: integer - side: - description: The side of the diff to which the comment applies. - The side of the last line of the range for a multi-line comment - enum: - - LEFT - - RIGHT - default: RIGHT - type: string reactions: title: Reaction Rollup type: object @@ -130946,7 +130889,7 @@ paths: original_position: 4 commit_id: 6dcb09b5b57875f334f61aebed695e2e4193db5e original_commit_id: 9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840 - in_reply_to_id: 426899381 + in_reply_to_id: 8 user: login: octocat id: 1 @@ -130979,12 +130922,6 @@ paths: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT headers: Location: example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 @@ -132887,11 +132824,6 @@ paths: 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 @@ -133091,8 +133023,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -133112,31 +133042,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -133155,6 +133075,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -133723,11 +133645,6 @@ paths: 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 @@ -133927,8 +133844,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -133948,31 +133863,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -133991,6 +133896,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -134592,7 +134499,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -134612,7 +134518,6 @@ paths: 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' @@ -134621,10 +134526,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -134638,6 +134540,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -134732,7 +134635,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -134752,7 +134654,6 @@ paths: 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' @@ -134761,10 +134662,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -134778,6 +134676,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -143900,10 +143799,6 @@ paths: 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 @@ -144103,8 +143998,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -144124,31 +144017,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -144167,6 +144050,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -144314,7 +144199,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -144344,7 +144228,6 @@ paths: 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' @@ -144353,13 +144236,11 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -144937,10 +144818,6 @@ paths: 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 @@ -145140,8 +145017,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -145161,31 +145036,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -145204,6 +145069,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -145351,7 +145218,6 @@ paths: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -145374,7 +145240,6 @@ paths: 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' @@ -145390,6 +145255,9 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit + anonymous_access_enabled: false + template_repository: + anonymous_access_enabled: false headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -145744,8 +145612,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -145772,10 +145638,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -145803,6 +145665,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -146378,8 +146242,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -146406,10 +146268,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -146437,6 +146295,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -147277,8 +147137,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -147305,10 +147163,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -147336,6 +147190,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -148638,11 +148494,6 @@ paths: 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 @@ -148843,8 +148694,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -148864,32 +148713,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -148909,6 +148748,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -151592,8 +151433,6 @@ paths: pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... - pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -151679,8 +151518,6 @@ paths: pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... - pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 requestBody: content: application/json: @@ -151983,94 +151820,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -152084,6 +151946,30 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -152142,7 +152028,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -152165,7 +152050,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -152176,6 +152060,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -152347,94 +152232,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -152448,6 +152358,30 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -152506,7 +152440,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -152529,7 +152462,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -152540,6 +152472,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com requestBody: content: application/json: @@ -152647,20 +152580,15 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussions/#list-discussions parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true schema: type: integer - name: direction - description: One of `asc` (ascending) or `desc` (descending). + description: Sorts the discussion comments by the date they were created. + To return the oldest comments first, set to `asc`. Can be one of `asc` or + `desc`. in: query required: false schema: @@ -152966,15 +152894,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -152998,13 +152918,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussions/#create-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -153312,15 +153225,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -153343,13 +153248,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussions/#get-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -153636,15 +153534,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -153667,13 +153557,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussions/#update-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -153974,15 +153857,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -154004,13 +153879,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussions/#delete-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -154027,14 +153895,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` + previews: [] category: teams subcategory: discussions "/teams/{team_id}/discussions/{discussion_number}/comments": @@ -154049,13 +153910,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#list-discussion-comments parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -154067,7 +153921,9 @@ paths: schema: type: integer - name: direction - description: One of `asc` (ascending) or `desc` (descending). + description: Sorts the discussion comments by the date they were created. + To return the oldest comments first, set to `asc`. Can be one of `asc` or + `desc`. in: query required: false schema: @@ -154340,15 +154196,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -154372,13 +154220,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#create-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -154646,15 +154487,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -154677,13 +154510,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#get-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -154942,15 +154768,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -154972,13 +154790,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#update-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -155250,15 +155061,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -155280,13 +155083,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#delete-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -155308,14 +155104,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` + previews: [] category: teams subcategory: discussion-comments "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": @@ -155335,7 +155124,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - name: team_id in: path @@ -155550,15 +155339,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -155568,7 +155349,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: post: summary: Create reaction for a team discussion comment description: 'Create a reaction to a [team discussion comment](https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/). @@ -155587,7 +155367,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - name: team_id in: path @@ -155789,15 +155569,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -155807,7 +155579,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: "/teams/{team_id}/discussions/{discussion_number}/reactions": get: summary: List reactions for a team discussion @@ -155825,7 +155596,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - name: team_id in: path @@ -156035,15 +155806,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -156053,7 +155816,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: post: summary: Create reaction for a team discussion description: 'Create a reaction to a [team discussion](https://developer.github.com/enterprise/2.19/v3/teams/discussions/). @@ -156072,7 +155834,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - name: team_id in: path @@ -156269,15 +156031,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: false previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -156287,7 +156041,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: "/teams/{team_id}/members": get: summary: List team members @@ -157820,8 +157573,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -157848,10 +157599,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -157879,6 +157626,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -158019,7 +157768,6 @@ paths: 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' @@ -158027,11 +157775,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -158386,8 +158133,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -158414,10 +158159,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -158445,6 +158186,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -158814,10 +158557,6 @@ paths: disabled: type: boolean description: Returns whether or not this repository disabled. - visibility: - description: 'The repository visibility: public, private, or internal.' - type: string - example: public pushed_at: type: string format: date-time @@ -159235,11 +158974,6 @@ paths: 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 @@ -159439,8 +159173,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -159460,31 +159192,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -159503,6 +159225,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -159577,15 +159301,9 @@ paths: - watchers_count - created_at - updated_at - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true - delete_branch_on_merge: - type: boolean - example: false allow_merge_commit: type: boolean example: true @@ -160108,11 +159826,6 @@ paths: 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 @@ -160312,8 +160025,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -160333,31 +160044,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -160376,6 +160077,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -160837,11 +160540,6 @@ paths: 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 @@ -161041,8 +160739,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -161062,31 +160758,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -161105,6 +160791,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -161870,10 +161558,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -162045,9 +161729,6 @@ paths: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -162159,7 +161840,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -162205,7 +161885,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -162396,10 +162075,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -162528,7 +162203,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -164460,6 +164134,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: per_page description: Results per page (max 100) in: query @@ -164958,7 +164639,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/installations/{installation_id}/repositories": @@ -164979,6 +164666,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -165399,11 +165093,6 @@ paths: 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 @@ -165603,8 +165292,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -165624,31 +165311,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -165667,6 +165344,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -165836,7 +165515,6 @@ paths: 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' @@ -165846,22 +165524,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -165900,6 +165567,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: false previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -165968,7 +165641,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations delete: @@ -166029,7 +165708,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/issues": @@ -167199,11 +166884,6 @@ paths: 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 @@ -167403,8 +167083,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -167424,31 +167102,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -167467,6 +167135,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -168014,7 +167684,6 @@ paths: 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' @@ -168024,23 +167693,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -168067,17 +167724,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/user/keys": get: summary: List public SSH keys for the authenticated user @@ -170613,11 +170267,6 @@ paths: 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 @@ -170817,8 +170466,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -170838,31 +170485,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -170881,6 +170518,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -171049,7 +170688,6 @@ paths: 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' @@ -171059,22 +170697,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false '418': description: Response definition missing '422': @@ -171652,10 +171279,6 @@ paths: 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 @@ -171855,8 +171478,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -171876,31 +171497,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -171919,6 +171530,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -172066,7 +171679,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -172096,7 +171708,6 @@ paths: 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' @@ -172105,13 +171716,11 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -172596,8 +172205,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -172624,10 +172231,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -172655,6 +172258,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -173658,11 +173263,6 @@ paths: 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 @@ -173862,8 +173462,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -173883,31 +173481,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -173926,6 +173514,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -174094,7 +173684,6 @@ paths: 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' @@ -174104,22 +173693,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false application/vnd.github.v3.star+json: schema: type: array @@ -174518,11 +174096,6 @@ paths: 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 @@ -174722,8 +174295,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -174743,31 +174314,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -174786,6 +174347,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -174959,7 +174522,6 @@ paths: 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' @@ -174969,22 +174531,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -175562,8 +175113,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -175590,10 +175139,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -175621,6 +175166,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -175761,7 +175308,6 @@ paths: 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' @@ -175769,11 +175315,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -175988,94 +175533,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -176089,6 +175659,30 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -176170,7 +175764,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -176179,8 +175772,8 @@ paths: following: 0 html_url: https://github.com/octocat created_at: '2008-01-14T04:33:35Z' - updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com headers: Link: example: ; rel="next", ; @@ -176504,10 +176097,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -176679,9 +176268,6 @@ paths: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -177946,11 +177532,6 @@ paths: 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 @@ -178151,8 +177732,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -178172,32 +177751,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -178217,6 +177786,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -180023,11 +179594,6 @@ paths: 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 @@ -180228,8 +179794,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -180249,32 +179813,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -180294,6 +179848,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -182094,11 +181650,6 @@ paths: 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 @@ -182299,8 +181850,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -182320,32 +181869,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -182365,6 +181904,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -184177,6 +183718,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#get-a-user-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: username in: path required: true @@ -184572,9 +184120,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/users/{username}/keys": get: summary: List public keys for a user @@ -186195,11 +185748,6 @@ paths: 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 @@ -186400,8 +185948,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -186421,32 +185967,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -186466,6 +186002,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -188266,11 +187804,6 @@ paths: 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 @@ -188471,8 +188004,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -188492,32 +188023,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -188537,6 +188058,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -189614,8 +189137,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -189642,10 +189163,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -189673,6 +189190,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -189813,7 +189332,6 @@ paths: 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' @@ -189821,11 +189339,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -190349,11 +189866,6 @@ paths: 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 @@ -190553,8 +190065,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -190574,31 +190084,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -190617,6 +190117,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -190785,7 +190287,6 @@ paths: 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' @@ -190795,22 +190296,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false application/vnd.github.v3.star+json: schema: type: array @@ -191209,11 +190699,6 @@ paths: 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 @@ -191413,8 +190898,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -191434,31 +190917,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -191477,6 +190950,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -191650,7 +191125,6 @@ paths: 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' @@ -191660,22 +191134,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -192018,8 +191481,6 @@ paths: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -192046,10 +191507,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -192077,6 +191534,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -192217,7 +191676,6 @@ paths: 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' @@ -192225,11 +191683,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License diff --git a/descriptions/ghes-2.19/ghes-2.19.json b/descriptions/ghes-2.19/ghes-2.19.json index acf25309b6..273fbb02d8 100644 --- a/descriptions/ghes-2.19/ghes-2.19.json +++ b/descriptions/ghes-2.19/ghes-2.19.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -1413,7 +1413,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/pre-receive-environment" + "$ref": "#/components/examples/pre-receive-environment-2" } } } @@ -2237,7 +2237,7 @@ }, "email": { "type": "string", - "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.18/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.19/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." } }, "required": [ @@ -2496,10 +2496,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -2601,21 +2604,20 @@ }, "parameters": [ { - "$ref": "#/components/parameters/per_page" - }, - { - "$ref": "#/components/parameters/page" + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true }, { - "$ref": "#/components/parameters/since" + "$ref": "#/components/parameters/per_page" }, { - "name": "outdated", - "in": "query", - "required": false, - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/page" } ], "responses": { @@ -2647,10 +2649,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -2667,6 +2672,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#get-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" } @@ -2698,15 +2713,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://developer.github.com/enterprise/2.19/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -2716,6 +2734,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#delete-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" } @@ -2732,10 +2760,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "gambit", + "note": "Uninstalling GitHub Apps and revoking an app's installation token are currently available for developers to preview. To access the new endpoint during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.gambit-preview+json\n```" + }, + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -2752,6 +2788,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#create-an-installation-access-token-for-an-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" } @@ -2848,10 +2894,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -3237,10 +3286,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -5693,6 +5745,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/installations/#list-repositories-accessible-to-the-app-installation" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/per_page" }, @@ -5750,6 +5812,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -5909,12 +5976,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -7524,6 +7590,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#get-an-organization-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/org" } @@ -7549,10 +7625,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -7569,6 +7648,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/orgs/#list-app-installations-for-an-organization" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/org" }, @@ -7616,10 +7705,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "orgs", - "subcategory": null + "category": "orgs" } } }, @@ -7736,12 +7828,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -11059,7 +11150,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -11077,18 +11168,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } } }, @@ -17373,6 +17457,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "ant-man", @@ -17654,6 +17743,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "flash", @@ -19515,6 +19609,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#get-a-repository-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/owner" }, @@ -19549,10 +19653,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -19869,12 +19976,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "post": { @@ -20166,8 +20272,8 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -20546,6 +20652,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -20615,6 +20726,16 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + }, + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -21221,6 +21342,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -21636,10 +21762,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "delete": { @@ -23406,7 +23535,7 @@ } }, "post": { - "summary": "Create a GitHub Enterprise Server Pages site", + "summary": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"", "tags": [ "repos" @@ -23437,11 +23566,15 @@ "properties": { "branch": { "type": "string", - "description": "The repository branch used to publish your site's source files." + "description": "The repository branch used to publish your site's source files. Can be either `master` or `gh-pages`.", + "enum": [ + "master", + "gh-pages" + ] }, "path": { "type": "string", - "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`", + "description": "The repository directory that includes the source files for the Pages site. When `branch` is `master`, you can change `path` to `/docs`. When `branch` is `gh-pages`, you are unable to specify a `path` other than `/`.", "enum": [ "/", "/docs" @@ -23460,7 +23593,7 @@ }, "example": { "source": { - "branch": "main", + "branch": "master", "path": "/docs" } } @@ -23508,7 +23641,7 @@ } }, "put": { - "summary": "Update information about a GitHub Enterprise Server Pages site", + "summary": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).", "tags": [ "repos" @@ -23532,11 +23665,6 @@ "schema": { "type": "object", "properties": { - "cname": { - "type": "string", - "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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/).\"", - "nullable": true - }, "source": { "anyOf": [ { @@ -23570,19 +23698,19 @@ "path" ] } + ], + "type": "string", + "description": "Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `\"gh-pages\"`, `\"master\"`, and `\"master /docs\"`.", + "enum": [ + "gh-pages", + "master", + "master /docs" ] } - }, - "required": [ - "source" - ] + } }, "example": { - "cname": "octocatblog.com", - "source": { - "branch": "main", - "path": "/" - } + "source": "master /docs" } } } @@ -24298,7 +24426,7 @@ "/repos/{owner}/{repo}/pulls": { "get": { "summary": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -24418,15 +24546,23 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } }, "post": { "summary": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.19/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)\" for details.", "tags": [ "pulls" ], @@ -24528,10 +24664,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -25062,7 +25206,7 @@ }, "patch": { "summary": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -25150,10 +25294,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -29858,7 +30010,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/ssh-key-items" + "$ref": "#/components/examples/ssh-key-items-2" } } } @@ -29958,7 +30110,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/ssh-key-items" + "$ref": "#/components/examples/ssh-key-items-2" } } } @@ -30345,21 +30497,22 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussions/#list-discussions" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, { - "$ref": "#/components/parameters/direction" + "name": "direction", + "description": "Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } }, { "$ref": "#/components/parameters/per-page" @@ -30398,12 +30551,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -30424,16 +30571,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussions/#create-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" } @@ -30493,12 +30630,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -30521,16 +30652,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussions/#get-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -30560,12 +30681,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -30586,16 +30701,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussions/#update-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -30647,12 +30752,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -30673,16 +30772,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussions/#delete-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -30699,11 +30788,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - } + ], "category": "teams", "subcategory": "discussions" @@ -30723,16 +30808,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#list-discussion-comments" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -30740,7 +30815,18 @@ "$ref": "#/components/parameters/discussion-number" }, { - "$ref": "#/components/parameters/direction" + "name": "direction", + "description": "Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } }, { "$ref": "#/components/parameters/per-page" @@ -30779,12 +30865,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -30805,16 +30885,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#create-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -30866,12 +30936,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -30894,16 +30958,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#get-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -30936,12 +30990,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -30962,16 +31010,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#update-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -31025,12 +31063,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -31051,16 +31083,6 @@ "url": "https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#delete-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -31080,11 +31102,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - } + ], "category": "teams", "subcategory": "discussion-comments" @@ -31110,7 +31128,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -31179,18 +31197,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } }, "post": { @@ -31211,7 +31222,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -31278,18 +31289,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } } }, @@ -31312,7 +31316,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -31378,18 +31382,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } }, "post": { @@ -31410,7 +31407,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -31474,18 +31471,11 @@ "enabledForGitHubApps": false, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } } }, @@ -33491,6 +33481,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/per_page" }, @@ -33547,7 +33547,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -33567,6 +33571,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" }, @@ -33626,6 +33640,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -33675,7 +33694,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -33718,7 +33741,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -33838,12 +33865,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -36008,6 +36034,16 @@ "url": "https://developer.github.com/enterprise/2.19/v3/apps/#get-a-user-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/username" } @@ -36033,10 +36069,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -36866,15 +36905,6 @@ "default": 30 } }, - "since": { - "name": "since", - "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, "installation_id": { "name": "installation_id", "description": "installation_id parameter", @@ -36926,6 +36956,15 @@ "type": "integer" } }, + "since": { + "name": "since", + "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, "gist_id": { "name": "gist_id", "description": "gist_id parameter", @@ -38776,11 +38815,6 @@ "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", @@ -39072,9 +39106,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string" }, @@ -39104,15 +39135,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -39121,24 +39146,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -39163,6 +39182,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -40397,23 +40419,6 @@ "created_at" ] }, - "link-with-type": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, "feed": { "title": "Feed", "description": "Feed", @@ -40453,45 +40458,97 @@ "format": "uri" } }, - "security_advisories_url": { - "type": "string", - "example": "https://github.com/security-advisories" - }, "_links": { - "type": "object", - "properties": { - "timeline": { - "$ref": "#/components/schemas/link-with-type" - }, - "user": { - "$ref": "#/components/schemas/link-with-type" - }, - "security_advisories": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_public": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_actor": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organization": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/link-with-type" - } - } - }, + "type": "array", "required": [ "timeline", "user" - ] + ], + "items": { + "type": "object", + "properties": { + "timeline": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_public": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_actor": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_organization": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + } + } } }, "required": [ @@ -41446,79 +41503,6 @@ "type": "boolean", "example": true }, - "ssh_key_fingerprints": { - "type": "object", - "properties": { - "MD5_RSA": { - "type": "string" - }, - "MD5_DSA": { - "type": "string" - }, - "SHA256_RSA": { - "type": "string" - }, - "SHA256_DSA": { - "type": "string" - } - } - }, - "hooks": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "web": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "api": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "git": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "pages": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "192.30.252.153/32", - "192.30.252.154/32" - ] - }, - "importer": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "54.158.161.132", - "54.226.70.38" - ] - }, "github_services_sha": { "type": "string", "example": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" @@ -41810,9 +41794,6 @@ "disabled": { "type": "boolean" }, - "visibility": { - "type": "string" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -41848,12 +41829,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -41892,6 +41867,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -42118,15 +42096,6 @@ "format": "email", "example": "octocat@github.com" }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, "has_organization_projects": { "type": "boolean", "example": true @@ -42237,18 +42206,6 @@ "type": "string", "example": "all" }, - "members_can_create_public_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_private_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "example": true - }, "members_can_create_pages": { "type": "boolean", "example": true @@ -42712,166 +42669,6 @@ "slug" ] }, - "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", - "type": "object", - "properties": { - "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "events_url": { - "type": "string", - "format": "uri" - }, - "hooks_url": { - "type": "string" - }, - "issues_url": { - "type": "string" - }, - "members_url": { - "type": "string" - }, - "public_members_url": { - "type": "string" - }, - "avatar_url": { - "type": "string" - }, - "description": { - "type": "string", - "nullable": true - }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" - }, - "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" - }, - "email": { - "description": "Display email for the organization", - "example": "org@example.com", - "type": "string", - "format": "email" - }, - "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" - }, - "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" - }, - "public_repos": { - "type": "integer" - }, - "public_gists": { - "type": "integer" - }, - "followers": { - "type": "integer" - }, - "following": { - "type": "integer" - }, - "type": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "plan": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" - }, - "filled_seats": { - "type": "integer" - }, - "seats": { - "type": "integer" - } - } - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at" - ] - }, "team-full": { "title": "Full Team", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -42961,7 +42758,7 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "$ref": "#/components/schemas/organization" + "$ref": "#/components/schemas/organization-full" }, "ldap_dn": { "description": "Distinguished Name (DN) that team maps to within LDAP environment", @@ -43507,11 +43304,6 @@ "type": "boolean", "description": "Returns whether or not this repository disabled." }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "type": "string", - "example": "public" - }, "pushed_at": { "type": "string", "format": "date-time", @@ -43558,18 +43350,10 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true }, - "delete_branch_on_merge": { - "type": "boolean", - "example": false - }, "allow_merge_commit": { "type": "boolean", "example": true @@ -44048,6 +43832,231 @@ } } } + }, + "restrictions": { + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "users_url": { + "type": "string" + }, + "teams_url": { + "type": "string" + }, + "apps_url": { + "type": "string" + }, + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "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" + } + } + } + }, + "teams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string" + }, + "privacy": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string" + }, + "parent": { + "nullable": true + } + } + } + }, + "apps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "slug": { + "type": "string" + }, + "node_id": { + "type": "string" + }, + "owner": { + "type": "object", + "properties": { + "login": { + "type": "string" + }, + "id": { + "type": "number" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "repos_url": { + "type": "string" + }, + "events_url": { + "type": "string" + }, + "hooks_url": { + "type": "string" + }, + "issues_url": { + "type": "string" + }, + "members_url": { + "type": "string" + }, + "public_members_url": { + "type": "string" + }, + "avatar_url": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "external_url": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "issues": { + "type": "string" + }, + "single_file": { + "type": "string" + } + } + }, + "events": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "type": "array" } }, "required": [ @@ -44101,30 +44110,6 @@ "restrictions": { "$ref": "#/components/schemas/branch-restriction-policy" }, - "required_linear_history": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_force_pushes": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, - "allow_deletions": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - } - } - }, "enabled": { "type": "boolean" }, @@ -48876,9 +48861,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -48955,6 +48937,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -49462,9 +49447,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -49518,6 +49500,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -49988,47 +49973,6 @@ "pull_request" ] }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": [ - "LEFT", - "RIGHT" - ], - "default": "RIGHT", - "type": "string" - }, "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, @@ -53222,11 +53166,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -53449,10 +53388,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -54045,6 +53980,24 @@ } } }, + "pre-receive-environment-2": { + "value": { + "id": 2, + "name": "DevTools Hook Env", + "image_url": "https://my_file_server/path/to/devtools_env.tar.gz", + "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2", + "html_url": "https://github.example.com/admin/pre-receive-environments/2", + "default_environment": false, + "created_at": "2016-05-20T11:35:45-05:00", + "hooks_count": 1, + "download": { + "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", + "state": "success", + "downloaded_at": "2016-05-26T07:42:53-05:00", + "message": null + } + } + }, "pre-receive-environment-default-response": { "value": { "id": 2, @@ -54177,24 +54130,36 @@ "authorization-items": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] }, @@ -54239,7 +54204,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } }, "integration": { @@ -54527,7 +54492,6 @@ "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", @@ -54538,23 +54502,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -54834,43 +54786,40 @@ "current_user_organization_urls": [ "https://github.com/organizations/github/octocat.private.atom?token=abc123" ], - "security_advisories_url": "https://github.com/security-advisories", - "_links": { - "timeline": { - "href": "https://github.com/timeline", - "type": "application/atom+xml" - }, - "user": { - "href": "https://github.com/{user}", - "type": "application/atom+xml" - }, - "current_user_public": { - "href": "https://github.com/octocat", - "type": "application/atom+xml" - }, - "current_user": { - "href": "https://github.com/octocat.private?token=abc123", - "type": "application/atom+xml" - }, - "current_user_actor": { - "href": "https://github.com/octocat.private.actor?token=abc123", - "type": "application/atom+xml" - }, - "current_user_organization": { - "href": "", - "type": "" - }, - "current_user_organizations": [ - { - "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "_links": [ + { + "timeline": { + "href": "https://github.com/timeline", "type": "application/atom+xml" - } - ], - "security_advisories": { - "href": "https://github.com/security-advisories", - "type": "application/atom+xml" + }, + "user": { + "href": "https://github.com/{user}", + "type": "application/atom+xml" + }, + "current_user_public": { + "href": "https://github.com/octocat", + "type": "application/atom+xml" + }, + "current_user": { + "href": "https://github.com/octocat.private?token=abc123", + "type": "application/atom+xml" + }, + "current_user_actor": { + "href": "https://github.com/octocat.private.actor?token=abc123", + "type": "application/atom+xml" + }, + "current_user_organization": { + "href": "", + "type": "" + }, + "current_user_organizations": [ + { + "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "type": "application/atom+xml" + } + ] } - } + ] } }, "base-gist-items": { @@ -55235,29 +55184,16 @@ "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", "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -55492,7 +55428,6 @@ "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", @@ -55503,25 +55438,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] }, @@ -55608,34 +55530,8 @@ "api-overview": { "value": { "verifiable_password_authentication": true, - "ssh_key_fingerprints": { - "MD5_RSA": "16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48", - "MD5_DSA": "ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c", - "SHA256_RSA": "nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", - "SHA256_DSA": "br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ" - }, - "hooks": [ - "192.30.252.0/22" - ], - "web": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "api": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "git": [ - "192.30.252.0/22" - ], - "pages": [ - "192.30.252.153/32", - "192.30.252.154/32" - ], - "importer": [ - "54.158.161.132", - "54.226.70.38" - ] + "installed_version": "2.19.0", + "github_services_sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" } }, "thread-items": { @@ -55951,8 +55847,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -55977,9 +55871,6 @@ "members_can_create_repositories": true, "two_factor_requirement_enabled": true, "members_allowed_repository_creation_type": "all", - "members_can_create_public_repositories": false, - "members_can_create_private_repositories": false, - "members_can_create_internal_repositories": false, "members_can_create_pages": true, "updated_at": "2014-03-03T18:58:10Z" } @@ -56578,7 +56469,6 @@ "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", @@ -56587,11 +56477,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -56675,7 +56564,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -56707,7 +56595,6 @@ "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", @@ -56717,13 +56604,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } }, "team-items": { @@ -56757,7 +56642,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -56780,7 +56664,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -56791,7 +56674,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } }, "project-card": { @@ -57061,7 +56945,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -57085,7 +56968,6 @@ "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", @@ -57095,10 +56977,7 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -57201,7 +57080,6 @@ "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, @@ -57222,7 +57100,6 @@ "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", @@ -57232,10 +57109,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -57249,7 +57123,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -57323,7 +57198,6 @@ "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, @@ -57344,7 +57218,6 @@ "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", @@ -57354,10 +57227,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -57371,8 +57241,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } }, "full-repository-response-with-scarlet-witch-preview-media-type": { @@ -57562,7 +57434,6 @@ "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" }, - "language": null, "forks_count": 9, "forks": 9, "stargazers_count": 80, @@ -57586,7 +57457,6 @@ "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", @@ -57596,10 +57466,7 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -57695,7 +57562,6 @@ "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, @@ -57716,7 +57582,6 @@ "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", @@ -57726,10 +57591,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -57743,7 +57605,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -57817,7 +57680,6 @@ "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, @@ -57838,7 +57700,6 @@ "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", @@ -57848,10 +57709,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -57865,8 +57723,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } }, "short-branch-items": { @@ -58072,96 +57932,89 @@ "require_code_owner_reviews": true, "required_approving_review_count": 2 }, - "restrictions": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", - "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", - "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", - "users": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://api.github.com/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ], - "apps": [ - { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", + "restrictions": [ + { + "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", + "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", + "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", + "users": [ + { + "login": "octocat", "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "node_id": "MDQ6VXNlcjE=", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": [ - "push", - "pull_request" - ] - } - ] - }, - "required_linear_history": { - "enabled": true - }, - "allow_force_pushes": { - "enabled": true - }, - "allow_deletions": { - "enabled": true - } + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ], + "teams": [ + { + "id": 1, + "node_id": "MDQ6VGVhbTE=", + "url": "https://api.github.com/teams/1", + "html_url": "https://api.github.com/teams/justice-league", + "name": "Justice League", + "slug": "justice-league", + "description": "A great team.", + "privacy": "closed", + "permission": "admin", + "members_url": "https://api.github.com/teams/1/members{/member}", + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null + } + ], + "apps": [ + { + "id": 1, + "slug": "octoapp", + "node_id": "MDExOkludGVncmF0aW9uMQ==", + "owner": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + }, + "name": "Octocat App", + "description": "", + "external_url": "https://example.com", + "html_url": "https://github.com/apps/octoapp", + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00", + "permissions": { + "metadata": "read", + "contents": "read", + "issues": "write", + "single_file": "write" + }, + "events": [ + "push", + "pull_request" + ] + } + ] + } + ] } }, "protected-branch-admin-enforced-2": { @@ -58789,7 +58642,6 @@ "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, @@ -58810,7 +58662,6 @@ "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", @@ -58819,10 +58670,9 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false }, "head_commit": { "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", @@ -58928,7 +58778,6 @@ "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, @@ -58949,7 +58798,6 @@ "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", @@ -58959,10 +58807,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -58976,7 +58821,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } } }, @@ -59652,7 +59498,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -59772,7 +59619,6 @@ "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", @@ -59783,23 +59629,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "base": { @@ -59919,7 +59753,6 @@ "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", @@ -59930,23 +59763,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "_links": { @@ -60105,18 +59926,12 @@ "url": "https://api.github.com/orgs/github", "repos_url": "https://api.github.com/orgs/github/repos", "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true + "description": "A great organization" }, "name": "Octocat App", "description": "", @@ -60228,7 +60043,6 @@ "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", @@ -60237,29 +60051,14 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "allow_rebase_merge": true, + "template_repository": null, + "allow_squash_merge": true, + "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 - }, - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "head_commit": { - "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "tree_id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", - "timestamp": "2016-10-10T00:00:00Z", - "author": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - }, - "committer": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - } - }, - "latest_check_runs_count": 1, - "check_runs_url": "https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs" + "network_count": 0, + "anonymous_access_enabled": false + } } ] } @@ -61285,7 +61084,6 @@ "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", @@ -61294,10 +61092,10 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -63368,7 +63166,6 @@ "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, @@ -63397,7 +63194,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -63409,7 +63205,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -63508,7 +63305,6 @@ "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, @@ -63537,7 +63333,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -63549,7 +63344,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -63663,13 +63459,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } ] }, @@ -63722,13 +63512,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } }, "legacy-review-comment": { @@ -63795,7 +63579,7 @@ "original_position": 4, "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "in_reply_to_id": 426899381, + "in_reply_to_id": 8, "user": { "login": "octocat", "id": 1, @@ -63832,13 +63616,7 @@ "pull_request": { "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" + } } }, "diff-entry-items": { @@ -64234,7 +64012,6 @@ "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, @@ -64255,7 +64032,6 @@ "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", @@ -64265,10 +64041,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -64282,7 +64055,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "base": { @@ -64381,7 +64155,6 @@ "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, @@ -64402,7 +64175,6 @@ "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", @@ -64412,10 +64184,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -64429,7 +64198,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "_links": { @@ -65403,7 +65173,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -65427,7 +65196,6 @@ "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", @@ -65444,6 +65212,10 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" + }, + "anonymous_access_enabled": false, + "template_repository": { + "anonymous_access_enabled": false } } }, @@ -66284,6 +66056,18 @@ ] } }, + "ssh-key-items-2": { + "value": [ + { + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", + "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" + }, + { + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", + "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" + } + ] + }, "ssh-key-items": { "value": [ { @@ -67037,7 +66821,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -67086,7 +66869,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -67122,7 +66904,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -67449,7 +67230,6 @@ "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", @@ -67460,23 +67240,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -67817,7 +67585,6 @@ "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", @@ -67828,23 +67595,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] }, @@ -67946,7 +67701,6 @@ "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", @@ -67957,23 +67711,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } } ] @@ -68015,7 +67757,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -68024,9 +67765,9 @@ "following": 0, "html_url": "https://github.com/octocat", "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } ] }, diff --git a/descriptions/ghes-2.19/ghes-2.19.yaml b/descriptions/ghes-2.19/ghes-2.19.yaml index 45cbde0d62..e9eaa898bc 100644 --- a/descriptions/ghes-2.19/ghes-2.19.yaml +++ b/descriptions/ghes-2.19/ghes-2.19.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.0.0-rc.1 + version: 1.0.0-rc.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -1004,7 +1004,7 @@ paths: "$ref": "#/components/schemas/pre-receive-environment" examples: default: - "$ref": "#/components/examples/pre-receive-environment" + "$ref": "#/components/examples/pre-receive-environment-2" x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -1634,7 +1634,7 @@ paths: description: "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, - see the the [GitHub authentication guide](https://help.github.com/enterprise/2.18/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + see the the [GitHub authentication guide](https://help.github.com/enterprise/2.19/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." required: - login example: @@ -1801,9 +1801,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app-manifests/{code}/conversions": post: summary: Create a GitHub App from a manifest @@ -1874,14 +1879,15 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#list-installations-for-the-authenticated-app parameters: - - "$ref": "#/components/parameters/per_page" - - "$ref": "#/components/parameters/page" - - "$ref": "#/components/parameters/since" - - name: outdated - in: query - required: false + - name: accept + description: This API is under preview and subject to change. + in: header schema: type: string + default: application/vnd.github.machine-man-preview+json + required: true + - "$ref": "#/components/parameters/per_page" + - "$ref": "#/components/parameters/page" responses: '200': description: The permissions the installation has are included under the @@ -1901,9 +1907,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}": get: summary: Get an installation for the authenticated app @@ -1918,6 +1929,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#get-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" responses: '200': @@ -1936,15 +1954,19 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: delete: summary: Delete an installation for the authenticated app - description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://developer.github.com/enterprise/2.19/v3/apps/#suspend-an-app-installation)" endpoint. - - You must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + description: Uninstalls a GitHub App on a user, organization, or business account. + You must use a [JWT](https://developer.github.com/enterprise/2.19/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) + to access this endpoint. tags: - apps operationId: apps/delete-installation @@ -1952,6 +1974,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#delete-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" responses: '204': @@ -1961,9 +1990,21 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: gambit + note: |- + Uninstalling GitHub Apps and revoking an app's installation token are currently available for developers to preview. To access the new endpoint during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.gambit-preview+json + ``` + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}/access_tokens": post: summary: Create an installation access token for an app @@ -1978,6 +2019,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#create-an-installation-access-token-for-an-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" requestBody: content: @@ -2042,9 +2090,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/applications/grants": get: summary: List your grants @@ -2320,9 +2373,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/authorizations": get: summary: List your authorizations @@ -4022,6 +4080,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/installations/#list-repositories-accessible-to-the-app-installation parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" responses: @@ -4057,6 +4122,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -4179,17 +4250,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/licenses": get: summary: Get all commonly used licenses @@ -5340,6 +5408,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#get-an-organization-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/org" responses: '200': @@ -5354,9 +5429,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/orgs/{org}/installations": get: summary: List app installations for an organization @@ -5370,6 +5450,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/orgs/#list-app-installations-for-an-organization parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" @@ -5396,9 +5483,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: orgs - subcategory: "/orgs/{org}/issues": get: summary: List organization issues assigned to the authenticated user @@ -5485,17 +5577,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/orgs/{org}/members": get: summary: List organization members @@ -7899,7 +7988,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - "$ref": "#/components/parameters/reaction-id" responses: @@ -7909,15 +7998,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -7927,7 +8008,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: "/repos/{owner}/{repo}": get: summary: Get a repository @@ -12679,6 +12759,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: ant-man note: |- @@ -12926,6 +13014,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: flash note: |- @@ -14338,6 +14434,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#get-a-repository-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" responses: @@ -14357,9 +14460,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -14568,17 +14676,14 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: post: summary: Create an issue description: |- @@ -14778,15 +14883,13 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: comments patch: @@ -15044,6 +15147,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/events/{event_id}": @@ -15093,6 +15203,21 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}": @@ -15514,6 +15639,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}/labels": @@ -15778,9 +15910,15 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues - subcategory: delete: summary: Unlock an issue description: Users with push access can unlock an issue's conversation. @@ -16932,7 +17070,7 @@ paths: category: repos subcategory: pages post: - summary: Create a GitHub Enterprise Server Pages site + summary: Create a GitHub Pages site description: Configures a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)." tags: @@ -16960,12 +17098,16 @@ paths: branch: type: string description: The repository branch used to publish your site's - source files. + source files. Can be either `master` or `gh-pages`. + enum: + - master + - gh-pages path: type: string - description: 'The repository directory that includes the source - files for the Pages site. Allowed paths are `/` or `/docs`. - Default: `/`' + description: The repository directory that includes the source + files for the Pages site. When `branch` is `master`, you can + change `path` to `/docs`. When `branch` is `gh-pages`, you + are unable to specify a `path` other than `/`. enum: - "/" - "/docs" @@ -16976,7 +17118,7 @@ paths: - source example: source: - branch: main + branch: master path: "/docs" responses: '201': @@ -17008,7 +17150,7 @@ paths: category: repos subcategory: pages put: - summary: Update information about a GitHub Enterprise Server Pages site + summary: Update information about a GitHub Pages site description: Updates information for a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). tags: @@ -17026,12 +17168,6 @@ paths: schema: type: object properties: - cname: - type: string - 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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)." - nullable: true source: anyOf: - type: string @@ -17061,13 +17197,16 @@ paths: required: - branch - path - required: - - source + type: string + description: Update the source for the repository. Must include + the branch name, and may optionally specify the subdirectory `/docs`. + Possible values are `"gh-pages"`, `"master"`, and `"master /docs"`. + enum: + - gh-pages + - master + - master /docs example: - cname: octocatblog.com - source: - branch: main - path: "/" + source: master /docs responses: '204': description: Empty response @@ -17563,9 +17702,8 @@ paths: summary: List pull requests description: Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository - billing plans, and in public and private repositories with GitHub Team and - GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) - in the GitHub Help documentation. + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/list @@ -17648,19 +17786,32 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: post: summary: Create a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - - You can create a new pull request. - - This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.19/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new + pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). + Creating content too quickly using this endpoint may result in abuse rate + limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.19/v3/#abuse-rate-limits)" + for details. tags: - pulls operationId: pulls/create @@ -17736,9 +17887,22 @@ paths: triggersNotification: true githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/comments": get: summary: List review comments in a repository @@ -18184,10 +18348,10 @@ paths: subcategory: patch: summary: Update a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/update @@ -18248,9 +18412,22 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/{pull_number}/comments": get: summary: List review comments on a pull request @@ -21562,7 +21739,7 @@ paths: "$ref": "#/components/schemas/ssh-key" examples: default: - "$ref": "#/components/examples/ssh-key-items" + "$ref": "#/components/examples/ssh-key-items-2" x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21627,7 +21804,7 @@ paths: "$ref": "#/components/schemas/ssh-key" examples: default: - "$ref": "#/components/examples/ssh-key-items" + "$ref": "#/components/examples/ssh-key-items-2" requestBody: content: application/json: @@ -21936,15 +22113,19 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussions/#list-discussions parameters: - - name: accept - description: This API is under preview and subject to change. - in: header + - "$ref": "#/components/parameters/team-id" + - name: direction + description: Sorts the discussion comments by the date they were created. + To return the oldest comments first, set to `asc`. Can be one of `asc` or + `desc`. + in: query + required: false schema: type: string - default: application/vnd.github.echo-preview+json - required: true - - "$ref": "#/components/parameters/team-id" - - "$ref": "#/components/parameters/direction" + enum: + - asc + - desc + default: desc - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" responses: @@ -21966,15 +22147,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -21998,13 +22171,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussions/#create-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" responses: '201': @@ -22046,15 +22212,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22077,13 +22235,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussions/#get-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" responses: @@ -22100,15 +22251,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22131,13 +22274,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussions/#update-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" responses: @@ -22168,15 +22304,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22198,13 +22326,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussions/#delete-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" responses: @@ -22213,14 +22334,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` + previews: [] category: teams subcategory: discussions "/teams/{team_id}/discussions/{discussion_number}/comments": @@ -22235,16 +22349,20 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#list-discussion-comments parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/direction" + - name: direction + description: Sorts the discussion comments by the date they were created. + To return the oldest comments first, set to `asc`. Can be one of `asc` or + `desc`. + in: query + required: false + schema: + type: string + enum: + - asc + - desc + default: desc - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" responses: @@ -22266,15 +22384,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22298,13 +22408,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#create-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" responses: @@ -22335,15 +22438,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22366,13 +22461,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#get-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" - "$ref": "#/components/parameters/comment-number" @@ -22390,15 +22478,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22420,13 +22500,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#update-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" - "$ref": "#/components/parameters/comment-number" @@ -22457,15 +22530,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22487,13 +22552,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/#delete-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" - "$ref": "#/components/parameters/comment-number" @@ -22503,14 +22561,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` + previews: [] category: teams subcategory: discussion-comments "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": @@ -22530,7 +22581,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" @@ -22572,15 +22623,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22590,7 +22633,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: post: summary: Create reaction for a team discussion comment description: 'Create a reaction to a [team discussion comment](https://developer.github.com/enterprise/2.19/v3/teams/discussion_comments/). @@ -22609,7 +22651,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" @@ -22651,15 +22693,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22669,7 +22703,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: "/teams/{team_id}/discussions/{discussion_number}/reactions": get: summary: List reactions for a team discussion @@ -22687,7 +22720,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" @@ -22728,15 +22761,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22746,7 +22771,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: post: summary: Create reaction for a team discussion description: 'Create a reaction to a [team discussion](https://developer.github.com/enterprise/2.19/v3/teams/discussions/). @@ -22765,7 +22789,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" @@ -22806,15 +22830,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: false previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22824,7 +22840,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: "/teams/{team_id}/members": get: summary: List team members @@ -24260,6 +24275,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" responses: @@ -24294,7 +24316,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/installations/{installation_id}/repositories": @@ -24315,6 +24343,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" @@ -24351,6 +24386,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: false previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -24388,7 +24429,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations delete: @@ -24418,7 +24465,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/issues": @@ -24508,17 +24561,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.19/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/user/keys": get: summary: List public SSH keys for the authenticated user @@ -25978,6 +26028,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.19/v3/apps/#get-a-user-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/username" responses: '200': @@ -25992,9 +26049,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.19/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/users/{username}/keys": get: summary: List public keys for a user @@ -26554,15 +26616,6 @@ components: schema: type: integer default: 30 - since: - name: since - description: 'Only show notifications updated after the given time. This is - a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: - `YYYY-MM-DDTHH:MM:SSZ`.' - in: query - required: false - schema: - type: string installation_id: name: installation_id description: installation_id parameter @@ -26602,6 +26655,15 @@ components: required: true schema: type: integer + since: + name: since + description: 'Only show notifications updated after the given time. This is + a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: + `YYYY-MM-DDTHH:MM:SSZ`.' + in: query + required: false + schema: + type: string gist_id: name: gist_id description: gist_id parameter @@ -27992,10 +28054,6 @@ components: 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 @@ -28195,8 +28253,6 @@ components: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string created_at: @@ -28216,30 +28272,21 @@ components: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -28258,6 +28305,8 @@ components: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -29201,18 +29250,6 @@ components: - payload - public - created_at - link-with-type: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type feed: title: Feed description: Feed @@ -29243,33 +29280,65 @@ components: items: type: string format: uri - security_advisories_url: - type: string - example: https://github.com/security-advisories _links: - type: object - properties: - timeline: - "$ref": "#/components/schemas/link-with-type" - user: - "$ref": "#/components/schemas/link-with-type" - security_advisories: - "$ref": "#/components/schemas/link-with-type" - current_user: - "$ref": "#/components/schemas/link-with-type" - current_user_public: - "$ref": "#/components/schemas/link-with-type" - current_user_actor: - "$ref": "#/components/schemas/link-with-type" - current_user_organization: - "$ref": "#/components/schemas/link-with-type" - current_user_organizations: - type: array - items: - "$ref": "#/components/schemas/link-with-type" + type: array required: - timeline - user + items: + type: object + properties: + timeline: + type: object + properties: + href: + type: string + type: + type: string + user: + type: object + properties: + href: + type: string + type: + type: string + current_user_public: + type: object + properties: + href: + type: string + type: + type: string + current_user: + type: object + properties: + href: + type: string + type: + type: string + current_user_actor: + type: object + properties: + href: + type: string + type: + type: string + current_user_organization: + type: object + properties: + href: + type: string + type: + type: string + current_user_organizations: + type: array + items: + type: object + properties: + href: + type: string + type: + type: string required: - _links - timeline_url @@ -29991,55 +30060,6 @@ components: verifiable_password_authentication: type: boolean example: true - ssh_key_fingerprints: - type: object - properties: - MD5_RSA: - type: string - MD5_DSA: - type: string - SHA256_RSA: - type: string - SHA256_DSA: - type: string - hooks: - type: array - items: - type: string - example: - - 127.0.0.1/32 - web: - type: array - items: - type: string - example: - - 127.0.0.1/32 - api: - type: array - items: - type: string - example: - - 127.0.0.1/32 - git: - type: array - items: - type: string - example: - - 127.0.0.1/32 - pages: - type: array - items: - type: string - example: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - type: array - items: - type: string - example: - - 54.158.161.132 - - 54.226.70.38 github_services_sha: type: string example: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15 @@ -30254,8 +30274,6 @@ components: type: boolean disabled: type: boolean - visibility: - type: string pushed_at: type: string format: date-time @@ -30282,10 +30300,6 @@ components: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -30313,6 +30327,8 @@ components: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -30492,13 +30508,6 @@ components: type: string format: email example: octocat@github.com - twitter_username: - type: string - example: github - nullable: true - is_verified: - type: boolean - example: true has_organization_projects: type: boolean example: true @@ -30582,15 +30591,6 @@ components: members_allowed_repository_creation_type: type: string example: all - members_can_create_public_repositories: - type: boolean - example: true - members_can_create_private_repositories: - type: boolean - example: true - members_can_create_internal_repositories: - type: boolean - example: true members_can_create_pages: type: boolean example: true @@ -30947,129 +30947,6 @@ components: - html_url - repositories_url - slug - organization: - title: Organization - description: GitHub account for managing multiple users, teams, and repositories - type: object - properties: - login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri - id: - type: integer - node_id: - type: string - repos_url: - type: string - format: uri - events_url: - type: string - format: uri - hooks_url: - type: string - issues_url: - type: string - members_url: - type: string - public_members_url: - type: string - avatar_url: - type: string - description: - type: string - nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri - name: - description: Display name for the organization - example: New Org - type: string - company: - description: Display company name for the organization - example: Acme corporation - type: string - location: - description: Display location for the organization - example: Berlin, Germany - type: string - email: - description: Display email for the organization - example: org@example.com - type: string - format: email - has_organization_projects: - description: Specifies if organization projects are enabled for this org - type: boolean - has_repository_projects: - description: Specifies if repository projects are enabled for repositories - that belong to this org - type: boolean - is_verified: - type: boolean - public_repos: - type: integer - public_gists: - type: integer - followers: - type: integer - following: - type: integer - type: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - plan: - type: object - properties: - name: - type: string - space: - type: integer - private_repos: - type: integer - filled_seats: - type: integer - seats: - type: integer - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description - - html_url - - has_organization_projects - - has_repository_projects - - public_repos - - public_gists - - followers - - following - - type - - created_at - - updated_at team-full: title: Full Team description: Groups of organization members that gives permissions on specified @@ -31140,7 +31017,7 @@ components: format: date-time example: '2017-08-17T12:37:15Z' organization: - "$ref": "#/components/schemas/organization" + "$ref": "#/components/schemas/organization-full" ldap_dn: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com @@ -31553,10 +31430,6 @@ components: disabled: type: boolean description: Returns whether or not this repository disabled. - visibility: - description: 'The repository visibility: public, private, or internal.' - type: string - example: public pushed_at: type: string format: date-time @@ -31589,15 +31462,9 @@ components: nullable: true allOf: - "$ref": "#/components/schemas/repository" - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true - delete_branch_on_merge: - type: boolean - example: false allow_merge_commit: type: boolean example: true @@ -31951,6 +31818,154 @@ components: type: array items: type: string + restrictions: + items: + type: object + properties: + url: + type: string + users_url: + type: string + teams_url: + type: string + apps_url: + type: string + users: + type: array + items: + type: object + properties: + login: + type: string + id: + type: number + 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 + teams: + type: array + items: + type: object + properties: + id: + type: number + node_id: + type: string + url: + type: string + html_url: + type: string + name: + type: string + slug: + type: string + description: + type: string + privacy: + type: string + permission: + type: string + members_url: + type: string + repositories_url: + type: string + parent: + nullable: true + apps: + type: array + items: + type: object + properties: + id: + type: number + slug: + type: string + node_id: + type: string + owner: + type: object + properties: + login: + type: string + id: + type: number + node_id: + type: string + url: + type: string + repos_url: + type: string + events_url: + type: string + hooks_url: + type: string + issues_url: + type: string + members_url: + type: string + public_members_url: + type: string + avatar_url: + type: string + description: + type: string + name: + type: string + description: + type: string + external_url: + type: string + html_url: + type: string + created_at: + type: string + updated_at: + type: string + permissions: + type: object + properties: + metadata: + type: string + contents: + type: string + issues: + type: string + single_file: + type: string + events: + type: array + items: + type: string + type: array required: - url - users_url @@ -31988,21 +32003,6 @@ components: "$ref": "#/components/schemas/protected-branch-pull-request-review" restrictions: "$ref": "#/components/schemas/branch-restriction-policy" - required_linear_history: - type: object - properties: - enabled: - type: boolean - allow_force_pushes: - type: object - properties: - enabled: - type: boolean - allow_deletions: - type: object - properties: - enabled: - type: boolean enabled: type: boolean name: @@ -35506,8 +35506,6 @@ components: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -35563,6 +35561,8 @@ components: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -35949,8 +35949,6 @@ components: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -35987,6 +35985,8 @@ components: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -36366,42 +36366,6 @@ components: - self - html - pull_request - start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - original_start_line: - type: integer - description: The first line of the range for a multi-line comment. - example: 2 - nullable: true - start_side: - type: string - description: The side of the first line of the range for a multi-line comment. - enum: - - LEFT - - RIGHT - default: RIGHT - nullable: true - line: - description: The line of the blob to which the comment applies. The last - line of the range for a multi-line comment - example: 2 - type: integer - original_line: - description: The line of the blob to which the comment applies. The last - line of the range for a multi-line comment - example: 2 - type: integer - side: - description: The side of the diff to which the comment applies. The side - of the last line of the range for a multi-line comment - enum: - - LEFT - - RIGHT - default: RIGHT - type: string reactions: "$ref": "#/components/schemas/reaction-rollup" body_html: @@ -38715,10 +38679,6 @@ components: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -38891,9 +38851,6 @@ components: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -39338,6 +39295,21 @@ components: state: not_started downloaded_at: message: + pre-receive-environment-2: + value: + id: 2 + name: DevTools Hook Env + image_url: https://my_file_server/path/to/devtools_env.tar.gz + url: https://github.example.com/api/v3/admin/pre-receive-environments/2 + html_url: https://github.example.com/admin/pre-receive-environments/2 + default_environment: false + created_at: '2016-05-20T11:35:45-05:00' + hooks_count: 1 + download: + url: https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest + state: success + downloaded_at: '2016-05-26T07:42:53-05:00' + message: pre-receive-environment-default-response: value: id: 2 @@ -39445,22 +39417,34 @@ components: allow_downstream_configuration: true authorization-items: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: simple-user: value: login: octocat @@ -39498,7 +39482,7 @@ components: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 integration: value: id: 1 @@ -39785,7 +39769,6 @@ components: 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' @@ -39795,22 +39778,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false application-grant-items: value: - id: 1 @@ -40086,9 +40058,8 @@ components: current_user_organization_url: '' current_user_organization_urls: - https://github.com/organizations/github/octocat.private.atom?token=abc123 - security_advisories_url: https://github.com/security-advisories _links: - timeline: + - timeline: href: https://github.com/timeline type: application/atom+xml user: @@ -40109,9 +40080,6 @@ components: current_user_organizations: - href: https://github.com/organizations/github/octocat.private.atom?token=abc123 type: application/atom+xml - security_advisories: - href: https://github.com/security-advisories - type: application/atom+xml base-gist-items: value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d @@ -40450,28 +40418,16 @@ components: 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' allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false issue-with-repo-items: value: - id: 1 @@ -40688,7 +40644,6 @@ components: 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' @@ -40698,23 +40653,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false license-simple-items: value: - key: mit @@ -40804,27 +40747,8 @@ components: api-overview: value: verifiable_password_authentication: true - ssh_key_fingerprints: - MD5_RSA: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 - MD5_DSA: ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c - SHA256_RSA: nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 - SHA256_DSA: br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ - hooks: - - 192.30.252.0/22 - web: - - 192.30.252.0/22 - - 185.199.108.0/22 - api: - - 192.30.252.0/22 - - 185.199.108.0/22 - git: - - 192.30.252.0/22 - pages: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - - 54.158.161.132 - - 54.226.70.38 + installed_version: 2.19.0 + github_services_sha: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15 thread-items: value: - id: '1' @@ -41114,8 +41038,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - twitter_username: github - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -41139,9 +41061,6 @@ components: members_can_create_repositories: true two_factor_requirement_enabled: true members_allowed_repository_creation_type: all - members_can_create_public_repositories: false - members_can_create_private_repositories: false - members_can_create_internal_repositories: false members_can_create_pages: true updated_at: '2014-03-03T18:58:10Z' org-hook-items: @@ -41668,7 +41587,6 @@ components: 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' @@ -41676,11 +41594,10 @@ components: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -41759,7 +41676,6 @@ components: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -41789,7 +41705,6 @@ components: 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' @@ -41798,13 +41713,11 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false team-items: value: - id: 1 @@ -41832,7 +41745,6 @@ components: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -41855,7 +41767,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -41866,6 +41777,7 @@ components: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com project-card: value: url: https://api.github.com/projects/columns/cards/1478 @@ -42103,7 +42015,6 @@ components: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -42126,7 +42037,6 @@ components: 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' @@ -42135,10 +42045,7 @@ components: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -42238,7 +42145,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -42258,7 +42164,6 @@ components: 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' @@ -42267,10 +42172,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -42284,6 +42186,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42355,7 +42258,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -42375,7 +42277,6 @@ components: 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' @@ -42384,10 +42285,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -42401,6 +42299,8 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false full-repository-response-with-scarlet-witch-preview-media-type: summary: Response with scarlet-witch-preview media type value: @@ -42582,7 +42482,6 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit - language: forks_count: 9 forks: 9 stargazers_count: 80 @@ -42605,7 +42504,6 @@ components: 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' @@ -42614,10 +42512,7 @@ components: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -42711,7 +42606,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -42731,7 +42625,6 @@ components: 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' @@ -42740,10 +42633,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -42757,6 +42647,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42828,7 +42719,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -42848,7 +42738,6 @@ components: 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' @@ -42857,10 +42746,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -42874,6 +42760,8 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false short-branch-items: value: - name: master @@ -43038,7 +42926,7 @@ components: require_code_owner_reviews: true required_approving_review_count: 2 restrictions: - url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions + - url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions users_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users teams_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams apps_url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams @@ -43105,12 +42993,6 @@ components: events: - push - pull_request - required_linear_history: - enabled: true - allow_force_pushes: - enabled: true - allow_deletions: - enabled: true protected-branch-admin-enforced-2: value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins @@ -43645,7 +43527,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -43665,7 +43546,6 @@ components: 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' @@ -43673,10 +43553,9 @@ components: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false head_commit: id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d @@ -43772,7 +43651,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -43792,7 +43670,6 @@ components: 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' @@ -43801,10 +43678,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -43818,6 +43692,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false check-run-paginated: value: total_count: 1 @@ -44409,6 +44284,7 @@ components: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos + parent: head: label: octocat:new-topic ref: new-topic @@ -44523,7 +44399,6 @@ components: 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' @@ -44533,22 +44408,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -44663,7 +44527,6 @@ components: 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' @@ -44673,22 +44536,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -44816,18 +44668,12 @@ components: url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true + description: A great organization name: Octocat App description: '' external_url: https://example.com @@ -44933,7 +44779,6 @@ components: 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' @@ -44941,28 +44786,13 @@ components: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + allow_rebase_merge: true + template_repository: + allow_squash_merge: true + allow_merge_commit: true subscribers_count: 42 network_count: 0 - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - head_commit: - id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - message: |- - Merge pull request #6 from Spaceghost/patch-1 - - New line at end of file. - timestamp: '2016-10-10T00:00:00Z' - author: - name: The Octocat - email: octocat@nowhere.com - committer: - name: The Octocat - email: octocat@nowhere.com - latest_check_runs_count: 1 - check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs + anonymous_access_enabled: false combined-commit-status: value: state: success @@ -45892,7 +45722,6 @@ components: 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' @@ -45900,10 +45729,10 @@ components: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -47738,7 +47567,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -47765,7 +47593,6 @@ components: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -47777,6 +47604,7 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -47871,7 +47699,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -47898,7 +47725,6 @@ components: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -47910,6 +47736,7 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -48004,12 +47831,6 @@ components: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT pull-request-review-comment-2: value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 @@ -48055,12 +47876,6 @@ components: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT legacy-review-comment: value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 @@ -48118,7 +47933,7 @@ components: original_position: 4 commit_id: 6dcb09b5b57875f334f61aebed695e2e4193db5e original_commit_id: 9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840 - in_reply_to_id: 426899381 + in_reply_to_id: 8 user: login: octocat id: 1 @@ -48151,12 +47966,6 @@ components: href: https://github.com/octocat/Hello-World/pull/1#discussion-diff-1 pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 - start_line: 1 - original_start_line: 1 - start_side: RIGHT - line: 2 - original_line: 2 - side: RIGHT diff-entry-items: value: - sha: bbcd538c8e72b8c175046e27cc8f907076331401 @@ -48512,7 +48321,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -48532,7 +48340,6 @@ components: 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' @@ -48541,10 +48348,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -48558,6 +48362,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -48652,7 +48457,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -48672,7 +48476,6 @@ components: 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' @@ -48681,10 +48484,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -48698,6 +48498,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -49534,7 +49335,6 @@ components: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -49557,7 +49357,6 @@ components: 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' @@ -49573,6 +49372,9 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit + anonymous_access_enabled: false + template_repository: + anonymous_access_enabled: false public-repository-items: value: - id: 1296269 @@ -50316,6 +50118,12 @@ components: load_balancer: run_list: - recipe[enterprise-configure] + ssh-key-items-2: + value: + - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... + pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 + - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... + pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 ssh-key-items: value: - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... @@ -50996,7 +50804,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -51042,7 +50849,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -51076,7 +50882,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -51347,7 +51152,6 @@ components: 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' @@ -51357,22 +51161,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false key-items: value: - key_id: '012345678912345678' @@ -51677,7 +51470,6 @@ components: 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' @@ -51687,22 +51479,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false starred-repository-items-alternative-response-with-star-creation-timestamps: summary: Alternative response with star creation timestamps value: @@ -51798,7 +51579,6 @@ components: 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' @@ -51808,22 +51588,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false team-full-items: value: - id: 1 @@ -51860,7 +51629,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -51869,8 +51637,8 @@ components: following: 0 html_url: https://github.com/octocat created_at: '2008-01-14T04:33:35Z' - updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com public-user-default-response: summary: Default response value: diff --git a/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json b/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json index 036df25553..7a88299290 100644 --- a/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json +++ b/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -1255,7 +1255,7 @@ "/admin/ldap/teams/{team_id}/mapping": { "patch": { "summary": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://developer.github.com/enterprise/2.20/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://developer.github.com/enterprise/2.20/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.", "operationId": "enterprise-admin/update-ldap-mapping-for-team", "tags": [ "enterprise-admin" @@ -1368,11 +1368,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], "category": "enterprise-admin", "subcategory": "ldap" @@ -2227,8 +2223,8 @@ "hooks_count": 1, "download": { "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", - "state": "not_started", - "downloaded_at": null, + "state": "success", + "downloaded_at": "2016-05-26T07:42:53-05:00", "message": null } } @@ -3934,24 +3930,36 @@ "default": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] } @@ -4186,7 +4194,7 @@ }, "email": { "type": "string", - "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.18/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.20/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." } }, "required": [ @@ -4746,7 +4754,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -5134,10 +5142,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -5565,6 +5576,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#list-installations-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "per_page", "description": "Results per page (max 100)", @@ -5582,23 +5603,6 @@ "type": "integer", "default": 1 } - }, - { - "name": "since", - "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "outdated", - "in": "query", - "required": false, - "schema": { - "type": "string" - } } ], "responses": { @@ -6108,10 +6112,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -6128,6 +6135,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#get-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -6674,15 +6691,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://developer.github.com/enterprise/2.20/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -6692,6 +6712,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#delete-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -6731,10 +6761,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "gambit", + "note": "Uninstalling GitHub Apps and revoking an app's installation token are currently available for developers to preview. To access the new endpoint during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.gambit-preview+json\n```" + }, + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -6751,6 +6789,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#create-an-installation-access-token-for-an-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -7689,15 +7737,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -7706,24 +7748,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -7748,6 +7784,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -7948,23 +7987,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -8129,10 +8156,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -11640,10 +11670,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -12065,24 +12098,36 @@ "default": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] } @@ -12634,7 +12679,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -13674,7 +13719,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -18540,15 +18585,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -18557,24 +18596,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -18599,6 +18632,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -19596,137 +19632,71 @@ "format": "uri" } }, - "security_advisories_url": { - "type": "string", - "example": "https://github.com/security-advisories" - }, "_links": { - "type": "object", - "properties": { - "timeline": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, - "user": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, - "security_advisories": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "type": "array", + "required": [ + "timeline", + "user" + ], + "items": { + "type": "object", + "properties": { + "timeline": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_public": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user_public": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_actor": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_organization": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user_actor": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_organizations": { - "type": "array", - "items": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", + "current_user_organization": { "type": "object", "properties": { "href": { @@ -19735,18 +19705,24 @@ "type": { "type": "string" } - }, - "required": [ - "href", - "type" - ] + } + }, + "current_user_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } } } - }, - "required": [ - "timeline", - "user" - ] + } } }, "required": [ @@ -19767,43 +19743,40 @@ "current_user_organization_urls": [ "https://github.com/organizations/github/octocat.private.atom?token=abc123" ], - "security_advisories_url": "https://github.com/security-advisories", - "_links": { - "timeline": { - "href": "https://github.com/timeline", - "type": "application/atom+xml" - }, - "user": { - "href": "https://github.com/{user}", - "type": "application/atom+xml" - }, - "current_user_public": { - "href": "https://github.com/octocat", - "type": "application/atom+xml" - }, - "current_user": { - "href": "https://github.com/octocat.private?token=abc123", - "type": "application/atom+xml" - }, - "current_user_actor": { - "href": "https://github.com/octocat.private.actor?token=abc123", - "type": "application/atom+xml" - }, - "current_user_organization": { - "href": "", - "type": "" - }, - "current_user_organizations": [ - { - "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "_links": [ + { + "timeline": { + "href": "https://github.com/timeline", "type": "application/atom+xml" - } - ], - "security_advisories": { - "href": "https://github.com/security-advisories", - "type": "application/atom+xml" + }, + "user": { + "href": "https://github.com/{user}", + "type": "application/atom+xml" + }, + "current_user_public": { + "href": "https://github.com/octocat", + "type": "application/atom+xml" + }, + "current_user": { + "href": "https://github.com/octocat.private?token=abc123", + "type": "application/atom+xml" + }, + "current_user_actor": { + "href": "https://github.com/octocat.private.actor?token=abc123", + "type": "application/atom+xml" + }, + "current_user_organization": { + "href": "", + "type": "" + }, + "current_user_organizations": [ + { + "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "type": "application/atom+xml" + } + ] } - } + ] } } } @@ -28074,6 +28047,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/installations/#list-repositories-accessible-to-the-app-installation" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "per_page", "description": "Results per page (max 100)", @@ -28934,15 +28917,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -28951,24 +28928,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -28993,6 +28964,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -29182,23 +29156,11 @@ "updated_at": "2011-01-26T19:14:43Z", "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -29263,6 +29225,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -31144,15 +31111,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -31161,24 +31122,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -31203,6 +31158,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -31848,25 +31806,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] } @@ -31981,12 +31926,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -32532,79 +32476,6 @@ "type": "boolean", "example": true }, - "ssh_key_fingerprints": { - "type": "object", - "properties": { - "MD5_RSA": { - "type": "string" - }, - "MD5_DSA": { - "type": "string" - }, - "SHA256_RSA": { - "type": "string" - }, - "SHA256_DSA": { - "type": "string" - } - } - }, - "hooks": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "web": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "api": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "git": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "pages": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "192.30.252.153/32", - "192.30.252.154/32" - ] - }, - "importer": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "54.158.161.132", - "54.226.70.38" - ] - }, "github_services_sha": { "type": "string", "example": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" @@ -32621,34 +32492,7 @@ "default": { "value": { "verifiable_password_authentication": true, - "ssh_key_fingerprints": { - "MD5_RSA": "16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48", - "MD5_DSA": "ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c", - "SHA256_RSA": "nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", - "SHA256_DSA": "br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ" - }, - "hooks": [ - "192.30.252.0/22" - ], - "web": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "api": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "git": [ - "192.30.252.0/22" - ], - "pages": [ - "192.30.252.153/32", - "192.30.252.154/32" - ], - "importer": [ - "54.158.161.132", - "54.226.70.38" - ] + "installed_version": "2.20.0" } } } @@ -34401,15 +34245,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -34418,24 +34256,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -34460,6 +34292,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -35911,12 +35746,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -35955,6 +35784,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -36839,12 +36671,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -36883,6 +36709,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -37866,15 +37695,6 @@ "format": "email", "example": "octocat@github.com" }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, "has_organization_projects": { "type": "boolean", "example": true @@ -38374,15 +38194,6 @@ "format": "email", "example": "octocat@github.com" }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, "has_organization_projects": { "type": "boolean", "example": true @@ -38559,8 +38370,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -40473,15 +40282,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -40490,24 +40293,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -40532,6 +40329,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -42573,6 +42373,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#get-an-organization-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "org", "in": "path", @@ -43076,10 +42886,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -43096,6 +42909,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/orgs/#list-app-installations-for-an-organization" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "org", "in": "path", @@ -43642,10 +43465,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "orgs", - "subcategory": null + "category": "orgs" } } }, @@ -45464,15 +45290,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -45481,24 +45301,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -45523,6 +45337,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -46168,25 +45985,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] } @@ -46229,12 +46033,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -50200,12 +50003,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -50244,6 +50041,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -50401,11 +50201,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -51409,15 +51208,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -51426,24 +51219,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -51468,6 +51255,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -51620,7 +51410,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -51662,13 +51451,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -52299,118 +52086,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -52430,7 +52249,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -52496,7 +52358,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -52519,7 +52380,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -52530,7 +52390,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -52839,118 +52700,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -52970,7 +52863,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -53036,7 +52972,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -53059,7 +52994,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -53070,7 +53004,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -58404,7 +58339,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -58427,18 +58362,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } } }, @@ -59766,15 +59694,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -59783,24 +59705,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -59825,6 +59741,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -59905,18 +59824,10 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true }, - "delete_branch_on_merge": { - "type": "boolean", - "example": false - }, "allow_merge_commit": { "type": "boolean", "example": true @@ -60920,15 +60831,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -60937,24 +60842,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -60979,6 +60878,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -61885,15 +61787,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -61902,24 +61798,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -61944,6 +61834,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -62193,7 +62086,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -62227,10 +62119,7 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -62333,7 +62222,6 @@ "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, @@ -62364,8 +62252,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -62381,7 +62267,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -62455,7 +62342,6 @@ "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, @@ -62486,8 +62372,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -62503,8 +62387,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } }, "response-with-scarlet-witch-preview-media-type": { @@ -64099,15 +63985,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -64116,24 +63996,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -64158,6 +64032,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -64238,18 +64115,10 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true }, - "delete_branch_on_merge": { - "type": "boolean", - "example": false - }, "allow_merge_commit": { "type": "boolean", "example": true @@ -65253,15 +65122,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -65270,24 +65133,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -65312,6 +65169,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -66218,15 +66078,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -66235,24 +66089,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -66277,6 +66125,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -66533,7 +66384,6 @@ "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" }, - "language": null, "forks_count": 9, "forks": 9, "stargazers_count": 80, @@ -66567,10 +66417,7 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -66666,7 +66513,6 @@ "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, @@ -66697,8 +66543,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -66714,7 +66558,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -66788,7 +66633,6 @@ "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, @@ -66819,8 +66663,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -66836,8 +66678,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } } } @@ -82150,12 +81994,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -82194,6 +82032,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -82473,7 +82314,6 @@ "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, @@ -82503,10 +82343,9 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false }, "head_commit": { "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", @@ -83478,15 +83317,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -83495,24 +83328,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -83537,6 +83364,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -83704,7 +83534,6 @@ "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, @@ -83735,10 +83564,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -83752,7 +83578,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } } } @@ -84637,12 +84464,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -84681,6 +84502,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -84960,7 +84784,6 @@ "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, @@ -84990,10 +84813,9 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false }, "head_commit": { "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", @@ -86634,12 +86456,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -86678,6 +86494,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -92747,15 +92566,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -92764,24 +92577,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -92806,6 +92613,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -93850,15 +93660,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -93867,24 +93671,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -93909,6 +93707,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -94470,7 +94271,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -94601,23 +94403,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "base": { @@ -94748,23 +94538,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "_links": { @@ -97210,12 +96988,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -97254,6 +97026,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -97434,18 +97209,12 @@ "url": "https://api.github.com/orgs/github", "repos_url": "https://api.github.com/orgs/github/repos", "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true + "description": "A great organization" }, "name": "Octocat App", "description": "", @@ -97566,29 +97335,14 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "allow_rebase_merge": true, + "template_repository": null, + "allow_squash_merge": true, + "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 - }, - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "head_commit": { - "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "tree_id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", - "timestamp": "2016-10-10T00:00:00Z", - "author": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - }, - "committer": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - } - }, - "latest_check_runs_count": 1, - "check_runs_url": "https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs" + "network_count": 0, + "anonymous_access_enabled": false + } } ] } @@ -98167,12 +97921,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -98211,6 +97959,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -104853,6 +104604,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "ant-man", @@ -106806,6 +106562,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "flash", @@ -108553,15 +108314,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -108570,24 +108325,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -108612,6 +108361,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -110002,12 +109754,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -110046,6 +109792,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -110203,10 +109952,10 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -111171,15 +110920,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -111188,24 +110931,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -111230,6 +110967,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -111382,7 +111122,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -111424,13 +111163,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -116285,6 +116022,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#get-a-repository-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "owner", "in": "path", @@ -116819,10 +116566,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -117317,12 +117067,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -117361,6 +117105,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -118335,12 +118082,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -118379,6 +118120,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -120614,15 +120358,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -120631,24 +120369,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -120673,6 +120405,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -121277,12 +121012,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "post": { @@ -123086,15 +122820,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -123103,24 +122831,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -123145,6 +122867,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -125190,8 +124915,8 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -128600,15 +128325,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -128617,24 +128336,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -128659,6 +128372,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -130007,6 +129723,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -131779,15 +131500,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -131796,24 +131511,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -131838,6 +131547,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -133166,6 +132878,16 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + }, + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -134906,15 +134628,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -134923,24 +134639,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -134965,6 +134675,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -137407,15 +137120,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -137424,24 +137131,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -137466,6 +137167,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -139833,15 +139537,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -139850,24 +139548,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -139892,6 +139584,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -142072,15 +141767,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -142089,24 +141778,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -142131,6 +141814,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -144394,6 +144080,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -145518,10 +145209,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "delete": { @@ -151371,12 +151065,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -151415,6 +151103,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -151826,7 +151517,7 @@ } }, "post": { - "summary": "Create a GitHub Enterprise Server Pages site", + "summary": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"", "tags": [ "repos" @@ -151867,11 +151558,15 @@ "properties": { "branch": { "type": "string", - "description": "The repository branch used to publish your site's source files." + "description": "The repository branch used to publish your site's source files. Can be either `master` or `gh-pages`.", + "enum": [ + "master", + "gh-pages" + ] }, "path": { "type": "string", - "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`", + "description": "The repository directory that includes the source files for the Pages site. When `branch` is `master`, you can change `path` to `/docs`. When `branch` is `gh-pages`, you are unable to specify a `path` other than `/`.", "enum": [ "/", "/docs" @@ -151890,7 +151585,7 @@ }, "example": { "source": { - "branch": "main", + "branch": "master", "path": "/docs" } } @@ -152111,7 +151806,7 @@ } }, "put": { - "summary": "Update information about a GitHub Enterprise Server Pages site", + "summary": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).", "tags": [ "repos" @@ -152145,11 +151840,6 @@ "schema": { "type": "object", "properties": { - "cname": { - "type": "string", - "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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/).\"", - "nullable": true - }, "source": { "anyOf": [ { @@ -152183,19 +151873,19 @@ "path" ] } + ], + "type": "string", + "description": "Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `\"gh-pages\"`, `\"master\"`, and `\"master /docs\"`.", + "enum": [ + "gh-pages", + "master", + "master /docs" ] } - }, - "required": [ - "source" - ] + } }, "example": { - "cname": "octocatblog.com", - "source": { - "branch": "main", - "path": "/" - } + "source": "master /docs" } } } @@ -154699,7 +154389,7 @@ "/repos/{owner}/{repo}/pulls": { "get": { "summary": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -156568,15 +156258,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -156585,24 +156269,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -156627,6 +156305,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -157671,15 +157352,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -157688,24 +157363,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -157730,6 +157399,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -158291,7 +157963,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -158422,23 +158095,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "base": { @@ -158569,23 +158230,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "_links": { @@ -158708,15 +158357,23 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } }, "post": { "summary": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.20/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.", "tags": [ "pulls" ], @@ -160052,9 +159709,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -160131,6 +159785,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -160638,9 +160295,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -160732,6 +160386,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -161535,7 +161192,6 @@ "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, @@ -161564,7 +161220,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -161576,7 +161231,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -161675,7 +161331,6 @@ "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, @@ -161704,7 +161359,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -161716,7 +161370,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -161887,10 +161542,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -165775,9 +165438,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -165854,6 +165514,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -166361,9 +166024,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -166455,6 +166115,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -167258,7 +166921,6 @@ "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, @@ -167287,7 +166949,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -167299,7 +166960,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -167398,7 +167060,6 @@ "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, @@ -167427,7 +167088,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -167439,7 +167099,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -167563,7 +167224,7 @@ }, "patch": { "summary": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -168899,9 +168560,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -168978,6 +168636,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -169485,9 +169146,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -169579,6 +169237,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -170382,7 +170043,6 @@ "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, @@ -170411,7 +170071,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -170423,7 +170082,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -170522,7 +170182,6 @@ "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, @@ -170551,7 +170210,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -170563,7 +170221,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -170725,10 +170384,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -175378,15 +175045,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -175395,24 +175056,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -175437,6 +175092,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -176481,15 +176139,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -176498,24 +176150,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -176540,6 +176186,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -177238,7 +176887,6 @@ "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, @@ -177269,10 +176917,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -177286,7 +176931,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "base": { @@ -177385,7 +177031,6 @@ "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, @@ -177416,10 +177061,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -177433,7 +177075,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "_links": { @@ -189755,15 +189398,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -189772,24 +189409,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -189814,6 +189445,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -189966,7 +189600,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -190008,13 +189641,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -191093,15 +190724,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -191110,24 +190735,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -191152,6 +190771,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -191304,7 +190926,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -191345,6 +190966,10 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" + }, + "anonymous_access_enabled": false, + "template_repository": { + "anonymous_access_enabled": false } } } @@ -191850,12 +191475,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -191894,6 +191513,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -192651,12 +192273,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -192695,6 +192311,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -193835,12 +193454,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -193879,6 +193492,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -195849,15 +195465,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -195866,24 +195476,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -195908,6 +195512,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -199443,10 +199050,6 @@ "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - }, { "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" @@ -199585,10 +199188,6 @@ "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - }, { "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" @@ -199979,118 +199578,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -200110,7 +199741,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -200176,7 +199850,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -200199,7 +199872,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -200210,7 +199882,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -200222,14 +199895,9 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } }, "patch": { @@ -200423,118 +200091,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -200554,7 +200254,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -200620,7 +200363,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -200643,7 +200385,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -200654,7 +200395,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -200696,7 +200438,7 @@ }, "parent_team_id": { "type": "integer", - "description": "The ID of a team to set as the parent team. **Note**: You must pass the `hellcat-preview` media type to use this parameter." + "description": "The ID of a team to set as the parent team." } }, "required": [ @@ -200715,19 +200457,14 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } }, "delete": { "summary": "Delete a team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.", "operationId": "teams/delete", "tags": [ "teams" @@ -200755,14 +200492,9 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } } }, @@ -200779,16 +200511,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussions/#list-discussions" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -200799,7 +200521,7 @@ }, { "name": "direction", - "description": "One of `asc` (ascending) or `desc` (descending).", + "description": "Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.", "in": "query", "required": false, "schema": { @@ -201180,12 +200902,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -201206,16 +200922,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussions/#create-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -201595,12 +201301,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -201623,16 +201323,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussions/#get-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -201987,12 +201677,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -202013,16 +201697,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussions/#update-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -202399,12 +202073,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -202425,16 +202093,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussions/#delete-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -202461,11 +202119,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - } + ], "category": "teams", "subcategory": "discussions" @@ -202485,16 +202139,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#list-discussion-comments" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -202513,7 +202157,7 @@ }, { "name": "direction", - "description": "One of `asc` (ascending) or `desc` (descending).", + "description": "Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.", "in": "query", "required": false, "schema": { @@ -202860,12 +202504,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -202886,16 +202524,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#create-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -203238,12 +202866,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -203266,16 +202888,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#get-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -203604,12 +203216,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -203630,16 +203236,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#update-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -203989,12 +203585,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -204015,16 +203605,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#delete-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "name": "team_id", "in": "path", @@ -204059,11 +203639,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - } + ], "category": "teams", "subcategory": "discussion-comments" @@ -204089,7 +203665,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -204371,18 +203947,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } }, "post": { @@ -204403,7 +203972,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -204666,18 +204235,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } } }, @@ -204700,7 +204262,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -204974,18 +204536,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } }, "post": { @@ -205006,7 +204561,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -205261,25 +204816,18 @@ "enabledForGitHubApps": false, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } } }, "/teams/{team_id}/members": { "get": { "summary": "List team members", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.", "operationId": "teams/list-members", "tags": [ "teams" @@ -205493,11 +205041,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], "category": "teams", "subcategory": "members" @@ -205743,7 +205287,7 @@ "/teams/{team_id}/memberships/{username}": { "get": { "summary": "Get team membership for a user", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://developer.github.com/enterprise/2.20/v3/teams/#create-a-team).", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://developer.github.com/enterprise/2.20/v3/teams/#create-a-team).", "operationId": "teams/get-membership-for-user", "tags": [ "teams" @@ -205838,11 +205382,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], "category": "teams", "subcategory": "members" @@ -206057,7 +205597,7 @@ "/teams/{team_id}/projects": { "get": { "summary": "List team projects", - "description": "Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.", + "description": "Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team.", "operationId": "teams/list-projects", "tags": [ "teams" @@ -206352,25 +205892,18 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" - }, - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" } ], - "category": "teams", - "subcategory": null + "category": "teams" } } }, "/teams/{team_id}/projects/{project_id}": { "get": { "summary": "Check team permissions for a project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.", "operationId": "teams/check-permissions-for-project", "tags": [ "teams" @@ -206645,18 +206178,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" - }, - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" } ], - "category": "teams", - "subcategory": null + "category": "teams" } }, "put": { @@ -206737,7 +206263,7 @@ "properties": { "permission": { "type": "string", - "description": "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://developer.github.com/enterprise/2.20/v3/#http-verbs).\" \n**Note**: If you pass the `hellcat-preview` media type, you can promote—but not demote—a `permission` attribute inherited from a parent team.", + "description": "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://developer.github.com/enterprise/2.20/v3/#http-verbs).\"", "enum": [ "read", "write", @@ -206754,18 +206280,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" - }, - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" } ], - "category": "teams", - "subcategory": null + "category": "teams" } }, "delete": { @@ -206816,7 +206335,7 @@ "/teams/{team_id}/repos": { "get": { "summary": "List team repositories", - "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.", + "description": "If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.", "operationId": "teams/list-repos", "tags": [ "teams" @@ -207286,12 +206805,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -207330,6 +206843,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -207487,11 +207003,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -207519,21 +207034,16 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } } }, "/teams/{team_id}/repos/{owner}/{repo}": { "get": { "summary": "Check team permissions for a repository", - "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.20/v3/media/) via the `Accept` header:", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.20/v3/media/) via the `Accept` header:", "operationId": "teams/check-permissions-for-repo", "tags": [ "teams" @@ -207999,12 +207509,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -208043,6 +207547,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -209385,15 +208892,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -209402,24 +208903,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -209444,6 +208939,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -209524,18 +209022,10 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true }, - "delete_branch_on_merge": { - "type": "boolean", - "example": false - }, "allow_merge_commit": { "type": "boolean", "example": true @@ -210539,15 +210029,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -210556,24 +210040,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -210598,6 +210076,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -211504,15 +210985,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -211521,24 +210996,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -211563,6 +211032,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -211833,7 +211305,6 @@ "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, @@ -211863,12 +211334,13 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, "allow_squash_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "anonymous_access_enabled": false + "anonymous_access_enabled": false, + "visibility": "public", + "delete_branch_on_merge": true }, "source": { "id": 1296269, @@ -211942,7 +211414,6 @@ "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, @@ -211972,18 +211443,17 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, "allow_squash_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "anonymous_access_enabled": false + "anonymous_access_enabled": false, + "visibility": "public", + "delete_branch_on_merge": true }, "permissions": { "pull": true, - "triage": true, "push": false, - "maintain": false, "admin": false } } @@ -212003,14 +211473,9 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } }, "put": { @@ -212063,7 +211528,7 @@ "properties": { "permission": { "type": "string", - "description": "The permission to grant the team on this repository. Can be one of: \n\\* `pull` - team members can pull, but not push to or administer this repository. \n\\* `push` - team members can pull and push, but not administer this repository. \n\\* `admin` - team members can pull, push and administer this repository. \n \nIf no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. \n**Note**: If you pass the `hellcat-preview` media type, you can promote—but not demote—a `permission` attribute inherited through a parent team.", + "description": "The permission to grant the team on this repository. Can be one of: \n\\* `pull` - team members can pull, but not push to or administer this repository. \n\\* `push` - team members can pull and push, but not administer this repository. \n\\* `admin` - team members can pull, push and administer this repository. \n \nIf no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.", "enum": [ "pull", "push", @@ -212079,14 +211544,9 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } }, "delete": { @@ -212145,7 +211605,7 @@ "/teams/{team_id}/teams": { "get": { "summary": "List child teams", - "description": "You must use the `hellcat-preview` media type to use this endpoint.", + "description": "", "operationId": "teams/list-child", "tags": [ "teams" @@ -212311,14 +211771,9 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } } }, @@ -212464,11 +211919,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -212691,10 +212141,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -212830,7 +212276,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -212879,7 +212324,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -213135,11 +212579,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -213293,7 +212732,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -216113,6 +215551,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "per_page", "description": "Results per page (max 100)", @@ -216758,7 +216206,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -216778,6 +216230,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -217650,15 +217112,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -217667,24 +217123,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -217709,6 +217159,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -217899,23 +217352,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -217980,6 +217421,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -218074,7 +217520,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -218162,7 +217612,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -219976,15 +219430,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -219993,24 +219441,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -220035,6 +219477,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -220680,25 +220125,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] } @@ -220744,12 +220176,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -224505,15 +223936,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -224522,24 +223947,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -224564,6 +223983,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -224751,23 +224173,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -225853,15 +225263,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -225870,24 +225274,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -225912,6 +225310,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -226064,7 +225465,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -226106,13 +225506,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -226809,12 +226207,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -226853,6 +226245,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -228485,15 +227880,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -228502,24 +227891,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -228544,6 +227927,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -228731,23 +228117,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -229593,15 +228967,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -229610,24 +228978,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -229652,6 +229014,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -229847,23 +229212,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } } ] @@ -230723,12 +230076,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -230767,6 +230114,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -230924,11 +230274,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -231210,118 +230559,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -231341,7 +230722,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -231432,7 +230856,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -231441,9 +230864,9 @@ "following": 0, "html_url": "https://github.com/octocat", "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } ] } @@ -231867,11 +231290,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -232094,10 +231512,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -234044,15 +233458,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -234061,24 +233469,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -234103,6 +233505,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -236728,15 +236133,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -236745,24 +236144,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -236787,6 +236180,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -239404,15 +238800,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -239421,24 +238811,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -239463,6 +238847,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -241856,6 +241243,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#get-a-user-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "username", "in": "path", @@ -242359,10 +241756,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -244806,15 +244206,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -244823,24 +244217,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -244865,6 +244253,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -247482,15 +246873,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -247499,24 +246884,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -247541,6 +246920,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -248952,12 +248334,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -248996,6 +248372,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -249153,11 +248532,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -250173,15 +249551,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -250190,24 +249562,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -250232,6 +249598,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -250419,23 +249788,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -251281,15 +250638,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -251298,24 +250649,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -251340,6 +250685,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -251535,23 +250883,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } } ] @@ -252053,12 +251389,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -252097,6 +251427,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -252254,11 +251587,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", diff --git a/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml b/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml index 8b05cc5e0d..d4a4c145d3 100644 --- a/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml +++ b/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.0.0-rc.1 + version: 1.0.0-rc.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -905,7 +905,7 @@ paths: description: |- Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://developer.github.com/enterprise/2.20/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping. - If you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team. + You can also update the LDAP mapping of a child team. operationId: enterprise-admin/update-ldap-mapping-for-team tags: - enterprise-admin @@ -983,14 +983,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: enterprise-admin subcategory: ldap "/admin/ldap/teams/{team_id}/sync": @@ -1603,8 +1596,8 @@ paths: hooks_count: 1 download: url: https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest - state: not_started - downloaded_at: + state: success + downloaded_at: '2016-05-26T07:42:53-05:00' message: x-github: githubCloudOnly: false @@ -2889,22 +2882,34 @@ paths: examples: default: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: headers: Link: example: ; rel="next", ; @@ -3090,7 +3095,7 @@ paths: description: "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, - see the the [GitHub authentication guide](https://help.github.com/enterprise/2.18/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + see the the [GitHub authentication guide](https://help.github.com/enterprise/2.20/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." required: - login example: @@ -3513,7 +3518,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 requestBody: content: application/json: @@ -3810,9 +3815,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app-manifests/{code}/conversions": post: summary: Create a GitHub App from a manifest @@ -4171,6 +4181,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#list-installations-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: per_page description: Results per page (max 100) in: query @@ -4183,19 +4200,6 @@ paths: schema: type: integer default: 1 - - name: since - description: 'Only show notifications updated after the given time. This is - a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: - `YYYY-MM-DDTHH:MM:SSZ`.' - in: query - required: false - schema: - type: string - - name: outdated - in: query - required: false - schema: - type: string responses: '200': description: The permissions the installation has are included under the @@ -4595,9 +4599,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}": get: summary: Get an installation for the authenticated app @@ -4612,6 +4621,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#get-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -5035,15 +5051,19 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: delete: summary: Delete an installation for the authenticated app - description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://developer.github.com/enterprise/2.20/v3/apps/#suspend-an-app-installation)" endpoint. - - You must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + description: Uninstalls a GitHub App on a user, organization, or business account. + You must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) + to access this endpoint. tags: - apps operationId: apps/delete-installation @@ -5051,6 +5071,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#delete-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -5076,9 +5103,21 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: gambit + note: |- + Uninstalling GitHub Apps and revoking an app's installation token are currently available for developers to preview. To access the new endpoint during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.gambit-preview+json + ``` + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}/access_tokens": post: summary: Create an installation access token for an app @@ -5093,6 +5132,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#create-an-installation-access-token-for-an-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -5786,31 +5832,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -5829,6 +5865,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -6016,22 +6054,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false '403': description: Forbidden content: @@ -6131,9 +6158,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/applications/grants": get: summary: List your grants @@ -8796,9 +8828,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/authorizations": get: summary: List your authorizations @@ -9133,22 +9170,34 @@ paths: examples: default: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: headers: Link: example: ; rel="next", ; @@ -9579,7 +9628,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 headers: Location: example: https://api.github.com/authorizations/1 @@ -10384,7 +10433,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 headers: Location: example: https://api.github.com/authorizations/1 @@ -14198,32 +14247,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -14243,6 +14282,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -15042,113 +15083,65 @@ paths: items: type: string format: uri - security_advisories_url: - type: string - example: https://github.com/security-advisories _links: - type: object - properties: - timeline: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - user: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - security_advisories: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_public: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_actor: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_organization: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_organizations: - type: array - items: - title: Link With Type - description: Hypermedia Link with Type + type: array + required: + - timeline + - user + items: + type: object + properties: + timeline: type: object properties: href: type: string type: type: string - required: - - href - - type - required: - - timeline - - user + user: + type: object + properties: + href: + type: string + type: + type: string + current_user_public: + type: object + properties: + href: + type: string + type: + type: string + current_user: + type: object + properties: + href: + type: string + type: + type: string + current_user_actor: + type: object + properties: + href: + type: string + type: + type: string + current_user_organization: + type: object + properties: + href: + type: string + type: + type: string + current_user_organizations: + type: array + items: + type: object + properties: + href: + type: string + type: + type: string required: - _links - timeline_url @@ -15164,9 +15157,8 @@ paths: current_user_organization_url: '' current_user_organization_urls: - https://github.com/organizations/github/octocat.private.atom?token=abc123 - security_advisories_url: https://github.com/security-advisories _links: - timeline: + - timeline: href: https://github.com/timeline type: application/atom+xml user: @@ -15187,9 +15179,6 @@ paths: current_user_organizations: - href: https://github.com/organizations/github/octocat.private.atom?token=abc123 type: application/atom+xml - security_advisories: - href: https://github.com/security-advisories - type: application/atom+xml x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21206,6 +21195,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/installations/#list-repositories-accessible-to-the-app-installation parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: per_page description: Results per page (max 100) in: query @@ -21842,31 +21838,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -21885,6 +21871,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -22063,22 +22051,11 @@ paths: updated_at: '2011-01-26T19:14:43Z' allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -22117,6 +22094,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -23567,31 +23550,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -23610,6 +23583,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -24167,23 +24142,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -24253,17 +24216,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/licenses": get: summary: Get all commonly used licenses @@ -24707,55 +24667,6 @@ paths: verifiable_password_authentication: type: boolean example: true - ssh_key_fingerprints: - type: object - properties: - MD5_RSA: - type: string - MD5_DSA: - type: string - SHA256_RSA: - type: string - SHA256_DSA: - type: string - hooks: - type: array - items: - type: string - example: - - 127.0.0.1/32 - web: - type: array - items: - type: string - example: - - 127.0.0.1/32 - api: - type: array - items: - type: string - example: - - 127.0.0.1/32 - git: - type: array - items: - type: string - example: - - 127.0.0.1/32 - pages: - type: array - items: - type: string - example: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - type: array - items: - type: string - example: - - 54.158.161.132 - - 54.226.70.38 github_services_sha: type: string example: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15 @@ -24767,27 +24678,7 @@ paths: default: value: verifiable_password_authentication: true - ssh_key_fingerprints: - MD5_RSA: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 - MD5_DSA: ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c - SHA256_RSA: nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 - SHA256_DSA: br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ - hooks: - - 192.30.252.0/22 - web: - - 192.30.252.0/22 - - 185.199.108.0/22 - api: - - 192.30.252.0/22 - - 185.199.108.0/22 - git: - - 192.30.252.0/22 - pages: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - - 54.158.161.132 - - 54.226.70.38 + installed_version: 2.20.0 '304': description: Not Modified x-github: @@ -26113,32 +26004,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -26158,6 +26039,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -27294,10 +27177,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -27325,6 +27204,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -27988,10 +27869,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -28019,6 +27896,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -28755,13 +28634,6 @@ paths: type: string format: email example: octocat@github.com - twitter_username: - type: string - example: github - nullable: true - is_verified: - type: boolean - example: true has_organization_projects: type: boolean example: true @@ -29212,13 +29084,6 @@ paths: type: string format: email example: octocat@github.com - twitter_username: - type: string - example: github - nullable: true - is_verified: - type: boolean - example: true has_organization_projects: type: boolean example: true @@ -29360,8 +29225,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - twitter_username: github - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -30803,32 +30666,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -30848,6 +30701,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -32391,6 +32246,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#get-an-organization-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: org in: path required: true @@ -32786,9 +32648,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/orgs/{org}/installations": get: summary: List app installations for an organization @@ -32802,6 +32669,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/orgs/#list-app-installations-for-an-organization parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: org in: path required: true @@ -33225,9 +33099,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: orgs - subcategory: "/orgs/{org}/issues": get: summary: List organization issues assigned to the authenticated user @@ -34625,31 +34504,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -34668,6 +34537,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -35225,23 +35096,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -35266,17 +35125,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/orgs/{org}/members": get: summary: List organization members @@ -38275,10 +38131,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -38306,6 +38158,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -38454,11 +38308,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -39242,31 +39095,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -39285,6 +39128,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -39432,7 +39277,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -39471,13 +39315,11 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -39968,94 +39810,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -40069,6 +39936,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -40127,7 +40027,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -40150,7 +40049,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -40161,6 +40059,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '422': description: Validation Failed content: @@ -40388,94 +40287,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -40489,6 +40413,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -40547,7 +40504,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -40570,7 +40526,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -40581,6 +40536,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '404': description: Resource Not Found content: @@ -44481,7 +44437,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - name: reaction_id in: path @@ -44495,15 +44451,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -44513,7 +44461,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: "/repos/{owner}/{repo}": get: summary: Get a repository @@ -45510,31 +45457,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -45553,6 +45490,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -45627,15 +45566,9 @@ paths: - watchers_count - created_at - updated_at - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true - delete_branch_on_merge: - type: boolean - example: false allow_merge_commit: type: boolean example: true @@ -46383,31 +46316,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -46426,6 +46349,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -47112,31 +47037,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -47155,6 +47070,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -47391,7 +47308,6 @@ paths: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -47423,10 +47339,7 @@ paths: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -47526,7 +47439,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -47555,8 +47467,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -47572,6 +47482,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -47643,7 +47554,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -47672,8 +47582,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -47689,6 +47597,8 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false response-with-scarlet-witch-preview-media-type: summary: Response with scarlet-witch-preview media type value: @@ -48938,31 +48848,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -48981,6 +48881,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -49055,15 +48957,9 @@ paths: - watchers_count - created_at - updated_at - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true - delete_branch_on_merge: - type: boolean - example: false allow_merge_commit: type: boolean example: true @@ -49811,31 +49707,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -49854,6 +49740,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -50540,31 +50428,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -50583,6 +50461,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -50825,7 +50705,6 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit - language: forks_count: 9 forks: 9 stargazers_count: 80 @@ -50857,10 +50736,7 @@ paths: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -50954,7 +50830,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -50983,8 +50858,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -51000,6 +50873,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51071,7 +50945,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -51100,8 +50973,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -51117,6 +50988,8 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false '403': description: Forbidden content: @@ -62713,10 +62586,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -62744,6 +62613,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -62988,7 +62859,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -63016,10 +62886,9 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false head_commit: id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d @@ -63743,31 +63612,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -63786,6 +63645,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -63940,7 +63801,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -63969,10 +63829,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -63986,6 +63843,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64660,10 +64518,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -64691,6 +64545,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -64935,7 +64791,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -64963,10 +64818,9 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false head_commit: id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d @@ -66241,10 +66095,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -66272,6 +66122,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -70905,32 +70757,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -70950,6 +70792,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -71745,32 +71589,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -71790,6 +71624,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -72262,6 +72098,7 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos + parent: head: label: octocat:new-topic ref: new-topic @@ -72386,22 +72223,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -72526,22 +72352,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -74419,10 +74234,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -74450,6 +74261,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -74596,18 +74409,12 @@ paths: url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true + description: A great organization name: Octocat App description: '' external_url: https://example.com @@ -74721,28 +74528,13 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + allow_rebase_merge: true + template_repository: + allow_squash_merge: true + allow_merge_commit: true subscribers_count: 42 network_count: 0 - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - head_commit: - id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - message: |- - Merge pull request #6 from Spaceghost/patch-1 - - New line at end of file. - timestamp: '2016-10-10T00:00:00Z' - author: - name: The Octocat - email: octocat@nowhere.com - committer: - name: The Octocat - email: octocat@nowhere.com - latest_check_runs_count: 1 - check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -75184,10 +74976,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -75215,6 +75003,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -80451,6 +80241,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: ant-man note: |- @@ -82034,6 +81832,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: flash note: |- @@ -83371,32 +83177,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -83416,6 +83212,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -84504,10 +84302,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -84535,6 +84329,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -84683,10 +84479,10 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -85391,31 +85187,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -85434,6 +85220,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -85581,7 +85369,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -85620,13 +85407,11 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false '400': description: Bad Request content: @@ -89180,6 +88965,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#get-a-repository-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: owner in: path required: true @@ -89595,9 +89387,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -89972,10 +89769,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -90003,6 +89796,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -90773,10 +90568,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -90804,6 +90595,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -92535,31 +92328,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -92578,6 +92361,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -93066,17 +92851,14 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: post: summary: Create an issue description: |- @@ -94456,31 +94238,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -94499,6 +94271,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -96092,15 +95866,13 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: comments patch: @@ -98697,32 +98469,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -98742,6 +98504,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -99825,6 +99589,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/events/{event_id}": @@ -101172,31 +100943,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -101215,6 +100976,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -102286,6 +102049,21 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}": @@ -103622,31 +103400,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -103665,6 +103433,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -105576,31 +105346,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -105619,6 +105379,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -107440,31 +107202,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -107483,6 +107235,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -109184,31 +108938,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -109227,6 +108971,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -111005,6 +110751,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}/labels": @@ -111783,9 +111536,15 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues - subcategory: delete: summary: Unlock an issue description: Users with push access can unlock an issue's conversation. @@ -116139,10 +115898,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -116170,6 +115925,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -116491,7 +116248,7 @@ paths: category: repos subcategory: pages post: - summary: Create a GitHub Enterprise Server Pages site + summary: Create a GitHub Pages site description: Configures a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)." tags: @@ -116527,12 +116284,16 @@ paths: branch: type: string description: The repository branch used to publish your site's - source files. + source files. Can be either `master` or `gh-pages`. + enum: + - master + - gh-pages path: type: string - description: 'The repository directory that includes the source - files for the Pages site. Allowed paths are `/` or `/docs`. - Default: `/`' + description: The repository directory that includes the source + files for the Pages site. When `branch` is `master`, you can + change `path` to `/docs`. When `branch` is `gh-pages`, you + are unable to specify a `path` other than `/`. enum: - "/" - "/docs" @@ -116543,7 +116304,7 @@ paths: - source example: source: - branch: main + branch: master path: "/docs" responses: '201': @@ -116695,7 +116456,7 @@ paths: category: repos subcategory: pages put: - summary: Update information about a GitHub Enterprise Server Pages site + summary: Update information about a GitHub Pages site description: Updates information for a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). tags: @@ -116721,12 +116482,6 @@ paths: schema: type: object properties: - cname: - type: string - 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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)." - nullable: true source: anyOf: - type: string @@ -116756,13 +116511,16 @@ paths: required: - branch - path - required: - - source + type: string + description: Update the source for the repository. Must include + the branch name, and may optionally specify the subdirectory `/docs`. + Possible values are `"gh-pages"`, `"master"`, and `"master /docs"`. + enum: + - gh-pages + - master + - master /docs example: - cname: octocatblog.com - source: - branch: main - path: "/" + source: master /docs responses: '204': description: Empty response @@ -118618,9 +118376,8 @@ paths: summary: List pull requests description: Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository - billing plans, and in public and private repositories with GitHub Team and - GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) - in the GitHub Help documentation. + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/list @@ -120056,32 +119813,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -120101,6 +119848,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -120896,32 +120645,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -120941,6 +120680,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -121413,6 +121154,7 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos + parent: head: label: octocat:new-topic ref: new-topic @@ -121537,22 +121279,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -121677,22 +121408,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -121766,19 +121486,32 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: post: summary: Create a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - - You can create a new pull request. - - This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.20/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new + pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). + Creating content too quickly using this endpoint may result in abuse rate + limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)" + for details. tags: - pulls operationId: pulls/create @@ -122821,8 +122554,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -122878,6 +122609,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -123264,8 +122997,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -123332,6 +123063,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -124011,7 +123744,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -124038,7 +123770,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -124050,6 +123781,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -124144,7 +123876,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -124171,7 +123902,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -124183,6 +123913,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -124297,9 +124028,22 @@ paths: triggersNotification: true githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/comments": get: summary: List review comments in a repository @@ -127431,8 +127175,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -127488,6 +127230,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -127874,8 +127618,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -127942,6 +127684,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -128621,7 +128365,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -128648,7 +128391,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -128660,6 +128402,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -128754,7 +128497,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -128781,7 +128523,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -128793,6 +128534,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -128878,10 +128620,10 @@ paths: subcategory: patch: summary: Update a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/update @@ -129919,8 +129661,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -129976,6 +129716,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -130362,8 +130104,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -130430,6 +130170,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -131109,7 +130851,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -131136,7 +130877,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -131148,6 +130888,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -131242,7 +130983,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -131269,7 +131009,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -131281,6 +131020,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -131389,9 +131129,22 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/{pull_number}/comments": get: summary: List review comments on a pull request @@ -134987,31 +134740,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -135030,6 +134773,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -135823,31 +135568,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -135866,6 +135601,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -136467,7 +136204,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -136496,10 +136232,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -136513,6 +136246,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -136607,7 +136341,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -136636,10 +136369,7 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -136653,6 +136383,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -145999,31 +145730,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -146042,6 +145763,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -146189,7 +145912,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -146228,13 +145950,11 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -147036,31 +146756,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -147079,6 +146789,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -147226,7 +146938,6 @@ paths: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -147265,6 +146976,9 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit + anonymous_access_enabled: false + template_repository: + anonymous_access_enabled: false headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -147647,10 +147361,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -147678,6 +147388,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -148281,10 +147993,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -148312,6 +148020,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -149180,10 +148890,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -149211,6 +148917,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -150739,32 +150447,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -150784,6 +150482,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -153467,8 +153167,6 @@ paths: pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... - pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -153554,8 +153252,6 @@ paths: pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... - pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 requestBody: content: application/json: @@ -153858,94 +153554,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -153959,6 +153680,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -154017,7 +153771,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -154040,7 +153793,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -154051,19 +153803,12 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: patch: summary: Update a team description: |- @@ -154222,94 +153967,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -154323,6 +154093,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -154381,7 +154184,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -154404,7 +154206,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -154415,6 +154216,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com requestBody: content: application/json: @@ -154455,8 +154257,7 @@ paths: default: pull parent_team_id: type: integer - description: 'The ID of a team to set as the parent team. **Note**: - You must pass the `hellcat-preview` media type to use this parameter.' + description: The ID of a team to set as the parent team. required: - name example: @@ -154466,22 +154267,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: delete: summary: Delete a team description: |- To delete a team, the authenticated user must be an organization owner or team maintainer. - If you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well. + If you are an organization owner, deleting a parent team will delete all of its child teams as well. operationId: teams/delete tags: - teams @@ -154500,16 +154293,8 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: "/teams/{team_id}/discussions": get: summary: List discussions @@ -154522,20 +154307,15 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussions/#list-discussions parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true schema: type: integer - name: direction - description: One of `asc` (ascending) or `desc` (descending). + description: Sorts the discussion comments by the date they were created. + To return the oldest comments first, set to `asc`. Can be one of `asc` or + `desc`. in: query required: false schema: @@ -154841,15 +154621,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -154873,13 +154645,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussions/#create-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -155187,15 +154952,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -155218,13 +154975,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussions/#get-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -155511,15 +155261,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -155542,13 +155284,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussions/#update-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -155849,15 +155584,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -155879,13 +155606,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussions/#delete-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -155902,14 +155622,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` + previews: [] category: teams subcategory: discussions "/teams/{team_id}/discussions/{discussion_number}/comments": @@ -155924,13 +155637,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#list-discussion-comments parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -155942,7 +155648,9 @@ paths: schema: type: integer - name: direction - description: One of `asc` (ascending) or `desc` (descending). + description: Sorts the discussion comments by the date they were created. + To return the oldest comments first, set to `asc`. Can be one of `asc` or + `desc`. in: query required: false schema: @@ -156215,15 +155923,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -156247,13 +155947,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#create-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -156521,15 +156214,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -156552,13 +156237,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#get-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -156817,15 +156495,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -156847,13 +156517,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#update-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -157125,15 +156788,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -157155,13 +156810,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#delete-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - name: team_id in: path required: true @@ -157183,14 +156831,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` + previews: [] category: teams subcategory: discussion-comments "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": @@ -157210,7 +156851,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - name: team_id in: path @@ -157425,15 +157066,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -157443,7 +157076,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: post: summary: Create reaction for a team discussion comment description: 'Create a reaction to a [team discussion comment](https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/). @@ -157462,7 +157094,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - name: team_id in: path @@ -157664,15 +157296,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -157682,7 +157306,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: "/teams/{team_id}/discussions/{discussion_number}/reactions": get: summary: List reactions for a team discussion @@ -157700,7 +157323,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - name: team_id in: path @@ -157910,15 +157533,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -157928,7 +157543,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: post: summary: Create reaction for a team discussion description: 'Create a reaction to a [team discussion](https://developer.github.com/enterprise/2.20/v3/teams/discussions/). @@ -157947,7 +157561,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - name: team_id in: path @@ -158144,15 +157758,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: false previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -158162,12 +157768,11 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: "/teams/{team_id}/members": get: summary: List team members description: |- - If you pass the `hellcat-preview` media type, team members will include the members of child teams. + Team members will include the members of child teams. To list members in a team, the team must be visible to the authenticated user. operationId: teams/list-members @@ -158334,14 +157939,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams subcategory: members "/teams/{team_id}/members/{username}": @@ -158531,7 +158129,7 @@ paths: get: summary: Get team membership for a user description: |- - If you pass the `hellcat-preview` media type, team members will include the members of child teams. + Team members will include the members of child teams. To get a user's membership with a team, the team must be visible to the authenticated user. @@ -158602,14 +158200,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams subcategory: members put: @@ -158765,8 +158356,7 @@ paths: summary: List team projects description: Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list - all projects for the team. If you pass the `hellcat-preview` media type, the - response will include projects inherited from a parent team. + all projects for the team. operationId: teams/list-projects tags: - teams @@ -158988,28 +158578,19 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: inertia + - name: inertia note: |- The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: ```shell application/vnd.github.inertia-preview+json ``` - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` category: teams - subcategory: "/teams/{team_id}/projects/{project_id}": get: summary: Check team permissions for a project description: Checks whether a team has `read`, `write`, or `admin` permissions - for an organization project. If you pass the `hellcat-preview` media type, - the response will include projects inherited from a parent team. + for an organization project. The response includes projects inherited from + a parent team. operationId: teams/check-permissions-for-project tags: - teams @@ -159218,22 +158799,13 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: inertia + - name: inertia note: |- The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: ```shell application/vnd.github.inertia-preview+json ``` - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` category: teams - subcategory: put: summary: Add or update team project permissions description: Adds an organization project to a team. To add a project to a team @@ -159300,10 +158872,7 @@ paths: 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://developer.github.com/enterprise/2.20/v3/#http-verbs).\" - \ \n**Note**: If you pass the `hellcat-preview` media type, you - can promote—but not demote—a `permission` attribute inherited - from a parent team." + see \"[HTTP verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"" enum: - read - write @@ -159312,22 +158881,13 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: inertia + - name: inertia note: |- The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: ```shell application/vnd.github.inertia-preview+json ``` - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` category: teams - subcategory: delete: summary: Remove a project from a team description: Removes an organization project from a team. An organization owner @@ -159365,10 +158925,9 @@ paths: "/teams/{team_id}/repos": get: summary: List team repositories - description: |- - **Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team. - - If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team. + description: If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) + site administrator for your Enterprise instance, you will be able to list + all repositories for the team. operationId: teams/list-repos tags: - teams @@ -159723,10 +159282,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -159754,6 +159309,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -159902,11 +159459,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -159922,21 +159478,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: "/teams/{team_id}/repos/{owner}/{repo}": get: summary: Check team permissions for a repository description: |- - **Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked. + **Note**: Repositories inherited through a parent team will also be checked. You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.20/v3/media/) via the `Accept` header: operationId: teams/check-permissions-for-repo @@ -160289,10 +159837,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -160320,6 +159864,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -161335,31 +160881,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -161378,6 +160914,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -161452,15 +160990,9 @@ paths: - watchers_count - created_at - updated_at - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true - delete_branch_on_merge: - type: boolean - example: false allow_merge_commit: type: boolean example: true @@ -162208,31 +161740,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -162251,6 +161773,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -162937,31 +162461,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -162980,6 +162494,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -163236,7 +162752,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -163264,12 +162779,13 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: allow_squash_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 anonymous_access_enabled: false + visibility: public + delete_branch_on_merge: true source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -163341,7 +162857,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -163369,17 +162884,16 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: allow_squash_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 anonymous_access_enabled: false + visibility: public + delete_branch_on_merge: true permissions: pull: true - triage: true push: false - maintain: false admin: false '204': description: Response if repository is managed by this team @@ -163388,16 +162902,8 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: put: summary: Add or update team repository permissions description: |- @@ -163444,9 +162950,7 @@ paths: `admin` - team members can pull, push and administer this repository. \ \n \nIf no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the - team on this repository. \n**Note**: If you pass the `hellcat-preview` - media type, you can promote—but not demote—a `permission` attribute - inherited through a parent team." + team on this repository." enum: - pull - push @@ -163454,16 +162958,8 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: delete: summary: Remove a repository from a team description: 'If the authenticated user is an organization owner or a team maintainer, @@ -163505,7 +163001,7 @@ paths: "/teams/{team_id}/teams": get: summary: List child teams - description: You must use the `hellcat-preview` media type to use this endpoint. + description: '' operationId: teams/list-child tags: - teams @@ -163620,16 +163116,8 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: "/user": get: summary: Get the authenticated user @@ -163745,10 +163233,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -163920,9 +163404,6 @@ paths: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -164034,7 +163515,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -164080,7 +163560,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -164271,10 +163750,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -164403,7 +163878,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -166335,6 +165809,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: per_page description: Results per page (max 100) in: query @@ -166833,7 +166314,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/installations/{installation_id}/repositories": @@ -166854,6 +166341,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -167499,31 +166993,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -167542,6 +167026,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -167721,22 +167207,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -167775,6 +167250,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: false previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -167843,7 +167324,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations delete: @@ -167904,7 +167391,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/issues": @@ -169299,31 +168792,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -169342,6 +168825,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -169899,23 +169384,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -169942,17 +169415,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/user/keys": get: summary: List public SSH keys for the authenticated user @@ -172713,31 +172183,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -172756,6 +172216,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -172934,22 +172396,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false '418': description: Response definition missing '422': @@ -173751,31 +173202,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -173794,6 +173235,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -173941,7 +173384,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -173980,13 +173422,11 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -174499,10 +173939,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -174530,6 +173966,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -175758,31 +175196,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -175801,6 +175229,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -175979,22 +175409,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false application/vnd.github.v3.star+json: schema: type: array @@ -176618,31 +176037,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -176661,6 +176070,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -176844,22 +176255,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -177465,10 +176865,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -177496,6 +176892,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -177644,11 +177042,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -177863,94 +177260,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -177964,6 +177386,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -178045,7 +177500,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -178054,8 +177508,8 @@ paths: following: 0 html_url: https://github.com/octocat created_at: '2008-01-14T04:33:35Z' - updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com headers: Link: example: ; rel="next", ; @@ -178379,10 +177833,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -178554,9 +178004,6 @@ paths: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -180047,32 +179494,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -180092,6 +179529,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -182124,32 +181563,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -182169,6 +181598,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -184195,32 +183626,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -184240,6 +183661,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -186052,6 +185475,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#get-a-user-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: username in: path required: true @@ -186447,9 +185877,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/users/{username}/keys": get: summary: List public keys for a user @@ -188296,32 +187731,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -188341,6 +187766,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -190367,32 +189794,22 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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. @@ -190412,6 +189829,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -191517,10 +190936,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -191548,6 +190963,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -191696,11 +191113,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -192449,31 +191865,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -192492,6 +191898,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -192670,22 +192078,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false application/vnd.github.v3.star+json: schema: type: array @@ -193309,31 +192706,21 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -193352,6 +192739,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -193535,22 +192924,11 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -193921,10 +193299,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -193952,6 +193326,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -194100,11 +193476,10 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License diff --git a/descriptions/ghes-2.20/ghes-2.20.json b/descriptions/ghes-2.20/ghes-2.20.json index ce5689a8e6..145da204d2 100644 --- a/descriptions/ghes-2.20/ghes-2.20.json +++ b/descriptions/ghes-2.20/ghes-2.20.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -894,7 +894,7 @@ "/admin/ldap/teams/{team_id}/mapping": { "patch": { "summary": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://developer.github.com/enterprise/2.20/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://developer.github.com/enterprise/2.20/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.", "operationId": "enterprise-admin/update-ldap-mapping-for-team", "tags": [ "enterprise-admin" @@ -947,11 +947,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], "category": "enterprise-admin", "subcategory": "ldap" @@ -1413,7 +1409,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/pre-receive-environment" + "$ref": "#/components/examples/pre-receive-environment-2" } } } @@ -2237,7 +2233,7 @@ }, "email": { "type": "string", - "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.18/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.20/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." } }, "required": [ @@ -2496,10 +2492,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -2601,21 +2600,20 @@ }, "parameters": [ { - "$ref": "#/components/parameters/per_page" - }, - { - "$ref": "#/components/parameters/page" + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true }, { - "$ref": "#/components/parameters/since" + "$ref": "#/components/parameters/per_page" }, { - "name": "outdated", - "in": "query", - "required": false, - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/page" } ], "responses": { @@ -2647,10 +2645,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -2667,6 +2668,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#get-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" } @@ -2698,15 +2709,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://developer.github.com/enterprise/2.20/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -2716,6 +2730,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#delete-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" } @@ -2732,10 +2756,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "gambit", + "note": "Uninstalling GitHub Apps and revoking an app's installation token are currently available for developers to preview. To access the new endpoint during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.gambit-preview+json\n```" + }, + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -2752,6 +2784,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#create-an-installation-access-token-for-an-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" } @@ -2848,10 +2890,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -3496,10 +3541,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -5952,6 +6000,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/installations/#list-repositories-accessible-to-the-app-installation" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/per_page" }, @@ -6009,6 +6067,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -6199,12 +6262,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -7814,6 +7876,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#get-an-organization-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/org" } @@ -7839,10 +7911,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -7859,6 +7934,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/orgs/#list-app-installations-for-an-organization" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/org" }, @@ -7906,10 +7991,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "orgs", - "subcategory": null + "category": "orgs" } } }, @@ -8026,12 +8114,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -11349,7 +11436,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -11367,18 +11454,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } } }, @@ -17663,6 +17743,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "ant-man", @@ -17944,6 +18029,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "flash", @@ -19805,6 +19895,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#get-a-repository-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/owner" }, @@ -19839,10 +19939,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -20159,12 +20262,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "post": { @@ -20456,8 +20558,8 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -20836,6 +20938,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -20905,6 +21012,16 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + }, + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -21511,6 +21628,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -21926,10 +22048,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "delete": { @@ -23696,7 +23821,7 @@ } }, "post": { - "summary": "Create a GitHub Enterprise Server Pages site", + "summary": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"", "tags": [ "repos" @@ -23727,11 +23852,15 @@ "properties": { "branch": { "type": "string", - "description": "The repository branch used to publish your site's source files." + "description": "The repository branch used to publish your site's source files. Can be either `master` or `gh-pages`.", + "enum": [ + "master", + "gh-pages" + ] }, "path": { "type": "string", - "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`", + "description": "The repository directory that includes the source files for the Pages site. When `branch` is `master`, you can change `path` to `/docs`. When `branch` is `gh-pages`, you are unable to specify a `path` other than `/`.", "enum": [ "/", "/docs" @@ -23750,7 +23879,7 @@ }, "example": { "source": { - "branch": "main", + "branch": "master", "path": "/docs" } } @@ -23798,7 +23927,7 @@ } }, "put": { - "summary": "Update information about a GitHub Enterprise Server Pages site", + "summary": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).", "tags": [ "repos" @@ -23822,11 +23951,6 @@ "schema": { "type": "object", "properties": { - "cname": { - "type": "string", - "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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/).\"", - "nullable": true - }, "source": { "anyOf": [ { @@ -23860,19 +23984,19 @@ "path" ] } + ], + "type": "string", + "description": "Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `\"gh-pages\"`, `\"master\"`, and `\"master /docs\"`.", + "enum": [ + "gh-pages", + "master", + "master /docs" ] } - }, - "required": [ - "source" - ] + } }, "example": { - "cname": "octocatblog.com", - "source": { - "branch": "main", - "path": "/" - } + "source": "master /docs" } } } @@ -24588,7 +24712,7 @@ "/repos/{owner}/{repo}/pulls": { "get": { "summary": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -24708,15 +24832,23 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } }, "post": { "summary": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.20/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)\" for details.", "tags": [ "pulls" ], @@ -24818,10 +24950,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -25352,7 +25492,7 @@ }, "patch": { "summary": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -25440,10 +25580,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "shadow-cat", + "note": "The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.shadow-cat-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -30217,7 +30365,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/ssh-key-items" + "$ref": "#/components/examples/ssh-key-items-2" } } } @@ -30317,7 +30465,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/ssh-key-items" + "$ref": "#/components/examples/ssh-key-items-2" } } } @@ -30549,14 +30697,9 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } }, "patch": { @@ -30626,7 +30769,7 @@ }, "parent_team_id": { "type": "integer", - "description": "The ID of a team to set as the parent team. **Note**: You must pass the `hellcat-preview` media type to use this parameter." + "description": "The ID of a team to set as the parent team." } }, "required": [ @@ -30645,19 +30788,14 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } }, "delete": { "summary": "Delete a team", - "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well.", + "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.", "operationId": "teams/delete", "tags": [ "teams" @@ -30680,14 +30818,9 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } } }, @@ -30704,21 +30837,22 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussions/#list-discussions" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, { - "$ref": "#/components/parameters/direction" + "name": "direction", + "description": "Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } }, { "$ref": "#/components/parameters/per-page" @@ -30757,12 +30891,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -30783,16 +30911,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussions/#create-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" } @@ -30852,12 +30970,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -30880,16 +30992,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussions/#get-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -30919,12 +31021,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -30945,16 +31041,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussions/#update-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -31006,12 +31092,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -31032,16 +31112,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussions/#delete-a-discussion" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -31058,11 +31128,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - } + ], "category": "teams", "subcategory": "discussions" @@ -31082,16 +31148,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#list-discussion-comments" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -31099,7 +31155,18 @@ "$ref": "#/components/parameters/discussion-number" }, { - "$ref": "#/components/parameters/direction" + "name": "direction", + "description": "Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } }, { "$ref": "#/components/parameters/per-page" @@ -31138,12 +31205,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -31164,16 +31225,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#create-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -31225,12 +31276,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -31253,16 +31298,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#get-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -31295,12 +31330,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -31321,16 +31350,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#update-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -31384,12 +31403,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } @@ -31410,16 +31423,6 @@ "url": "https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#delete-a-discussion-comment" }, "parameters": [ - { - "name": "accept", - "description": "This API is under preview and subject to change.", - "in": "header", - "schema": { - "type": "string", - "default": "application/vnd.github.echo-preview+json" - }, - "required": true - }, { "$ref": "#/components/parameters/team-id" }, @@ -31439,11 +31442,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - } + ], "category": "teams", "subcategory": "discussion-comments" @@ -31469,7 +31468,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -31538,18 +31537,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } }, "post": { @@ -31570,7 +31562,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -31637,18 +31629,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } } }, @@ -31671,7 +31656,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -31737,18 +31722,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } }, "post": { @@ -31769,7 +31747,7 @@ "in": "header", "schema": { "type": "string", - "default": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json" + "default": "application/vnd.github.squirrel-girl-preview+json" }, "required": true }, @@ -31833,25 +31811,18 @@ "enabledForGitHubApps": false, "previews": [ { - "required": true, - "name": "echo", - "note": "The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.echo-preview+json\n```" - }, - { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." } ], - "category": "reactions", - "subcategory": null + "category": "reactions" } } }, "/teams/{team_id}/members": { "get": { "summary": "List team members", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.", "operationId": "teams/list-members", "tags": [ "teams" @@ -31915,11 +31886,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], "category": "teams", "subcategory": "members" @@ -32118,7 +32085,7 @@ "/teams/{team_id}/memberships/{username}": { "get": { "summary": "Get team membership for a user", - "description": "If you pass the `hellcat-preview` media type, team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://developer.github.com/enterprise/2.20/v3/teams/#create-a-team).", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** The `role` for organization owners returns as `maintainer`. For more information about `maintainer` roles, see [Create a team](https://developer.github.com/enterprise/2.20/v3/teams/#create-a-team).", "operationId": "teams/get-membership-for-user", "tags": [ "teams" @@ -32162,11 +32129,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], "category": "teams", "subcategory": "members" @@ -32325,7 +32288,7 @@ "/teams/{team_id}/projects": { "get": { "summary": "List team projects", - "description": "Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.", + "description": "Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all projects for the team.", "operationId": "teams/list-projects", "tags": [ "teams" @@ -32385,25 +32348,18 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" - }, - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" } ], - "category": "teams", - "subcategory": null + "category": "teams" } } }, "/teams/{team_id}/projects/{project_id}": { "get": { "summary": "Check team permissions for a project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. If you pass the `hellcat-preview` media type, the response will include projects inherited from a parent team.", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.", "operationId": "teams/check-permissions-for-project", "tags": [ "teams" @@ -32455,18 +32411,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" - }, - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" } ], - "category": "teams", - "subcategory": null + "category": "teams" } }, "put": { @@ -32537,7 +32486,7 @@ "properties": { "permission": { "type": "string", - "description": "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://developer.github.com/enterprise/2.20/v3/#http-verbs).\" \n**Note**: If you pass the `hellcat-preview` media type, you can promote—but not demote—a `permission` attribute inherited from a parent team.", + "description": "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://developer.github.com/enterprise/2.20/v3/#http-verbs).\"", "enum": [ "read", "write", @@ -32554,18 +32503,11 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" - }, - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" } ], - "category": "teams", - "subcategory": null + "category": "teams" } }, "delete": { @@ -32606,7 +32548,7 @@ "/teams/{team_id}/repos": { "get": { "summary": "List team repositories", - "description": "**Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team.\n\nIf you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.", + "description": "If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team.", "operationId": "teams/list-repos", "tags": [ "teams" @@ -32655,21 +32597,16 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } } }, "/teams/{team_id}/repos/{owner}/{repo}": { "get": { "summary": "Check team permissions for a repository", - "description": "**Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.20/v3/media/) via the `Accept` header:", + "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.20/v3/media/) via the `Accept` header:", "operationId": "teams/check-permissions-for-repo", "tags": [ "teams" @@ -32721,14 +32658,9 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } }, "put": { @@ -32766,7 +32698,7 @@ "properties": { "permission": { "type": "string", - "description": "The permission to grant the team on this repository. Can be one of: \n\\* `pull` - team members can pull, but not push to or administer this repository. \n\\* `push` - team members can pull and push, but not administer this repository. \n\\* `admin` - team members can pull, push and administer this repository. \n \nIf no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. \n**Note**: If you pass the `hellcat-preview` media type, you can promote—but not demote—a `permission` attribute inherited through a parent team.", + "description": "The permission to grant the team on this repository. Can be one of: \n\\* `pull` - team members can pull, but not push to or administer this repository. \n\\* `push` - team members can pull and push, but not administer this repository. \n\\* `admin` - team members can pull, push and administer this repository. \n \nIf no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.", "enum": [ "pull", "push", @@ -32782,14 +32714,9 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } }, "delete": { @@ -32833,7 +32760,7 @@ "/teams/{team_id}/teams": { "get": { "summary": "List child teams", - "description": "You must use the `hellcat-preview` media type to use this endpoint.", + "description": "", "operationId": "teams/list-child", "tags": [ "teams" @@ -32882,14 +32809,9 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], - "category": "teams", - "subcategory": null + "category": "teams" } } }, @@ -33850,6 +33772,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/per_page" }, @@ -33906,7 +33838,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -33926,6 +33862,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" }, @@ -33985,6 +33931,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -34034,7 +33985,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -34077,7 +34032,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -34197,12 +34156,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -36367,6 +36325,16 @@ "url": "https://developer.github.com/enterprise/2.20/v3/apps/#get-a-user-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/username" } @@ -36392,10 +36360,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -37225,15 +37196,6 @@ "default": 30 } }, - "since": { - "name": "since", - "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, "installation_id": { "name": "installation_id", "description": "installation_id parameter", @@ -37285,6 +37247,15 @@ "type": "integer" } }, + "since": { + "name": "since", + "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, "gist_id": { "name": "gist_id", "description": "gist_id parameter", @@ -39463,15 +39434,9 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, - "delete_branch_on_merge": { - "type": "boolean" - }, "allow_merge_commit": { "type": "boolean" }, @@ -39480,24 +39445,18 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, "type": "boolean", "example": true }, - "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, @@ -39522,6 +39481,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -40642,23 +40604,6 @@ "created_at" ] }, - "link-with-type": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, "feed": { "title": "Feed", "description": "Feed", @@ -40698,45 +40643,97 @@ "format": "uri" } }, - "security_advisories_url": { - "type": "string", - "example": "https://github.com/security-advisories" - }, "_links": { - "type": "object", - "properties": { - "timeline": { - "$ref": "#/components/schemas/link-with-type" - }, - "user": { - "$ref": "#/components/schemas/link-with-type" - }, - "security_advisories": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_public": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_actor": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organization": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/link-with-type" - } - } - }, + "type": "array", "required": [ "timeline", "user" - ] + ], + "items": { + "type": "object", + "properties": { + "timeline": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_public": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_actor": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_organization": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + } + } } }, "required": [ @@ -41691,79 +41688,6 @@ "type": "boolean", "example": true }, - "ssh_key_fingerprints": { - "type": "object", - "properties": { - "MD5_RSA": { - "type": "string" - }, - "MD5_DSA": { - "type": "string" - }, - "SHA256_RSA": { - "type": "string" - }, - "SHA256_DSA": { - "type": "string" - } - } - }, - "hooks": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "web": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "api": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "git": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "pages": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "192.30.252.153/32", - "192.30.252.154/32" - ] - }, - "importer": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "54.158.161.132", - "54.226.70.38" - ] - }, "github_services_sha": { "type": "string", "example": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" @@ -42093,12 +42017,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, - "delete_branch_on_merge": { - "type": "boolean" - }, "subscribers_count": { "type": "integer" }, @@ -42137,6 +42055,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -42363,15 +42284,6 @@ "format": "email", "example": "octocat@github.com" }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, "has_organization_projects": { "type": "boolean", "example": true @@ -42957,166 +42869,6 @@ "slug" ] }, - "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", - "type": "object", - "properties": { - "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "events_url": { - "type": "string", - "format": "uri" - }, - "hooks_url": { - "type": "string" - }, - "issues_url": { - "type": "string" - }, - "members_url": { - "type": "string" - }, - "public_members_url": { - "type": "string" - }, - "avatar_url": { - "type": "string" - }, - "description": { - "type": "string", - "nullable": true - }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" - }, - "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" - }, - "email": { - "description": "Display email for the organization", - "example": "org@example.com", - "type": "string", - "format": "email" - }, - "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" - }, - "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" - }, - "public_repos": { - "type": "integer" - }, - "public_gists": { - "type": "integer" - }, - "followers": { - "type": "integer" - }, - "following": { - "type": "integer" - }, - "type": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "plan": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" - }, - "filled_seats": { - "type": "integer" - }, - "seats": { - "type": "integer" - } - } - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at" - ] - }, "team-full": { "title": "Full Team", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -43206,7 +42958,7 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "$ref": "#/components/schemas/organization" + "$ref": "#/components/schemas/organization-full" }, "ldap_dn": { "description": "Distinguished Name (DN) that team maps to within LDAP environment", @@ -43803,18 +43555,10 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true }, - "delete_branch_on_merge": { - "type": "boolean", - "example": false - }, "allow_merge_commit": { "type": "boolean", "example": true @@ -49121,9 +48865,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -49200,6 +48941,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -49707,9 +49451,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -49763,6 +49504,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -53323,11 +53067,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -53550,10 +53289,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -54146,6 +53881,24 @@ } } }, + "pre-receive-environment-2": { + "value": { + "id": 2, + "name": "DevTools Hook Env", + "image_url": "https://my_file_server/path/to/devtools_env.tar.gz", + "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2", + "html_url": "https://github.example.com/admin/pre-receive-environments/2", + "default_environment": false, + "created_at": "2016-05-20T11:35:45-05:00", + "hooks_count": 1, + "download": { + "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", + "state": "success", + "downloaded_at": "2016-05-26T07:42:53-05:00", + "message": null + } + } + }, "pre-receive-environment-default-response": { "value": { "id": 2, @@ -54278,24 +54031,36 @@ "authorization-items": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] }, @@ -54340,7 +54105,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } }, "integration": { @@ -54639,23 +54404,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -54935,43 +54688,40 @@ "current_user_organization_urls": [ "https://github.com/organizations/github/octocat.private.atom?token=abc123" ], - "security_advisories_url": "https://github.com/security-advisories", - "_links": { - "timeline": { - "href": "https://github.com/timeline", - "type": "application/atom+xml" - }, - "user": { - "href": "https://github.com/{user}", - "type": "application/atom+xml" - }, - "current_user_public": { - "href": "https://github.com/octocat", - "type": "application/atom+xml" - }, - "current_user": { - "href": "https://github.com/octocat.private?token=abc123", - "type": "application/atom+xml" - }, - "current_user_actor": { - "href": "https://github.com/octocat.private.actor?token=abc123", - "type": "application/atom+xml" - }, - "current_user_organization": { - "href": "", - "type": "" - }, - "current_user_organizations": [ - { - "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "_links": [ + { + "timeline": { + "href": "https://github.com/timeline", "type": "application/atom+xml" - } - ], - "security_advisories": { - "href": "https://github.com/security-advisories", - "type": "application/atom+xml" + }, + "user": { + "href": "https://github.com/{user}", + "type": "application/atom+xml" + }, + "current_user_public": { + "href": "https://github.com/octocat", + "type": "application/atom+xml" + }, + "current_user": { + "href": "https://github.com/octocat.private?token=abc123", + "type": "application/atom+xml" + }, + "current_user_actor": { + "href": "https://github.com/octocat.private.actor?token=abc123", + "type": "application/atom+xml" + }, + "current_user_organization": { + "href": "", + "type": "" + }, + "current_user_organizations": [ + { + "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "type": "application/atom+xml" + } + ] } - } + ] } }, "base-gist-items": { @@ -55342,23 +55092,11 @@ "updated_at": "2011-01-26T19:14:43Z", "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -55604,25 +55342,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] }, @@ -55709,34 +55434,7 @@ "api-overview": { "value": { "verifiable_password_authentication": true, - "ssh_key_fingerprints": { - "MD5_RSA": "16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48", - "MD5_DSA": "ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c", - "SHA256_RSA": "nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", - "SHA256_DSA": "br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ" - }, - "hooks": [ - "192.30.252.0/22" - ], - "web": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "api": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "git": [ - "192.30.252.0/22" - ], - "pages": [ - "192.30.252.153/32", - "192.30.252.154/32" - ], - "importer": [ - "54.158.161.132", - "54.226.70.38" - ] + "installed_version": "2.20.0" } }, "thread-items": { @@ -56052,8 +55750,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -56688,11 +56384,10 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -56776,7 +56471,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -56818,13 +56512,11 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } }, "team-items": { @@ -56858,7 +56550,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -56881,7 +56572,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -56892,7 +56582,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } }, "project-card": { @@ -57162,7 +56853,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -57196,10 +56886,7 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -57302,7 +56989,6 @@ "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, @@ -57333,8 +57019,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -57350,7 +57034,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -57424,7 +57109,6 @@ "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, @@ -57455,8 +57139,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -57472,8 +57154,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } }, "full-repository-response-with-scarlet-witch-preview-media-type": { @@ -57663,7 +57347,6 @@ "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" }, - "language": null, "forks_count": 9, "forks": 9, "stargazers_count": 80, @@ -57697,10 +57380,7 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -57796,7 +57476,6 @@ "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, @@ -57827,8 +57506,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -57844,7 +57521,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -57918,7 +57596,6 @@ "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, @@ -57949,8 +57626,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -57966,8 +57641,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } }, "short-branch-items": { @@ -58890,7 +58567,6 @@ "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, @@ -58920,10 +58596,9 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false }, "head_commit": { "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", @@ -59029,7 +58704,6 @@ "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, @@ -59060,10 +58734,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -59077,7 +58748,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } } }, @@ -59753,7 +59425,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -59884,23 +59557,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "base": { @@ -60031,23 +59692,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "_links": { @@ -60206,18 +59855,12 @@ "url": "https://api.github.com/orgs/github", "repos_url": "https://api.github.com/orgs/github/repos", "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true + "description": "A great organization" }, "name": "Octocat App", "description": "", @@ -60338,29 +59981,14 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "allow_rebase_merge": true, + "template_repository": null, + "allow_squash_merge": true, + "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 - }, - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "head_commit": { - "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "tree_id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", - "timestamp": "2016-10-10T00:00:00Z", - "author": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - }, - "committer": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - } - }, - "latest_check_runs_count": 1, - "check_runs_url": "https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs" + "network_count": 0, + "anonymous_access_enabled": false + } } ] } @@ -61395,10 +61023,10 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, + "template_repository": null, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -63469,7 +63097,6 @@ "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, @@ -63498,7 +63125,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -63510,7 +63136,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -63609,7 +63236,6 @@ "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, @@ -63638,7 +63264,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -63650,7 +63275,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -64341,7 +63967,6 @@ "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, @@ -64372,10 +63997,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -64389,7 +64011,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "base": { @@ -64488,7 +64111,6 @@ "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, @@ -64519,10 +64141,7 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, @@ -64536,7 +64155,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "_links": { @@ -65510,7 +65130,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -65551,6 +65170,10 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" + }, + "anonymous_access_enabled": false, + "template_repository": { + "anonymous_access_enabled": false } } }, @@ -66391,6 +66014,18 @@ ] } }, + "ssh-key-items-2": { + "value": [ + { + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", + "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" + }, + { + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", + "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" + } + ] + }, "ssh-key-items": { "value": [ { @@ -66931,7 +66566,6 @@ "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, @@ -66961,12 +66595,13 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, "allow_squash_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "anonymous_access_enabled": false + "anonymous_access_enabled": false, + "visibility": "public", + "delete_branch_on_merge": true }, "source": { "id": 1296269, @@ -67040,7 +66675,6 @@ "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, @@ -67070,18 +66704,17 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, "allow_squash_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "anonymous_access_enabled": false + "anonymous_access_enabled": false, + "visibility": "public", + "delete_branch_on_merge": true }, "permissions": { "pull": true, - "triage": true, "push": false, - "maintain": false, "admin": false } } @@ -67144,7 +66777,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -67193,7 +66825,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -67229,7 +66860,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -67567,23 +67197,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -67935,23 +67553,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] }, @@ -68064,23 +67670,11 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, - "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } } ] @@ -68122,7 +67716,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -68131,9 +67724,9 @@ "following": 0, "html_url": "https://github.com/octocat", "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } ] }, diff --git a/descriptions/ghes-2.20/ghes-2.20.yaml b/descriptions/ghes-2.20/ghes-2.20.yaml index 03f433db49..abc0c51477 100644 --- a/descriptions/ghes-2.20/ghes-2.20.yaml +++ b/descriptions/ghes-2.20/ghes-2.20.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.0.0-rc.1 + version: 1.0.0-rc.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -646,7 +646,7 @@ paths: description: |- Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://developer.github.com/enterprise/2.20/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping. - If you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team. + You can also update the LDAP mapping of a child team. operationId: enterprise-admin/update-ldap-mapping-for-team tags: - enterprise-admin @@ -680,14 +680,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: enterprise-admin subcategory: ldap "/admin/ldap/teams/{team_id}/sync": @@ -1004,7 +997,7 @@ paths: "$ref": "#/components/schemas/pre-receive-environment" examples: default: - "$ref": "#/components/examples/pre-receive-environment" + "$ref": "#/components/examples/pre-receive-environment-2" x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -1634,7 +1627,7 @@ paths: description: "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, - see the the [GitHub authentication guide](https://help.github.com/enterprise/2.18/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + see the the [GitHub authentication guide](https://help.github.com/enterprise/2.20/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." required: - login example: @@ -1801,9 +1794,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app-manifests/{code}/conversions": post: summary: Create a GitHub App from a manifest @@ -1874,14 +1872,15 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#list-installations-for-the-authenticated-app parameters: - - "$ref": "#/components/parameters/per_page" - - "$ref": "#/components/parameters/page" - - "$ref": "#/components/parameters/since" - - name: outdated - in: query - required: false + - name: accept + description: This API is under preview and subject to change. + in: header schema: type: string + default: application/vnd.github.machine-man-preview+json + required: true + - "$ref": "#/components/parameters/per_page" + - "$ref": "#/components/parameters/page" responses: '200': description: The permissions the installation has are included under the @@ -1901,9 +1900,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}": get: summary: Get an installation for the authenticated app @@ -1918,6 +1922,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#get-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" responses: '200': @@ -1936,15 +1947,19 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: delete: summary: Delete an installation for the authenticated app - description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://developer.github.com/enterprise/2.20/v3/apps/#suspend-an-app-installation)" endpoint. - - You must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + description: Uninstalls a GitHub App on a user, organization, or business account. + You must use a [JWT](https://developer.github.com/enterprise/2.20/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) + to access this endpoint. tags: - apps operationId: apps/delete-installation @@ -1952,6 +1967,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#delete-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.gambit-preview+json,application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" responses: '204': @@ -1961,9 +1983,21 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: gambit + note: |- + Uninstalling GitHub Apps and revoking an app's installation token are currently available for developers to preview. To access the new endpoint during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.gambit-preview+json + ``` + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}/access_tokens": post: summary: Create an installation access token for an app @@ -1978,6 +2012,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#create-an-installation-access-token-for-an-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" requestBody: content: @@ -2042,9 +2083,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/applications/grants": get: summary: List your grants @@ -2501,9 +2547,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/authorizations": get: summary: List your authorizations @@ -4203,6 +4254,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/installations/#list-repositories-accessible-to-the-app-installation parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" responses: @@ -4238,6 +4296,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -4385,17 +4449,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/licenses": get: summary: Get all commonly used licenses @@ -5546,6 +5607,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#get-an-organization-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/org" responses: '200': @@ -5560,9 +5628,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/orgs/{org}/installations": get: summary: List app installations for an organization @@ -5576,6 +5649,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/orgs/#list-app-installations-for-an-organization parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" @@ -5602,9 +5682,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: orgs - subcategory: "/orgs/{org}/issues": get: summary: List organization issues assigned to the authenticated user @@ -5691,17 +5776,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/orgs/{org}/members": get: summary: List organization members @@ -8105,7 +8187,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - "$ref": "#/components/parameters/reaction-id" responses: @@ -8115,15 +8197,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -8133,7 +8207,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: "/repos/{owner}/{repo}": get: summary: Get a repository @@ -12885,6 +12958,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: ant-man note: |- @@ -13132,6 +13213,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: flash note: |- @@ -14544,6 +14633,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#get-a-repository-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" responses: @@ -14563,9 +14659,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -14774,17 +14875,14 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: post: summary: Create an issue description: |- @@ -14984,15 +15082,13 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: comments patch: @@ -15250,6 +15346,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/events/{event_id}": @@ -15299,6 +15402,21 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}": @@ -15720,6 +15838,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}/labels": @@ -15984,9 +16109,15 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues - subcategory: delete: summary: Unlock an issue description: Users with push access can unlock an issue's conversation. @@ -17138,7 +17269,7 @@ paths: category: repos subcategory: pages post: - summary: Create a GitHub Enterprise Server Pages site + summary: Create a GitHub Pages site description: Configures a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)." tags: @@ -17166,12 +17297,16 @@ paths: branch: type: string description: The repository branch used to publish your site's - source files. + source files. Can be either `master` or `gh-pages`. + enum: + - master + - gh-pages path: type: string - description: 'The repository directory that includes the source - files for the Pages site. Allowed paths are `/` or `/docs`. - Default: `/`' + description: The repository directory that includes the source + files for the Pages site. When `branch` is `master`, you can + change `path` to `/docs`. When `branch` is `gh-pages`, you + are unable to specify a `path` other than `/`. enum: - "/" - "/docs" @@ -17182,7 +17317,7 @@ paths: - source example: source: - branch: main + branch: master path: "/docs" responses: '201': @@ -17214,7 +17349,7 @@ paths: category: repos subcategory: pages put: - summary: Update information about a GitHub Enterprise Server Pages site + summary: Update information about a GitHub Pages site description: Updates information for a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). tags: @@ -17232,12 +17367,6 @@ paths: schema: type: object properties: - cname: - type: string - 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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)." - nullable: true source: anyOf: - type: string @@ -17267,13 +17396,16 @@ paths: required: - branch - path - required: - - source + type: string + description: Update the source for the repository. Must include + the branch name, and may optionally specify the subdirectory `/docs`. + Possible values are `"gh-pages"`, `"master"`, and `"master /docs"`. + enum: + - gh-pages + - master + - master /docs example: - cname: octocatblog.com - source: - branch: main - path: "/" + source: master /docs responses: '204': description: Empty response @@ -17769,9 +17901,8 @@ paths: summary: List pull requests description: Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository - billing plans, and in public and private repositories with GitHub Team and - GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) - in the GitHub Help documentation. + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/list @@ -17854,19 +17985,32 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: post: summary: Create a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - - You can create a new pull request. - - This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.20/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new + pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). + Creating content too quickly using this endpoint may result in abuse rate + limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.20/v3/#abuse-rate-limits)" + for details. tags: - pulls operationId: pulls/create @@ -17942,9 +18086,22 @@ paths: triggersNotification: true githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/comments": get: summary: List review comments in a repository @@ -18390,10 +18547,10 @@ paths: subcategory: patch: summary: Update a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/update @@ -18454,9 +18611,22 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: shadow-cat + note: |- + The Draft Pull Request API is currently available for developers to preview. You can use this API to create a draft pull request or see whether a pull request is in draft state. See the [blog post](https://developer.github.com/changes/2019-02-14-draft-pull-requests) preview for more details. To access the new `draft` parameter during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.shadow-cat-preview+json + ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/{pull_number}/comments": get: summary: List review comments on a pull request @@ -21870,7 +22040,7 @@ paths: "$ref": "#/components/schemas/ssh-key" examples: default: - "$ref": "#/components/examples/ssh-key-items" + "$ref": "#/components/examples/ssh-key-items-2" x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21935,7 +22105,7 @@ paths: "$ref": "#/components/schemas/ssh-key" examples: default: - "$ref": "#/components/examples/ssh-key-items" + "$ref": "#/components/examples/ssh-key-items-2" requestBody: content: application/json: @@ -22107,16 +22277,8 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: patch: summary: Update a team description: |- @@ -22181,8 +22343,7 @@ paths: default: pull parent_team_id: type: integer - description: 'The ID of a team to set as the parent team. **Note**: - You must pass the `hellcat-preview` media type to use this parameter.' + description: The ID of a team to set as the parent team. required: - name example: @@ -22192,22 +22353,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: delete: summary: Delete a team description: |- To delete a team, the authenticated user must be an organization owner or team maintainer. - If you are an organization owner and you pass the `hellcat-preview` media type, deleting a parent team will delete all of its child teams as well. + If you are an organization owner, deleting a parent team will delete all of its child teams as well. operationId: teams/delete tags: - teams @@ -22222,16 +22375,8 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: "/teams/{team_id}/discussions": get: summary: List discussions @@ -22244,15 +22389,19 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussions/#list-discussions parameters: - - name: accept - description: This API is under preview and subject to change. - in: header + - "$ref": "#/components/parameters/team-id" + - name: direction + description: Sorts the discussion comments by the date they were created. + To return the oldest comments first, set to `asc`. Can be one of `asc` or + `desc`. + in: query + required: false schema: type: string - default: application/vnd.github.echo-preview+json - required: true - - "$ref": "#/components/parameters/team-id" - - "$ref": "#/components/parameters/direction" + enum: + - asc + - desc + default: desc - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" responses: @@ -22274,15 +22423,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22306,13 +22447,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussions/#create-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" responses: '201': @@ -22354,15 +22488,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22385,13 +22511,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussions/#get-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" responses: @@ -22408,15 +22527,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22439,13 +22550,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussions/#update-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" responses: @@ -22476,15 +22580,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22506,13 +22602,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussions/#delete-a-discussion parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" responses: @@ -22521,14 +22610,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` + previews: [] category: teams subcategory: discussions "/teams/{team_id}/discussions/{discussion_number}/comments": @@ -22543,16 +22625,20 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#list-discussion-comments parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" - - "$ref": "#/components/parameters/direction" + - name: direction + description: Sorts the discussion comments by the date they were created. + To return the oldest comments first, set to `asc`. Can be one of `asc` or + `desc`. + in: query + required: false + schema: + type: string + enum: + - asc + - desc + default: desc - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" responses: @@ -22574,15 +22660,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22606,13 +22684,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#create-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" responses: @@ -22643,15 +22714,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22674,13 +22737,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#get-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" - "$ref": "#/components/parameters/comment-number" @@ -22698,15 +22754,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22728,13 +22776,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#update-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" - "$ref": "#/components/parameters/comment-number" @@ -22765,15 +22806,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: false - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22795,13 +22828,6 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/#delete-a-discussion-comment parameters: - - name: accept - description: This API is under preview and subject to change. - in: header - schema: - type: string - default: application/vnd.github.echo-preview+json - required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" - "$ref": "#/components/parameters/comment-number" @@ -22811,14 +22837,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` + previews: [] category: teams subcategory: discussion-comments "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": @@ -22838,7 +22857,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" @@ -22880,15 +22899,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22898,7 +22909,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: post: summary: Create reaction for a team discussion comment description: 'Create a reaction to a [team discussion comment](https://developer.github.com/enterprise/2.20/v3/teams/discussion_comments/). @@ -22917,7 +22927,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" @@ -22959,15 +22969,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -22977,7 +22979,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: "/teams/{team_id}/discussions/{discussion_number}/reactions": get: summary: List reactions for a team discussion @@ -22995,7 +22996,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" @@ -23036,15 +23037,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -23054,7 +23047,6 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: post: summary: Create reaction for a team discussion description: 'Create a reaction to a [team discussion](https://developer.github.com/enterprise/2.20/v3/teams/discussions/). @@ -23073,7 +23065,7 @@ paths: in: header schema: type: string - default: application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json + default: application/vnd.github.squirrel-girl-preview+json required: true - "$ref": "#/components/parameters/team-id" - "$ref": "#/components/parameters/discussion-number" @@ -23114,15 +23106,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: false previews: - - required: true - name: echo - note: |- - The team discussions API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-07-team-discussions-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.echo-preview+json - ``` - - required: true - name: squirrel-girl + - name: squirrel-girl note: |- An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. @@ -23132,12 +23116,11 @@ paths: ``` The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. category: reactions - subcategory: "/teams/{team_id}/members": get: summary: List team members description: |- - If you pass the `hellcat-preview` media type, team members will include the members of child teams. + Team members will include the members of child teams. To list members in a team, the team must be visible to the authenticated user. operationId: teams/list-members @@ -23181,14 +23164,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams subcategory: members "/teams/{team_id}/members/{username}": @@ -23343,7 +23319,7 @@ paths: get: summary: Get team membership for a user description: |- - If you pass the `hellcat-preview` media type, team members will include the members of child teams. + Team members will include the members of child teams. To get a user's membership with a team, the team must be visible to the authenticated user. @@ -23374,14 +23350,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams subcategory: members put: @@ -23493,8 +23462,7 @@ paths: summary: List team projects description: Lists the organization projects for a team. If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list - all projects for the team. If you pass the `hellcat-preview` media type, the - response will include projects inherited from a parent team. + all projects for the team. operationId: teams/list-projects tags: - teams @@ -23531,28 +23499,19 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: inertia + - name: inertia note: |- The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: ```shell application/vnd.github.inertia-preview+json ``` - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` category: teams - subcategory: "/teams/{team_id}/projects/{project_id}": get: summary: Check team permissions for a project description: Checks whether a team has `read`, `write`, or `admin` permissions - for an organization project. If you pass the `hellcat-preview` media type, - the response will include projects inherited from a parent team. + for an organization project. The response includes projects inherited from + a parent team. operationId: teams/check-permissions-for-project tags: - teams @@ -23585,22 +23544,13 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: inertia + - name: inertia note: |- The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: ```shell application/vnd.github.inertia-preview+json ``` - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` category: teams - subcategory: put: summary: Add or update team project permissions description: Adds an organization project to a team. To add a project to a team @@ -23659,10 +23609,7 @@ paths: 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://developer.github.com/enterprise/2.20/v3/#http-verbs).\" - \ \n**Note**: If you pass the `hellcat-preview` media type, you - can promote—but not demote—a `permission` attribute inherited - from a parent team." + see \"[HTTP verbs](https://developer.github.com/enterprise/2.20/v3/#http-verbs).\"" enum: - read - write @@ -23671,22 +23618,13 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: - - required: true - name: inertia + - name: inertia note: |- The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: ```shell application/vnd.github.inertia-preview+json ``` - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` category: teams - subcategory: delete: summary: Remove a project from a team description: Removes an organization project from a team. An organization owner @@ -23716,10 +23654,9 @@ paths: "/teams/{team_id}/repos": get: summary: List team repositories - description: |- - **Note**: If you pass the `hellcat-preview` media type, the response will include any repositories inherited through a parent team. - - If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) site administrator for your Enterprise instance, you will be able to list all repositories for the team. + description: If you are an [authenticated](https://developer.github.com/enterprise/2.20/v3/#authentication) + site administrator for your Enterprise instance, you will be able to list + all repositories for the team. operationId: teams/list-repos tags: - teams @@ -23748,21 +23685,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: "/teams/{team_id}/repos/{owner}/{repo}": get: summary: Check team permissions for a repository description: |- - **Note**: If you pass the `hellcat-preview` media type, repositories inherited through a parent team will be checked. + **Note**: Repositories inherited through a parent team will also be checked. You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://developer.github.com/enterprise/2.20/v3/media/) via the `Accept` header: operationId: teams/check-permissions-for-repo @@ -23795,16 +23724,8 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: put: summary: Add or update team repository permissions description: |- @@ -23839,9 +23760,7 @@ paths: `admin` - team members can pull, push and administer this repository. \ \n \nIf no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the - team on this repository. \n**Note**: If you pass the `hellcat-preview` - media type, you can promote—but not demote—a `permission` attribute - inherited through a parent team." + team on this repository." enum: - pull - push @@ -23849,16 +23768,8 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: delete: summary: Remove a repository from a team description: 'If the authenticated user is an organization owner or a team maintainer, @@ -23888,7 +23799,7 @@ paths: "/teams/{team_id}/teams": get: summary: List child teams - description: You must use the `hellcat-preview` media type to use this endpoint. + description: '' operationId: teams/list-child tags: - teams @@ -23917,16 +23828,8 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: teams - subcategory: "/user": get: summary: Get the authenticated user @@ -24568,6 +24471,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" responses: @@ -24602,7 +24512,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/installations/{installation_id}/repositories": @@ -24623,6 +24539,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" @@ -24659,6 +24582,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: false previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -24696,7 +24625,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations delete: @@ -24726,7 +24661,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/issues": @@ -24816,17 +24757,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.20/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/user/keys": get: summary: List public SSH keys for the authenticated user @@ -26286,6 +26224,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.20/v3/apps/#get-a-user-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/username" responses: '200': @@ -26300,9 +26245,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.20/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/users/{username}/keys": get: summary: List public keys for a user @@ -26862,15 +26812,6 @@ components: schema: type: integer default: 30 - since: - name: since - description: 'Only show notifications updated after the given time. This is - a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: - `YYYY-MM-DDTHH:MM:SSZ`.' - in: query - required: false - schema: - type: string installation_id: name: installation_id description: installation_id parameter @@ -26910,6 +26851,15 @@ components: required: true schema: type: integer + since: + name: since + description: 'Only show notifications updated after the given time. This is + a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: + `YYYY-MM-DDTHH:MM:SSZ`.' + in: query + required: false + schema: + type: string gist_id: name: gist_id description: gist_id parameter @@ -28524,30 +28474,21 @@ components: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean - delete_branch_on_merge: - type: boolean allow_merge_commit: type: boolean subscribers_count: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true type: boolean example: true - 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 @@ -28566,6 +28507,8 @@ components: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -29434,18 +29377,6 @@ components: - payload - public - created_at - link-with-type: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type feed: title: Feed description: Feed @@ -29476,33 +29407,65 @@ components: items: type: string format: uri - security_advisories_url: - type: string - example: https://github.com/security-advisories _links: - type: object - properties: - timeline: - "$ref": "#/components/schemas/link-with-type" - user: - "$ref": "#/components/schemas/link-with-type" - security_advisories: - "$ref": "#/components/schemas/link-with-type" - current_user: - "$ref": "#/components/schemas/link-with-type" - current_user_public: - "$ref": "#/components/schemas/link-with-type" - current_user_actor: - "$ref": "#/components/schemas/link-with-type" - current_user_organization: - "$ref": "#/components/schemas/link-with-type" - current_user_organizations: - type: array - items: - "$ref": "#/components/schemas/link-with-type" + type: array required: - timeline - user + items: + type: object + properties: + timeline: + type: object + properties: + href: + type: string + type: + type: string + user: + type: object + properties: + href: + type: string + type: + type: string + current_user_public: + type: object + properties: + href: + type: string + type: + type: string + current_user: + type: object + properties: + href: + type: string + type: + type: string + current_user_actor: + type: object + properties: + href: + type: string + type: + type: string + current_user_organization: + type: object + properties: + href: + type: string + type: + type: string + current_user_organizations: + type: array + items: + type: object + properties: + href: + type: string + type: + type: string required: - _links - timeline_url @@ -30224,55 +30187,6 @@ components: verifiable_password_authentication: type: boolean example: true - ssh_key_fingerprints: - type: object - properties: - MD5_RSA: - type: string - MD5_DSA: - type: string - SHA256_RSA: - type: string - SHA256_DSA: - type: string - hooks: - type: array - items: - type: string - example: - - 127.0.0.1/32 - web: - type: array - items: - type: string - example: - - 127.0.0.1/32 - api: - type: array - items: - type: string - example: - - 127.0.0.1/32 - git: - type: array - items: - type: string - example: - - 127.0.0.1/32 - pages: - type: array - items: - type: string - example: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - type: array - items: - type: string - example: - - 54.158.161.132 - - 54.226.70.38 github_services_sha: type: string example: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15 @@ -30515,10 +30429,6 @@ components: type: boolean template_repository: type: string - temp_clone_token: - type: string - delete_branch_on_merge: - type: boolean subscribers_count: type: integer network_count: @@ -30546,6 +30456,8 @@ components: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -30725,13 +30637,6 @@ components: type: string format: email example: octocat@github.com - twitter_username: - type: string - example: github - nullable: true - is_verified: - type: boolean - example: true has_organization_projects: type: boolean example: true @@ -31180,129 +31085,6 @@ components: - html_url - repositories_url - slug - organization: - title: Organization - description: GitHub account for managing multiple users, teams, and repositories - type: object - properties: - login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri - id: - type: integer - node_id: - type: string - repos_url: - type: string - format: uri - events_url: - type: string - format: uri - hooks_url: - type: string - issues_url: - type: string - members_url: - type: string - public_members_url: - type: string - avatar_url: - type: string - description: - type: string - nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri - name: - description: Display name for the organization - example: New Org - type: string - company: - description: Display company name for the organization - example: Acme corporation - type: string - location: - description: Display location for the organization - example: Berlin, Germany - type: string - email: - description: Display email for the organization - example: org@example.com - type: string - format: email - has_organization_projects: - description: Specifies if organization projects are enabled for this org - type: boolean - has_repository_projects: - description: Specifies if repository projects are enabled for repositories - that belong to this org - type: boolean - is_verified: - type: boolean - public_repos: - type: integer - public_gists: - type: integer - followers: - type: integer - following: - type: integer - type: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - plan: - type: object - properties: - name: - type: string - space: - type: integer - private_repos: - type: integer - filled_seats: - type: integer - seats: - type: integer - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description - - html_url - - has_organization_projects - - has_repository_projects - - public_repos - - public_gists - - followers - - following - - type - - created_at - - updated_at team-full: title: Full Team description: Groups of organization members that gives permissions on specified @@ -31373,7 +31155,7 @@ components: format: date-time example: '2017-08-17T12:37:15Z' organization: - "$ref": "#/components/schemas/organization" + "$ref": "#/components/schemas/organization-full" ldap_dn: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com @@ -31822,15 +31604,9 @@ components: nullable: true allOf: - "$ref": "#/components/schemas/repository" - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true - delete_branch_on_merge: - type: boolean - example: false allow_merge_commit: type: boolean example: true @@ -35739,8 +35515,6 @@ components: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -35796,6 +35570,8 @@ components: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -36182,8 +35958,6 @@ components: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -36220,6 +35994,8 @@ components: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -38854,10 +38630,6 @@ components: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -39030,9 +38802,6 @@ components: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -39477,6 +39246,21 @@ components: state: not_started downloaded_at: message: + pre-receive-environment-2: + value: + id: 2 + name: DevTools Hook Env + image_url: https://my_file_server/path/to/devtools_env.tar.gz + url: https://github.example.com/api/v3/admin/pre-receive-environments/2 + html_url: https://github.example.com/admin/pre-receive-environments/2 + default_environment: false + created_at: '2016-05-20T11:35:45-05:00' + hooks_count: 1 + download: + url: https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest + state: success + downloaded_at: '2016-05-26T07:42:53-05:00' + message: pre-receive-environment-default-response: value: id: 2 @@ -39584,22 +39368,34 @@ components: allow_downstream_configuration: true authorization-items: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: simple-user: value: login: octocat @@ -39637,7 +39433,7 @@ components: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 integration: value: id: 1 @@ -39934,22 +39730,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false application-grant-items: value: - id: 1 @@ -40225,9 +40010,8 @@ components: current_user_organization_url: '' current_user_organization_urls: - https://github.com/organizations/github/octocat.private.atom?token=abc123 - security_advisories_url: https://github.com/security-advisories _links: - timeline: + - timeline: href: https://github.com/timeline type: application/atom+xml user: @@ -40248,9 +40032,6 @@ components: current_user_organizations: - href: https://github.com/organizations/github/octocat.private.atom?token=abc123 type: application/atom+xml - security_advisories: - href: https://github.com/security-advisories - type: application/atom+xml base-gist-items: value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d @@ -40595,22 +40376,11 @@ components: updated_at: '2011-01-26T19:14:43Z' allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false issue-with-repo-items: value: - id: 1 @@ -40837,23 +40607,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false license-simple-items: value: - key: mit @@ -40943,27 +40701,7 @@ components: api-overview: value: verifiable_password_authentication: true - ssh_key_fingerprints: - MD5_RSA: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 - MD5_DSA: ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c - SHA256_RSA: nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 - SHA256_DSA: br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ - hooks: - - 192.30.252.0/22 - web: - - 192.30.252.0/22 - - 185.199.108.0/22 - api: - - 192.30.252.0/22 - - 185.199.108.0/22 - git: - - 192.30.252.0/22 - pages: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - - 54.158.161.132 - - 54.226.70.38 + installed_version: 2.20.0 thread-items: value: - id: '1' @@ -41253,8 +40991,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - twitter_username: github - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -41815,11 +41551,10 @@ components: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -41898,7 +41633,6 @@ components: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -41937,13 +41671,11 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false team-items: value: - id: 1 @@ -41971,7 +41703,6 @@ components: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -41994,7 +41725,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -42005,6 +41735,7 @@ components: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com project-card: value: url: https://api.github.com/projects/columns/cards/1478 @@ -42242,7 +41973,6 @@ components: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -42274,10 +42004,7 @@ components: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -42377,7 +42104,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -42406,8 +42132,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -42423,6 +42147,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42494,7 +42219,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -42523,8 +42247,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -42540,6 +42262,8 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false full-repository-response-with-scarlet-witch-preview-media-type: summary: Response with scarlet-witch-preview media type value: @@ -42721,7 +42445,6 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit - language: forks_count: 9 forks: 9 stargazers_count: 80 @@ -42753,10 +42476,7 @@ components: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -42850,7 +42570,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -42879,8 +42598,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -42896,6 +42613,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42967,7 +42685,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -42996,8 +42713,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -43013,6 +42728,8 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false short-branch-items: value: - name: master @@ -43784,7 +43501,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -43812,10 +43528,9 @@ components: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false head_commit: id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d @@ -43911,7 +43626,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -43940,10 +43654,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -43957,6 +43668,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false check-run-paginated: value: total_count: 1 @@ -44548,6 +44260,7 @@ components: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos + parent: head: label: octocat:new-topic ref: new-topic @@ -44672,22 +44385,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -44812,22 +44514,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -44955,18 +44646,12 @@ components: url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true + description: A great organization name: Octocat App description: '' external_url: https://example.com @@ -45080,28 +44765,13 @@ components: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + allow_rebase_merge: true + template_repository: + allow_squash_merge: true + allow_merge_commit: true subscribers_count: 42 network_count: 0 - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - head_commit: - id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - message: |- - Merge pull request #6 from Spaceghost/patch-1 - - New line at end of file. - timestamp: '2016-10-10T00:00:00Z' - author: - name: The Octocat - email: octocat@nowhere.com - committer: - name: The Octocat - email: octocat@nowhere.com - latest_check_runs_count: 1 - check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs + anonymous_access_enabled: false combined-commit-status: value: state: success @@ -46039,10 +45709,10 @@ components: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O - delete_branch_on_merge: true + template_repository: subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -47877,7 +47547,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -47904,7 +47573,6 @@ components: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -47916,6 +47584,7 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -48010,7 +47679,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -48037,7 +47705,6 @@ components: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -48049,6 +47716,7 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -48657,7 +48325,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -48686,10 +48353,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -48703,6 +48367,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -48797,7 +48462,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -48826,10 +48490,7 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 @@ -48843,6 +48504,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -49679,7 +49341,6 @@ components: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -49718,6 +49379,9 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit + anonymous_access_enabled: false + template_repository: + anonymous_access_enabled: false public-repository-items: value: - id: 1296269 @@ -50461,6 +50125,12 @@ components: load_balancer: run_list: - recipe[enterprise-configure] + ssh-key-items-2: + value: + - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... + pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 + - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... + pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 ssh-key-items: value: - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... @@ -50943,7 +50613,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -50971,12 +50640,13 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: allow_squash_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 anonymous_access_enabled: false + visibility: public + delete_branch_on_merge: true source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51048,7 +50718,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -51076,17 +50745,16 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: allow_squash_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 anonymous_access_enabled: false + visibility: public + delete_branch_on_merge: true permissions: pull: true - triage: true push: false - maintain: false admin: false team-items-response-if-child-teams-exist: value: @@ -51141,7 +50809,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -51187,7 +50854,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -51221,7 +50887,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -51502,22 +51167,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false key-items: value: - key_id: '012345678912345678' @@ -51832,22 +51486,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false starred-repository-items-alternative-response-with-star-creation-timestamps: summary: Alternative response with star creation timestamps value: @@ -51953,22 +51596,11 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true - delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false team-full-items: value: - id: 1 @@ -52005,7 +51637,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -52014,8 +51645,8 @@ components: following: 0 html_url: https://github.com/octocat created_at: '2008-01-14T04:33:35Z' - updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com public-user-default-response: summary: Default response value: diff --git a/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json b/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json index a17057f323..83bd8b3a4c 100644 --- a/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json +++ b/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -1255,7 +1255,7 @@ "/admin/ldap/teams/{team_id}/mapping": { "patch": { "summary": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://developer.github.com/enterprise/2.21/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://developer.github.com/enterprise/2.21/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.", "operationId": "enterprise-admin/update-ldap-mapping-for-team", "tags": [ "enterprise-admin" @@ -1368,11 +1368,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], "category": "enterprise-admin", "subcategory": "ldap" @@ -2227,8 +2223,8 @@ "hooks_count": 1, "download": { "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", - "state": "not_started", - "downloaded_at": null, + "state": "success", + "downloaded_at": "2016-05-26T07:42:53-05:00", "message": null } } @@ -3934,24 +3930,36 @@ "default": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] } @@ -4186,7 +4194,7 @@ }, "email": { "type": "string", - "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.18/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.21/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." } }, "required": [ @@ -4746,7 +4754,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -5134,10 +5142,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -5565,6 +5576,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#list-installations-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "per_page", "description": "Results per page (max 100)", @@ -5582,23 +5603,6 @@ "type": "integer", "default": 1 } - }, - { - "name": "since", - "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "outdated", - "in": "query", - "required": false, - "schema": { - "type": "string" - } } ], "responses": { @@ -6108,10 +6112,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -6128,6 +6135,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#get-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -6674,15 +6691,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://developer.github.com/enterprise/2.21/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://developer.github.com/enterprise/2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -6692,6 +6712,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#delete-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -6731,10 +6761,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -6751,6 +6784,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#create-an-installation-access-token-for-an-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -7689,9 +7732,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -7706,12 +7746,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -7748,6 +7788,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -7948,23 +7991,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -8129,10 +8161,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -11640,10 +11675,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -12065,24 +12103,36 @@ "default": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] } @@ -12634,7 +12684,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -13674,7 +13724,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -18540,9 +18590,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -18557,12 +18604,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -18599,6 +18646,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -19596,137 +19646,71 @@ "format": "uri" } }, - "security_advisories_url": { - "type": "string", - "example": "https://github.com/security-advisories" - }, "_links": { - "type": "object", - "properties": { - "timeline": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, - "user": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, - "security_advisories": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "type": "array", + "required": [ + "timeline", + "user" + ], + "items": { + "type": "object", + "properties": { + "timeline": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_public": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user_public": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_actor": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_organization": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user_actor": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_organizations": { - "type": "array", - "items": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", + "current_user_organization": { "type": "object", "properties": { "href": { @@ -19735,18 +19719,24 @@ "type": { "type": "string" } - }, - "required": [ - "href", - "type" - ] + } + }, + "current_user_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } } } - }, - "required": [ - "timeline", - "user" - ] + } } }, "required": [ @@ -19767,43 +19757,40 @@ "current_user_organization_urls": [ "https://github.com/organizations/github/octocat.private.atom?token=abc123" ], - "security_advisories_url": "https://github.com/security-advisories", - "_links": { - "timeline": { - "href": "https://github.com/timeline", - "type": "application/atom+xml" - }, - "user": { - "href": "https://github.com/{user}", - "type": "application/atom+xml" - }, - "current_user_public": { - "href": "https://github.com/octocat", - "type": "application/atom+xml" - }, - "current_user": { - "href": "https://github.com/octocat.private?token=abc123", - "type": "application/atom+xml" - }, - "current_user_actor": { - "href": "https://github.com/octocat.private.actor?token=abc123", - "type": "application/atom+xml" - }, - "current_user_organization": { - "href": "", - "type": "" - }, - "current_user_organizations": [ - { - "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "_links": [ + { + "timeline": { + "href": "https://github.com/timeline", "type": "application/atom+xml" - } - ], - "security_advisories": { - "href": "https://github.com/security-advisories", - "type": "application/atom+xml" + }, + "user": { + "href": "https://github.com/{user}", + "type": "application/atom+xml" + }, + "current_user_public": { + "href": "https://github.com/octocat", + "type": "application/atom+xml" + }, + "current_user": { + "href": "https://github.com/octocat.private?token=abc123", + "type": "application/atom+xml" + }, + "current_user_actor": { + "href": "https://github.com/octocat.private.actor?token=abc123", + "type": "application/atom+xml" + }, + "current_user_organization": { + "href": "", + "type": "" + }, + "current_user_organizations": [ + { + "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "type": "application/atom+xml" + } + ] } - } + ] } } } @@ -28074,6 +28061,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/installations/#list-repositories-accessible-to-the-app-installation" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "per_page", "description": "Results per page (max 100)", @@ -28934,9 +28931,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -28951,12 +28945,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -28993,6 +28987,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -29182,23 +29179,12 @@ "updated_at": "2011-01-26T19:14:43Z", "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -29263,6 +29249,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -31144,9 +31135,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -31161,12 +31149,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -31203,6 +31191,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -31848,25 +31839,13 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] } @@ -31981,12 +31960,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -32532,79 +32510,6 @@ "type": "boolean", "example": true }, - "ssh_key_fingerprints": { - "type": "object", - "properties": { - "MD5_RSA": { - "type": "string" - }, - "MD5_DSA": { - "type": "string" - }, - "SHA256_RSA": { - "type": "string" - }, - "SHA256_DSA": { - "type": "string" - } - } - }, - "hooks": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "web": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "api": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "git": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "pages": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "192.30.252.153/32", - "192.30.252.154/32" - ] - }, - "importer": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "54.158.161.132", - "54.226.70.38" - ] - }, "github_services_sha": { "type": "string", "example": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" @@ -32621,34 +32526,7 @@ "default": { "value": { "verifiable_password_authentication": true, - "ssh_key_fingerprints": { - "MD5_RSA": "16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48", - "MD5_DSA": "ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c", - "SHA256_RSA": "nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", - "SHA256_DSA": "br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ" - }, - "hooks": [ - "192.30.252.0/22" - ], - "web": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "api": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "git": [ - "192.30.252.0/22" - ], - "pages": [ - "192.30.252.153/32", - "192.30.252.154/32" - ], - "importer": [ - "54.158.161.132", - "54.226.70.38" - ] + "installed_version": "2.21.0" } } } @@ -34401,9 +34279,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -34418,12 +34293,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -34460,6 +34335,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -35911,9 +35789,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -35955,6 +35830,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -36839,9 +36717,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -36883,6 +36758,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -37866,15 +37744,6 @@ "format": "email", "example": "octocat@github.com" }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, "has_organization_projects": { "type": "boolean", "example": true @@ -38374,15 +38243,6 @@ "format": "email", "example": "octocat@github.com" }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, "has_organization_projects": { "type": "boolean", "example": true @@ -38559,8 +38419,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -40473,9 +40331,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -40490,12 +40345,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -40532,6 +40387,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -42573,6 +42431,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#get-an-organization-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "org", "in": "path", @@ -43076,10 +42944,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -43096,6 +42967,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/orgs/#list-app-installations-for-an-organization" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "org", "in": "path", @@ -43642,10 +43523,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "orgs", - "subcategory": null + "category": "orgs" } } }, @@ -45464,9 +45348,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -45481,12 +45362,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -45523,6 +45404,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -46168,25 +46052,13 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] } @@ -46229,12 +46101,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -50200,9 +50071,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -50244,6 +50112,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -50401,11 +50272,11 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, "delete_branch_on_merge": true, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -51409,9 +51280,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -51426,12 +51294,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -51468,6 +51336,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -51620,7 +51491,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -51662,13 +51532,12 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -52299,118 +52168,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -52430,7 +52331,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -52496,7 +52440,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -52519,7 +52462,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -52530,7 +52472,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -52839,118 +52782,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -52970,7 +52945,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -53036,7 +53054,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -53059,7 +53076,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -53070,7 +53086,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -53357,118 +53374,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -53488,7 +53537,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -53554,7 +53646,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -53577,7 +53668,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -53588,7 +53678,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -60033,9 +60124,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -60077,6 +60165,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -60234,11 +60325,11 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, "delete_branch_on_merge": true, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -61153,9 +61244,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -61170,12 +61258,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -61208,6 +61296,9 @@ }, "master_branch": { "type": "string" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -61360,7 +61451,6 @@ "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, @@ -61391,8 +61481,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -61408,7 +61496,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } } } @@ -68560,9 +68649,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -68577,12 +68663,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -68619,6 +68705,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -68699,10 +68788,6 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true @@ -69714,9 +69799,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -69731,12 +69813,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -69773,6 +69855,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -70679,9 +70764,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -70696,12 +70778,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -70738,6 +70820,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -70987,7 +71072,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -71021,8 +71105,6 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -71127,7 +71209,6 @@ "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, @@ -71158,8 +71239,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -71175,7 +71254,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -71249,7 +71329,6 @@ "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, @@ -71280,8 +71359,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -71297,8 +71374,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } }, "response-with-scarlet-witch-preview-media-type": { @@ -72893,9 +72972,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -72910,12 +72986,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -72952,6 +73028,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -73032,10 +73111,6 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true @@ -74047,9 +74122,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -74064,12 +74136,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -74106,6 +74178,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -75012,9 +75087,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -75029,12 +75101,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -75071,6 +75143,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -75327,7 +75402,6 @@ "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" }, - "language": null, "forks_count": 9, "forks": 9, "stargazers_count": 80, @@ -75361,8 +75435,6 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -75460,7 +75532,6 @@ "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, @@ -75491,8 +75562,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -75508,7 +75577,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -75582,7 +75652,6 @@ "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, @@ -75613,8 +75682,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -75630,8 +75697,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } } } @@ -90944,9 +91013,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -90988,6 +91054,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -91267,7 +91336,6 @@ "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, @@ -91297,10 +91365,10 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "delete_branch_on_merge": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false }, "head_commit": { "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", @@ -92272,9 +92340,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -92289,12 +92354,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -92331,6 +92396,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -92498,7 +92566,6 @@ "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, @@ -92529,8 +92596,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -92546,7 +92611,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } } } @@ -93431,9 +93497,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -93475,6 +93538,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -93754,7 +93820,6 @@ "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, @@ -93784,10 +93849,10 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "delete_branch_on_merge": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false }, "head_commit": { "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", @@ -95428,9 +95493,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -95472,6 +95534,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -101608,9 +101673,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -101625,12 +101687,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -101667,6 +101729,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -102711,9 +102776,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -102728,12 +102790,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -102770,6 +102832,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -103331,7 +103396,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -103462,23 +103528,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "base": { @@ -103609,23 +103664,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "_links": { @@ -106071,9 +106115,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -106115,6 +106156,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -106295,18 +106339,12 @@ "url": "https://api.github.com/orgs/github", "repos_url": "https://api.github.com/orgs/github/repos", "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true + "description": "A great organization" }, "name": "Octocat App", "description": "", @@ -106427,29 +106465,15 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "allow_rebase_merge": true, + "template_repository": null, + "allow_squash_merge": true, "delete_branch_on_merge": true, + "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 - }, - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "head_commit": { - "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "tree_id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", - "timestamp": "2016-10-10T00:00:00Z", - "author": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - }, - "committer": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - } - }, - "latest_check_runs_count": 1, - "check_runs_url": "https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs" + "network_count": 0, + "anonymous_access_enabled": false + } } ] } @@ -107028,9 +107052,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -107072,6 +107093,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -113714,6 +113738,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "ant-man", @@ -115770,6 +115799,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "flash", @@ -117517,9 +117551,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -117534,12 +117565,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -117576,6 +117607,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -118966,9 +119000,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -119010,6 +119041,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -119167,10 +119201,11 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, "delete_branch_on_merge": true, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -120135,9 +120170,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -120152,12 +120184,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -120194,6 +120226,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -120346,7 +120381,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -120388,13 +120422,12 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -125249,6 +125282,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#get-a-repository-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "owner", "in": "path", @@ -125783,10 +125826,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -126281,9 +126327,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -126325,6 +126368,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -127299,9 +127345,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -127343,6 +127386,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -129578,9 +129624,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -129595,12 +129638,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -129637,6 +129680,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -130241,12 +130287,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "post": { @@ -132050,9 +132095,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -132067,12 +132109,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -132109,6 +132151,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -134154,8 +134199,8 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -137631,9 +137676,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -137648,12 +137690,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -137690,6 +137732,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -139038,6 +139083,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -140810,9 +140860,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -140827,12 +140874,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -140869,6 +140916,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -142197,6 +142247,16 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + }, + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -143937,9 +143997,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -143954,12 +144011,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -143996,6 +144053,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -146438,9 +146498,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -146455,12 +146512,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -146497,6 +146554,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -148864,9 +148924,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -148881,12 +148938,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -148923,6 +148980,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -151103,9 +151163,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -151120,12 +151177,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -151162,6 +151219,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -153425,6 +153485,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -154549,10 +154614,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "delete": { @@ -160469,9 +160537,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -160513,6 +160578,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -160924,7 +160992,7 @@ } }, "post": { - "summary": "Create a GitHub Enterprise Server Pages site", + "summary": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"", "tags": [ "repos" @@ -160965,11 +161033,15 @@ "properties": { "branch": { "type": "string", - "description": "The repository branch used to publish your site's source files." + "description": "The repository branch used to publish your site's source files. Can be either `master` or `gh-pages`.", + "enum": [ + "master", + "gh-pages" + ] }, "path": { "type": "string", - "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`", + "description": "The repository directory that includes the source files for the Pages site. When `branch` is `master`, you can change `path` to `/docs`. When `branch` is `gh-pages`, you are unable to specify a `path` other than `/`.", "enum": [ "/", "/docs" @@ -160988,7 +161060,7 @@ }, "example": { "source": { - "branch": "main", + "branch": "master", "path": "/docs" } } @@ -161209,7 +161281,7 @@ } }, "put": { - "summary": "Update information about a GitHub Enterprise Server Pages site", + "summary": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).", "tags": [ "repos" @@ -161243,11 +161315,6 @@ "schema": { "type": "object", "properties": { - "cname": { - "type": "string", - "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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/).\"", - "nullable": true - }, "source": { "anyOf": [ { @@ -161281,19 +161348,19 @@ "path" ] } + ], + "type": "string", + "description": "Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `\"gh-pages\"`, `\"master\"`, and `\"master /docs\"`.", + "enum": [ + "gh-pages", + "master", + "master /docs" ] } - }, - "required": [ - "source" - ] + } }, "example": { - "cname": "octocatblog.com", - "source": { - "branch": "main", - "path": "/" - } + "source": "master /docs" } } } @@ -163797,7 +163864,7 @@ "/repos/{owner}/{repo}/pulls": { "get": { "summary": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -165666,9 +165733,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -165683,12 +165747,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -165725,6 +165789,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -166769,9 +166836,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -166786,12 +166850,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -166828,6 +166892,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -167389,7 +167456,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -167520,23 +167588,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "base": { @@ -167667,23 +167724,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "_links": { @@ -167806,15 +167852,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } }, "post": { "summary": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.21/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.21/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.21/v3/#abuse-rate-limits)\" for details.", "tags": [ "pulls" ], @@ -169150,9 +169199,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -169229,6 +169275,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -169736,9 +169785,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -169830,6 +169876,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -170633,7 +170682,6 @@ "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, @@ -170662,7 +170710,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -170674,7 +170721,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -170773,7 +170821,6 @@ "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, @@ -170802,7 +170849,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -170814,7 +170860,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -170985,10 +171032,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -174940,9 +174990,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -175019,6 +175066,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -175526,9 +175576,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -175620,6 +175667,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -176423,7 +176473,6 @@ "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, @@ -176452,7 +176501,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -176464,7 +176512,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -176563,7 +176612,6 @@ "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, @@ -176592,7 +176640,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -176604,7 +176651,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -176728,7 +176776,7 @@ }, "patch": { "summary": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -178064,9 +178112,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -178143,6 +178188,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -178650,9 +178698,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -178744,6 +178789,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -179547,7 +179595,6 @@ "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, @@ -179576,7 +179623,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -179588,7 +179634,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -179687,7 +179734,6 @@ "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, @@ -179716,7 +179762,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -179728,7 +179773,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -179890,10 +179936,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -184543,9 +184592,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -184560,12 +184606,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -184602,6 +184648,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -185646,9 +185695,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -185663,12 +185709,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -185705,6 +185751,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -186403,7 +186452,6 @@ "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, @@ -186434,8 +186482,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -186451,7 +186497,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "base": { @@ -186550,7 +186597,6 @@ "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, @@ -186581,8 +186627,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -186598,7 +186642,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "_links": { @@ -198920,9 +198965,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -198937,12 +198979,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -198979,6 +199021,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -199131,7 +199176,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -199173,13 +199217,12 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -200258,9 +200301,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -200275,12 +200315,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -200317,6 +200357,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -200469,7 +200512,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -200510,6 +200552,10 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" + }, + "anonymous_access_enabled": false, + "template_repository": { + "anonymous_access_enabled": false } } } @@ -201015,9 +201061,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -201059,6 +201102,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -201816,9 +201862,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -201860,6 +201903,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -203000,9 +203046,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -203044,6 +203087,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -205014,9 +205060,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -205031,12 +205074,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -205073,6 +205116,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -208608,10 +208654,6 @@ "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - }, { "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" @@ -208750,10 +208792,6 @@ "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - }, { "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" @@ -209144,118 +209182,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -209275,7 +209345,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -209341,7 +209454,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -209364,7 +209476,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -209375,7 +209486,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -209657,118 +209769,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -209788,7 +209932,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -209854,7 +210041,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -209877,7 +210063,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -209888,7 +210073,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -216828,9 +217014,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -216872,6 +217055,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -217029,11 +217215,11 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, "delete_branch_on_merge": true, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -217962,9 +218148,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -217979,12 +218162,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -218017,6 +218200,9 @@ }, "master_branch": { "type": "string" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -218169,7 +218355,6 @@ "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, @@ -218200,8 +218385,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -218217,7 +218400,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } } } @@ -218962,11 +219146,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -219189,10 +219368,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -219328,7 +219503,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -219377,7 +219551,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -219633,11 +219806,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -219791,7 +219959,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -222611,6 +222778,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "per_page", "description": "Results per page (max 100)", @@ -223256,7 +223433,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -223276,6 +223457,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "installation_id", "description": "installation_id parameter", @@ -224148,9 +224339,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -224165,12 +224353,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -224207,6 +224395,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -224397,23 +224588,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -224478,6 +224658,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -224572,7 +224757,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -224660,7 +224849,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -226474,9 +226667,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -226491,12 +226681,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -226533,6 +226723,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -227178,25 +227371,13 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] } @@ -227242,12 +227423,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -231003,9 +231183,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -231020,12 +231197,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -231062,6 +231239,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -231249,23 +231429,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -232351,9 +232520,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -232368,12 +232534,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -232410,6 +232576,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -232562,7 +232731,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -232604,13 +232772,12 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } } } @@ -233307,9 +233474,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -233351,6 +233515,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -234983,9 +235150,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -235000,12 +235164,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -235042,6 +235206,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -235229,23 +235396,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -236091,9 +236247,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -236108,12 +236261,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -236150,6 +236303,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -236345,23 +236501,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } } ] @@ -237221,9 +237366,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -237265,6 +237407,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -237422,11 +237567,11 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, "delete_branch_on_merge": true, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -237708,118 +237853,150 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -237839,7 +238016,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -237930,7 +238150,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -237939,9 +238158,9 @@ "following": 0, "html_url": "https://github.com/octocat", "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } ] } @@ -238365,11 +238584,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -238592,10 +238806,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -240542,9 +240752,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -240559,12 +240766,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -240601,6 +240808,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -243226,9 +243436,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -243243,12 +243450,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -243285,6 +243492,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -245902,9 +246112,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -245919,12 +246126,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -245961,6 +246168,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -248354,6 +248564,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#get-a-user-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "name": "username", "in": "path", @@ -248857,10 +249077,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -251304,9 +251527,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -251321,12 +251541,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -251363,6 +251583,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -253980,9 +254203,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -253997,12 +254217,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -254039,6 +254259,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -255450,9 +255673,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -255494,6 +255714,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -255651,11 +255874,11 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, "delete_branch_on_merge": true, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -256671,9 +256894,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -256688,12 +256908,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -256730,6 +256950,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -256917,23 +257140,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -257779,9 +257991,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -257796,12 +258005,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -257838,6 +258047,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -258033,23 +258245,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } } ] @@ -258551,9 +258752,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -258595,6 +258793,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -258752,11 +258953,11 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, "delete_branch_on_merge": true, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", diff --git a/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml b/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml index 9211dc62dd..cb9d7315ba 100644 --- a/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml +++ b/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.0.0-rc.1 + version: 1.0.0-rc.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -905,7 +905,7 @@ paths: description: |- Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://developer.github.com/enterprise/2.21/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping. - If you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team. + You can also update the LDAP mapping of a child team. operationId: enterprise-admin/update-ldap-mapping-for-team tags: - enterprise-admin @@ -983,14 +983,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: enterprise-admin subcategory: ldap "/admin/ldap/teams/{team_id}/sync": @@ -1603,8 +1596,8 @@ paths: hooks_count: 1 download: url: https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest - state: not_started - downloaded_at: + state: success + downloaded_at: '2016-05-26T07:42:53-05:00' message: x-github: githubCloudOnly: false @@ -2889,22 +2882,34 @@ paths: examples: default: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: headers: Link: example: ; rel="next", ; @@ -3090,7 +3095,7 @@ paths: description: "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, - see the the [GitHub authentication guide](https://help.github.com/enterprise/2.18/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + see the the [GitHub authentication guide](https://help.github.com/enterprise/2.21/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." required: - login example: @@ -3513,7 +3518,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 requestBody: content: application/json: @@ -3810,9 +3815,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app-manifests/{code}/conversions": post: summary: Create a GitHub App from a manifest @@ -4171,6 +4181,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#list-installations-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: per_page description: Results per page (max 100) in: query @@ -4183,19 +4200,6 @@ paths: schema: type: integer default: 1 - - name: since - description: 'Only show notifications updated after the given time. This is - a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: - `YYYY-MM-DDTHH:MM:SSZ`.' - in: query - required: false - schema: - type: string - - name: outdated - in: query - required: false - schema: - type: string responses: '200': description: The permissions the installation has are included under the @@ -4595,9 +4599,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}": get: summary: Get an installation for the authenticated app @@ -4612,6 +4621,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#get-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -5035,15 +5051,19 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: delete: summary: Delete an installation for the authenticated app - description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://developer.github.com/enterprise/2.21/v3/apps/#suspend-an-app-installation)" endpoint. - - You must use a [JWT](https://developer.github.com/enterprise/2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + description: Uninstalls a GitHub App on a user, organization, or business account. + You must use a [JWT](https://developer.github.com/enterprise/2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) + to access this endpoint. tags: - apps operationId: apps/delete-installation @@ -5051,6 +5071,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#delete-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -5076,9 +5103,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}/access_tokens": post: summary: Create an installation access token for an app @@ -5093,6 +5125,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#create-an-installation-access-token-for-an-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -5786,8 +5825,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -5798,8 +5835,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -5829,6 +5866,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -6016,22 +6055,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false '403': description: Forbidden content: @@ -6131,9 +6160,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/applications/grants": get: summary: List your grants @@ -8796,9 +8830,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/authorizations": get: summary: List your authorizations @@ -9133,22 +9172,34 @@ paths: examples: default: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: headers: Link: example: ; rel="next", ; @@ -9579,7 +9630,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 headers: Location: example: https://api.github.com/authorizations/1 @@ -10384,7 +10435,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 headers: Location: example: https://api.github.com/authorizations/1 @@ -14198,8 +14249,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -14210,8 +14259,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -14243,6 +14292,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -15042,113 +15093,65 @@ paths: items: type: string format: uri - security_advisories_url: - type: string - example: https://github.com/security-advisories _links: - type: object - properties: - timeline: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - user: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - security_advisories: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_public: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_actor: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_organization: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_organizations: - type: array - items: - title: Link With Type - description: Hypermedia Link with Type + type: array + required: + - timeline + - user + items: + type: object + properties: + timeline: type: object properties: href: type: string type: type: string - required: - - href - - type - required: - - timeline - - user + user: + type: object + properties: + href: + type: string + type: + type: string + current_user_public: + type: object + properties: + href: + type: string + type: + type: string + current_user: + type: object + properties: + href: + type: string + type: + type: string + current_user_actor: + type: object + properties: + href: + type: string + type: + type: string + current_user_organization: + type: object + properties: + href: + type: string + type: + type: string + current_user_organizations: + type: array + items: + type: object + properties: + href: + type: string + type: + type: string required: - _links - timeline_url @@ -15164,9 +15167,8 @@ paths: current_user_organization_url: '' current_user_organization_urls: - https://github.com/organizations/github/octocat.private.atom?token=abc123 - security_advisories_url: https://github.com/security-advisories _links: - timeline: + - timeline: href: https://github.com/timeline type: application/atom+xml user: @@ -15187,9 +15189,6 @@ paths: current_user_organizations: - href: https://github.com/organizations/github/octocat.private.atom?token=abc123 type: application/atom+xml - security_advisories: - href: https://github.com/security-advisories - type: application/atom+xml x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21206,6 +21205,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/installations/#list-repositories-accessible-to-the-app-installation parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: per_page description: Results per page (max 100) in: query @@ -21842,8 +21848,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -21854,8 +21858,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -21885,6 +21889,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -22063,22 +22069,12 @@ paths: updated_at: '2011-01-26T19:14:43Z' allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -22117,6 +22113,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -23567,8 +23569,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -23579,8 +23579,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -23610,6 +23610,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -24167,23 +24169,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -24253,17 +24244,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/licenses": get: summary: Get all commonly used licenses @@ -24707,55 +24695,6 @@ paths: verifiable_password_authentication: type: boolean example: true - ssh_key_fingerprints: - type: object - properties: - MD5_RSA: - type: string - MD5_DSA: - type: string - SHA256_RSA: - type: string - SHA256_DSA: - type: string - hooks: - type: array - items: - type: string - example: - - 127.0.0.1/32 - web: - type: array - items: - type: string - example: - - 127.0.0.1/32 - api: - type: array - items: - type: string - example: - - 127.0.0.1/32 - git: - type: array - items: - type: string - example: - - 127.0.0.1/32 - pages: - type: array - items: - type: string - example: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - type: array - items: - type: string - example: - - 54.158.161.132 - - 54.226.70.38 github_services_sha: type: string example: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15 @@ -24767,27 +24706,7 @@ paths: default: value: verifiable_password_authentication: true - ssh_key_fingerprints: - MD5_RSA: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 - MD5_DSA: ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c - SHA256_RSA: nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 - SHA256_DSA: br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ - hooks: - - 192.30.252.0/22 - web: - - 192.30.252.0/22 - - 185.199.108.0/22 - api: - - 192.30.252.0/22 - - 185.199.108.0/22 - git: - - 192.30.252.0/22 - pages: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - - 54.158.161.132 - - 54.226.70.38 + installed_version: 2.21.0 '304': description: Not Modified x-github: @@ -26113,8 +26032,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -26125,8 +26042,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -26158,6 +26075,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -27294,8 +27213,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -27325,6 +27242,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -27988,8 +27907,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -28019,6 +27936,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -28755,13 +28674,6 @@ paths: type: string format: email example: octocat@github.com - twitter_username: - type: string - example: github - nullable: true - is_verified: - type: boolean - example: true has_organization_projects: type: boolean example: true @@ -29212,13 +29124,6 @@ paths: type: string format: email example: octocat@github.com - twitter_username: - type: string - example: github - nullable: true - is_verified: - type: boolean - example: true has_organization_projects: type: boolean example: true @@ -29360,8 +29265,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - twitter_username: github - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -30803,8 +30706,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -30815,8 +30716,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -30848,6 +30749,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -32391,6 +32294,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#get-an-organization-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: org in: path required: true @@ -32786,9 +32696,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/orgs/{org}/installations": get: summary: List app installations for an organization @@ -32802,6 +32717,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/orgs/#list-app-installations-for-an-organization parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: org in: path required: true @@ -33225,9 +33147,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: orgs - subcategory: "/orgs/{org}/issues": get: summary: List organization issues assigned to the authenticated user @@ -34625,8 +34552,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -34637,8 +34562,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -34668,6 +34593,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -35225,23 +35152,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -35266,17 +35182,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/orgs/{org}/members": get: summary: List organization members @@ -38275,8 +38188,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -38306,6 +38217,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -38454,11 +38367,11 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + template_repository: delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -39242,8 +39155,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -39254,8 +39165,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -39285,6 +39196,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -39432,7 +39345,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -39471,13 +39383,12 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -39968,94 +39879,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -40069,6 +40005,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -40127,7 +40096,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -40150,7 +40118,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -40161,6 +40128,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '422': description: Validation Failed content: @@ -40388,94 +40356,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -40489,6 +40482,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -40547,7 +40573,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -40570,7 +40595,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -40581,6 +40605,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '404': description: Resource Not Found content: @@ -40812,94 +40837,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -40913,6 +40963,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -40971,7 +41054,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -40994,7 +41076,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -41005,6 +41086,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46112,8 +46194,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -46143,6 +46223,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -46291,11 +46373,11 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + template_repository: delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -46969,8 +47051,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -46981,8 +47061,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -47009,6 +47089,8 @@ paths: type: integer master_branch: type: string + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -47156,7 +47238,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -47185,8 +47266,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -47202,6 +47281,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false '204': description: Response if team has permission for the repository '404': @@ -52478,8 +52558,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -52490,8 +52568,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -52521,6 +52599,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -52595,9 +52675,6 @@ paths: - watchers_count - created_at - updated_at - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true @@ -53351,8 +53428,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -53363,8 +53438,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -53394,6 +53469,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -54080,8 +54157,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -54092,8 +54167,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -54123,6 +54198,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -54359,7 +54436,6 @@ paths: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -54391,8 +54467,6 @@ paths: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -54494,7 +54568,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -54523,8 +54596,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -54540,6 +54611,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -54611,7 +54683,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -54640,8 +54711,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -54657,6 +54726,8 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false response-with-scarlet-witch-preview-media-type: summary: Response with scarlet-witch-preview media type value: @@ -55906,8 +55977,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -55918,8 +55987,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -55949,6 +56018,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -56023,9 +56094,6 @@ paths: - watchers_count - created_at - updated_at - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true @@ -56779,8 +56847,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -56791,8 +56857,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -56822,6 +56888,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -57508,8 +57576,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -57520,8 +57586,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -57551,6 +57617,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -57793,7 +57861,6 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit - language: forks_count: 9 forks: 9 stargazers_count: 80 @@ -57825,8 +57892,6 @@ paths: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -57922,7 +57987,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -57951,8 +58015,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -57968,6 +58030,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -58039,7 +58102,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -58068,8 +58130,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -58085,6 +58145,8 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false '403': description: Forbidden content: @@ -69681,8 +69743,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -69712,6 +69772,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -69956,7 +70018,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -69984,10 +70045,10 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false head_commit: id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d @@ -70711,8 +70772,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -70723,8 +70782,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -70754,6 +70813,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -70908,7 +70969,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -70937,8 +70997,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -70954,6 +71012,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71628,8 +71687,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -71659,6 +71716,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -71903,7 +71962,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -71931,10 +71989,10 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false head_commit: id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d @@ -73209,8 +73267,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -73240,6 +73296,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -77927,8 +77985,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -77939,8 +77995,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -77972,6 +78028,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -78767,8 +78825,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -78779,8 +78835,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -78812,6 +78868,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -79284,6 +79342,7 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos + parent: head: label: octocat:new-topic ref: new-topic @@ -79408,22 +79467,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -79548,22 +79597,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -81441,8 +81480,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -81472,6 +81509,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -81618,18 +81657,12 @@ paths: url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true + description: A great organization name: Octocat App description: '' external_url: https://example.com @@ -81743,28 +81776,14 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + allow_rebase_merge: true + template_repository: + allow_squash_merge: true delete_branch_on_merge: true + allow_merge_commit: true subscribers_count: 42 network_count: 0 - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - head_commit: - id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - message: |- - Merge pull request #6 from Spaceghost/patch-1 - - New line at end of file. - timestamp: '2016-10-10T00:00:00Z' - author: - name: The Octocat - email: octocat@nowhere.com - committer: - name: The Octocat - email: octocat@nowhere.com - latest_check_runs_count: 1 - check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -82206,8 +82225,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -82237,6 +82254,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -87473,6 +87492,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: ant-man note: |- @@ -89132,6 +89159,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: flash note: |- @@ -90469,8 +90504,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -90481,8 +90514,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -90514,6 +90547,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -91602,8 +91637,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -91633,6 +91666,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -91781,10 +91816,11 @@ paths: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + template_repository: delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -92489,8 +92525,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -92501,8 +92535,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -92532,6 +92566,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -92679,7 +92715,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -92718,13 +92753,12 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false '400': description: Bad Request content: @@ -96278,6 +96312,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#get-a-repository-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: owner in: path required: true @@ -96693,9 +96734,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -97070,8 +97116,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -97101,6 +97145,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -97871,8 +97917,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -97902,6 +97946,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -99633,8 +99679,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -99645,8 +99689,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -99676,6 +99720,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -100164,17 +100210,14 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: post: summary: Create an issue description: |- @@ -101554,8 +101597,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -101566,8 +101607,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -101597,6 +101638,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -103190,15 +103233,13 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: comments patch: @@ -105849,8 +105890,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -105861,8 +105900,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -105894,6 +105933,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -106977,6 +107018,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/events/{event_id}": @@ -108324,8 +108372,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -108336,8 +108382,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -108367,6 +108413,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -109438,6 +109486,21 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}": @@ -110774,8 +110837,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -110786,8 +110847,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -110817,6 +110878,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -112728,8 +112791,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -112740,8 +112801,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -112771,6 +112832,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -114592,8 +114655,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -114604,8 +114665,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -114635,6 +114696,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -116336,8 +116399,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -116348,8 +116409,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -116379,6 +116440,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -118157,6 +118220,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}/labels": @@ -118935,9 +119005,15 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues - subcategory: delete: summary: Unlock an issue description: Users with push access can unlock an issue's conversation. @@ -123345,8 +123421,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -123376,6 +123450,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -123697,7 +123773,7 @@ paths: category: repos subcategory: pages post: - summary: Create a GitHub Enterprise Server Pages site + summary: Create a GitHub Pages site description: Configures a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)." tags: @@ -123733,12 +123809,16 @@ paths: branch: type: string description: The repository branch used to publish your site's - source files. + source files. Can be either `master` or `gh-pages`. + enum: + - master + - gh-pages path: type: string - description: 'The repository directory that includes the source - files for the Pages site. Allowed paths are `/` or `/docs`. - Default: `/`' + description: The repository directory that includes the source + files for the Pages site. When `branch` is `master`, you can + change `path` to `/docs`. When `branch` is `gh-pages`, you + are unable to specify a `path` other than `/`. enum: - "/" - "/docs" @@ -123749,7 +123829,7 @@ paths: - source example: source: - branch: main + branch: master path: "/docs" responses: '201': @@ -123901,7 +123981,7 @@ paths: category: repos subcategory: pages put: - summary: Update information about a GitHub Enterprise Server Pages site + summary: Update information about a GitHub Pages site description: Updates information for a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). tags: @@ -123927,12 +124007,6 @@ paths: schema: type: object properties: - cname: - type: string - 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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)." - nullable: true source: anyOf: - type: string @@ -123962,13 +124036,16 @@ paths: required: - branch - path - required: - - source + type: string + description: Update the source for the repository. Must include + the branch name, and may optionally specify the subdirectory `/docs`. + Possible values are `"gh-pages"`, `"master"`, and `"master /docs"`. + enum: + - gh-pages + - master + - master /docs example: - cname: octocatblog.com - source: - branch: main - path: "/" + source: master /docs responses: '204': description: Empty response @@ -125824,9 +125901,8 @@ paths: summary: List pull requests description: Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository - billing plans, and in public and private repositories with GitHub Team and - GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) - in the GitHub Help documentation. + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/list @@ -127262,8 +127338,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -127274,8 +127348,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -127307,6 +127381,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -128102,8 +128178,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -128114,8 +128188,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -128147,6 +128221,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -128619,6 +128695,7 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos + parent: head: label: octocat:new-topic ref: new-topic @@ -128743,22 +128820,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -128883,22 +128950,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -128972,19 +129029,25 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: post: summary: Create a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - - You can create a new pull request. - - This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.21/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.21/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new + pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). + Creating content too quickly using this endpoint may result in abuse rate + limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.21/v3/#abuse-rate-limits)" + for details. tags: - pulls operationId: pulls/create @@ -130027,8 +130090,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -130084,6 +130145,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -130470,8 +130533,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -130538,6 +130599,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -131217,7 +131280,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -131244,7 +131306,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -131256,6 +131317,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -131350,7 +131412,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -131377,7 +131438,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -131389,6 +131449,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -131503,9 +131564,15 @@ paths: triggersNotification: true githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/comments": get: summary: List review comments in a repository @@ -134691,8 +134758,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -134748,6 +134813,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -135134,8 +135201,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -135202,6 +135267,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -135881,7 +135948,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -135908,7 +135974,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -135920,6 +135985,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -136014,7 +136080,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -136041,7 +136106,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -136053,6 +136117,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -136138,10 +136203,10 @@ paths: subcategory: patch: summary: Update a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/update @@ -137179,8 +137244,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -137236,6 +137299,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -137622,8 +137687,6 @@ paths: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -137690,6 +137753,8 @@ paths: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -138369,7 +138434,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -138396,7 +138460,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -138408,6 +138471,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -138502,7 +138566,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -138529,7 +138592,6 @@ paths: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -138541,6 +138603,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -138649,9 +138712,15 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/{pull_number}/comments": get: summary: List review comments on a pull request @@ -142247,8 +142316,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -142259,8 +142326,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -142290,6 +142357,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -143083,8 +143152,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -143095,8 +143162,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -143126,6 +143193,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -143727,7 +143796,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -143756,8 +143824,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -143773,6 +143839,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -143867,7 +143934,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -143896,8 +143962,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -143913,6 +143977,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -153259,8 +153324,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -153271,8 +153334,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -153302,6 +153365,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -153449,7 +153514,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -153488,13 +153552,12 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -154296,8 +154359,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -154308,8 +154369,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -154339,6 +154400,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -154486,7 +154549,6 @@ paths: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -154525,6 +154587,9 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit + anonymous_access_enabled: false + template_repository: + anonymous_access_enabled: false headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -154907,8 +154972,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -154938,6 +155001,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -155541,8 +155606,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -155572,6 +155635,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -156440,8 +156505,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -156471,6 +156534,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -157999,8 +158064,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -158011,8 +158074,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -158044,6 +158107,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -160727,8 +160792,6 @@ paths: pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... - pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -160814,8 +160877,6 @@ paths: pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 - - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... - pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 requestBody: content: application/json: @@ -161121,94 +161182,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -161222,6 +161308,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -161280,7 +161399,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -161303,7 +161421,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -161314,6 +161431,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '404': description: Resource Not Found content: @@ -161544,94 +161662,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -161645,6 +161788,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -161703,7 +161879,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -161726,7 +161901,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -161737,6 +161911,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '404': description: Resource Not Found content: @@ -167188,8 +167363,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -167219,6 +167392,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -167367,11 +167542,11 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + template_repository: delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -168053,8 +168228,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -168065,8 +168238,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -168093,6 +168266,8 @@ paths: type: integer master_branch: type: string + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -168240,7 +168415,6 @@ paths: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -168269,8 +168443,6 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -168286,6 +168458,7 @@ paths: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false '204': description: Response if repository is managed by this team '404': @@ -168833,10 +169006,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -169008,9 +169177,6 @@ paths: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -169122,7 +169288,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -169168,7 +169333,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -169359,10 +169523,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -169491,7 +169651,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -171423,6 +171582,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: per_page description: Results per page (max 100) in: query @@ -171921,7 +172087,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/installations/{installation_id}/repositories": @@ -171942,6 +172114,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: installation_id description: installation_id parameter in: path @@ -172587,8 +172766,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -172599,8 +172776,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -172630,6 +172807,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -172809,22 +172988,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -172863,6 +173032,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: false previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -172931,7 +173106,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations delete: @@ -172992,7 +173173,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/issues": @@ -174387,8 +174574,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -174399,8 +174584,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -174430,6 +174615,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -174987,23 +175174,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -175030,17 +175206,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/user/keys": get: summary: List public SSH keys for the authenticated user @@ -177801,8 +177974,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -177813,8 +177984,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -177844,6 +178015,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -178022,22 +178195,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false '418': description: Response definition missing '422': @@ -178839,8 +179002,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -178851,8 +179012,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -178882,6 +179043,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -179029,7 +179192,6 @@ paths: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -179068,13 +179230,12 @@ paths: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -179587,8 +179748,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -179618,6 +179777,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -180846,8 +181007,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -180858,8 +181017,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -180889,6 +181048,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -181067,22 +181228,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false application/vnd.github.v3.star+json: schema: type: array @@ -181706,8 +181857,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -181718,8 +181867,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -181749,6 +181898,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -181932,22 +182083,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -182553,8 +182694,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -182584,6 +182723,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -182732,11 +182873,11 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + template_repository: delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -182951,94 +183092,119 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -183052,6 +183218,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -183133,7 +183332,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -183142,8 +183340,8 @@ paths: following: 0 html_url: https://github.com/octocat created_at: '2008-01-14T04:33:35Z' - updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com headers: Link: example: ; rel="next", ; @@ -183467,10 +183665,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -183642,9 +183836,6 @@ paths: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -185135,8 +185326,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -185147,8 +185336,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -185180,6 +185369,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -187212,8 +187403,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -187224,8 +187413,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -187257,6 +187446,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -189283,8 +189474,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -189295,8 +189484,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -189328,6 +189517,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -191140,6 +191331,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#get-a-user-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - name: username in: path required: true @@ -191535,9 +191733,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/users/{username}/keys": get: summary: List public keys for a user @@ -193384,8 +193587,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -193396,8 +193597,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -193429,6 +193630,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -195455,8 +195658,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -195467,8 +195668,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. @@ -195500,6 +195701,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -196605,8 +196808,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -196636,6 +196837,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -196784,11 +196987,11 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + template_repository: delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -197537,8 +197740,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -197549,8 +197750,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -197580,6 +197781,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -197758,22 +197961,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false application/vnd.github.v3.star+json: schema: type: array @@ -198397,8 +198590,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -198409,8 +198600,8 @@ paths: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -198440,6 +198631,8 @@ paths: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -198623,22 +198816,12 @@ paths: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false headers: Link: example: ; rel="next", ; @@ -199009,8 +199192,6 @@ paths: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -199040,6 +199221,8 @@ paths: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -199188,11 +199371,11 @@ paths: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + template_repository: delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License diff --git a/descriptions/ghes-2.21/ghes-2.21.json b/descriptions/ghes-2.21/ghes-2.21.json index 6f26c07564..f723270c11 100644 --- a/descriptions/ghes-2.21/ghes-2.21.json +++ b/descriptions/ghes-2.21/ghes-2.21.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -894,7 +894,7 @@ "/admin/ldap/teams/{team_id}/mapping": { "patch": { "summary": "Update LDAP mapping for a team", - "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://developer.github.com/enterprise/2.21/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nIf you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team.", + "description": "Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://developer.github.com/enterprise/2.21/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping.\n\nYou can also update the LDAP mapping of a child team.", "operationId": "enterprise-admin/update-ldap-mapping-for-team", "tags": [ "enterprise-admin" @@ -947,11 +947,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - { - "required": false, - "name": "hellcat", - "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" - } + ], "category": "enterprise-admin", "subcategory": "ldap" @@ -1413,7 +1409,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/pre-receive-environment" + "$ref": "#/components/examples/pre-receive-environment-2" } } } @@ -2237,7 +2233,7 @@ }, "email": { "type": "string", - "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.18/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + "description": "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, see the the [GitHub authentication guide](https://help.github.com/enterprise/2.21/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." } }, "required": [ @@ -2496,10 +2492,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -2601,21 +2600,20 @@ }, "parameters": [ { - "$ref": "#/components/parameters/per_page" - }, - { - "$ref": "#/components/parameters/page" + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true }, { - "$ref": "#/components/parameters/since" + "$ref": "#/components/parameters/per_page" }, { - "name": "outdated", - "in": "query", - "required": false, - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/page" } ], "responses": { @@ -2647,10 +2645,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -2667,6 +2668,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#get-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" } @@ -2698,15 +2709,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } }, "delete": { "summary": "Delete an installation for the authenticated app", - "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://developer.github.com/enterprise/2.21/v3/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://developer.github.com/enterprise/2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", + "description": "Uninstalls a GitHub App on a user, organization, or business account. You must use a [JWT](https://developer.github.com/enterprise/2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", "tags": [ "apps" ], @@ -2716,6 +2730,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#delete-an-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" } @@ -2732,10 +2756,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -2752,6 +2779,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#create-an-installation-access-token-for-an-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" } @@ -2848,10 +2885,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -3496,10 +3536,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -5952,6 +5995,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/installations/#list-repositories-accessible-to-the-app-installation" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/per_page" }, @@ -6009,6 +6062,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -6199,12 +6257,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -7814,6 +7871,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#get-an-organization-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/org" } @@ -7839,10 +7906,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -7859,6 +7929,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/orgs/#list-app-installations-for-an-organization" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/org" }, @@ -7906,10 +7986,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "orgs", - "subcategory": null + "category": "orgs" } } }, @@ -8026,12 +8109,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -19759,6 +19841,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "ant-man", @@ -20083,6 +20170,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" + }, { "required": false, "name": "flash", @@ -21944,6 +22036,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#get-a-repository-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/owner" }, @@ -21978,10 +22080,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -22298,12 +22403,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "post": { @@ -22595,8 +22699,8 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -23021,6 +23125,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -23090,6 +23199,16 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + }, + { + "required": false, + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], "category": "issues", @@ -23696,6 +23815,11 @@ "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" + }, + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" } ], "category": "issues", @@ -24111,10 +24235,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "issues", - "subcategory": null + "category": "issues" } }, "delete": { @@ -25927,7 +26054,7 @@ } }, "post": { - "summary": "Create a GitHub Enterprise Server Pages site", + "summary": "Create a GitHub Pages site", "description": "Configures a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).\"", "tags": [ "repos" @@ -25958,11 +26085,15 @@ "properties": { "branch": { "type": "string", - "description": "The repository branch used to publish your site's source files." + "description": "The repository branch used to publish your site's source files. Can be either `master` or `gh-pages`.", + "enum": [ + "master", + "gh-pages" + ] }, "path": { "type": "string", - "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`", + "description": "The repository directory that includes the source files for the Pages site. When `branch` is `master`, you can change `path` to `/docs`. When `branch` is `gh-pages`, you are unable to specify a `path` other than `/`.", "enum": [ "/", "/docs" @@ -25981,7 +26112,7 @@ }, "example": { "source": { - "branch": "main", + "branch": "master", "path": "/docs" } } @@ -26029,7 +26160,7 @@ } }, "put": { - "summary": "Update information about a GitHub Enterprise Server Pages site", + "summary": "Update information about a GitHub Pages site", "description": "Updates information for a GitHub Enterprise Server Pages site. For more information, see \"[About GitHub Pages](/github/working-with-github-pages/about-github-pages).", "tags": [ "repos" @@ -26053,11 +26184,6 @@ "schema": { "type": "object", "properties": { - "cname": { - "type": "string", - "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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/).\"", - "nullable": true - }, "source": { "anyOf": [ { @@ -26091,19 +26217,19 @@ "path" ] } + ], + "type": "string", + "description": "Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory `/docs`. Possible values are `\"gh-pages\"`, `\"master\"`, and `\"master /docs\"`.", + "enum": [ + "gh-pages", + "master", + "master /docs" ] } - }, - "required": [ - "source" - ] + } }, "example": { - "cname": "octocatblog.com", - "source": { - "branch": "main", - "path": "/" - } + "source": "master /docs" } } } @@ -26819,7 +26945,7 @@ "/repos/{owner}/{repo}/pulls": { "get": { "summary": "List pull requests", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -26939,15 +27065,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } }, "post": { "summary": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.21/v3/#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.21/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)\" for details.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://developer.github.com/enterprise/2.21/v3/#abuse-rate-limits)\" for details.", "tags": [ "pulls" ], @@ -27049,10 +27178,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -27629,7 +27761,7 @@ }, "patch": { "summary": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team, GitHub Enterprise Server 2.17+, and GitHub Enterprise Cloud.", "tags": [ "pulls" ], @@ -27717,10 +27849,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - + { + "required": false, + "name": "sailor-v", + "note": "You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.sailor-v-preview+json\n```" + } ], - "category": "pulls", - "subcategory": null + "category": "pulls" } } }, @@ -32494,7 +32629,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/ssh-key-items" + "$ref": "#/components/examples/ssh-key-items-2" } } } @@ -32594,7 +32729,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/ssh-key-items" + "$ref": "#/components/examples/ssh-key-items-2" } } } @@ -36006,6 +36141,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/per_page" }, @@ -36062,7 +36207,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -36082,6 +36231,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/installation_id" }, @@ -36141,6 +36300,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + }, { "required": false, "name": "mercy", @@ -36190,7 +36354,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -36233,7 +36401,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], "category": "apps", "subcategory": "installations" @@ -36353,12 +36525,11 @@ "previews": [ { "required": false, - "name": "squirrel-girl", - "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions." + "name": "machine-man", + "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" } ], - "category": "issues", - "subcategory": null + "category": "issues" } } }, @@ -38523,6 +38694,16 @@ "url": "https://developer.github.com/enterprise/2.21/v3/apps/#get-a-user-installation-for-the-authenticated-app" }, "parameters": [ + { + "name": "accept", + "description": "This API is under preview and subject to change.", + "in": "header", + "schema": { + "type": "string", + "default": "application/vnd.github.machine-man-preview+json" + }, + "required": true + }, { "$ref": "#/components/parameters/username" } @@ -38548,10 +38729,13 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [ - + { + "required": true, + "name": "machine-man", + "note": "To access the API with your GitHub App, you must provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" + } ], - "category": "apps", - "subcategory": null + "category": "apps" } } }, @@ -39381,15 +39565,6 @@ "default": 30 } }, - "since": { - "name": "since", - "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, "installation_id": { "name": "installation_id", "description": "installation_id parameter", @@ -39441,6 +39616,15 @@ "type": "integer" } }, + "since": { + "name": "since", + "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, "gist_id": { "name": "gist_id", "description": "gist_id parameter", @@ -41619,9 +41803,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -41636,12 +41817,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -41678,6 +41859,9 @@ "starred_at": { "type": "string", "example": "\"2020-07-09T00:17:42Z\"" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -42798,23 +42982,6 @@ "created_at" ] }, - "link-with-type": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, "feed": { "title": "Feed", "description": "Feed", @@ -42854,45 +43021,97 @@ "format": "uri" } }, - "security_advisories_url": { - "type": "string", - "example": "https://github.com/security-advisories" - }, "_links": { - "type": "object", - "properties": { - "timeline": { - "$ref": "#/components/schemas/link-with-type" - }, - "user": { - "$ref": "#/components/schemas/link-with-type" - }, - "security_advisories": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_public": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_actor": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organization": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/link-with-type" - } - } - }, + "type": "array", "required": [ "timeline", "user" - ] + ], + "items": { + "type": "object", + "properties": { + "timeline": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_public": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_actor": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_organization": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + } + } } }, "required": [ @@ -43847,79 +44066,6 @@ "type": "boolean", "example": true }, - "ssh_key_fingerprints": { - "type": "object", - "properties": { - "MD5_RSA": { - "type": "string" - }, - "MD5_DSA": { - "type": "string" - }, - "SHA256_RSA": { - "type": "string" - }, - "SHA256_DSA": { - "type": "string" - } - } - }, - "hooks": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "web": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "api": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "git": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "127.0.0.1/32" - ] - }, - "pages": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "192.30.252.153/32", - "192.30.252.154/32" - ] - }, - "importer": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "54.158.161.132", - "54.226.70.38" - ] - }, "github_services_sha": { "type": "string", "example": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" @@ -44249,9 +44395,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "delete_branch_on_merge": { "type": "boolean" }, @@ -44293,6 +44436,9 @@ "watchers": { "type": "integer", "example": 0 + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -44519,15 +44665,6 @@ "format": "email", "example": "octocat@github.com" }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, "has_organization_projects": { "type": "boolean", "example": true @@ -45113,166 +45250,6 @@ "slug" ] }, - "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", - "type": "object", - "properties": { - "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "events_url": { - "type": "string", - "format": "uri" - }, - "hooks_url": { - "type": "string" - }, - "issues_url": { - "type": "string" - }, - "members_url": { - "type": "string" - }, - "public_members_url": { - "type": "string" - }, - "avatar_url": { - "type": "string" - }, - "description": { - "type": "string", - "nullable": true - }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" - }, - "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" - }, - "email": { - "description": "Display email for the organization", - "example": "org@example.com", - "type": "string", - "format": "email" - }, - "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" - }, - "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" - }, - "public_repos": { - "type": "integer" - }, - "public_gists": { - "type": "integer" - }, - "followers": { - "type": "integer" - }, - "following": { - "type": "integer" - }, - "type": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "plan": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" - }, - "filled_seats": { - "type": "integer" - }, - "seats": { - "type": "integer" - } - } - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at" - ] - }, "team-full": { "title": "Full Team", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -45362,7 +45339,7 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "$ref": "#/components/schemas/organization" + "$ref": "#/components/schemas/organization-full" }, "ldap_dn": { "description": "Distinguished Name (DN) that team maps to within LDAP environment", @@ -46414,9 +46391,6 @@ "template_repository": { "type": "string" }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "type": "boolean" }, @@ -46431,12 +46405,12 @@ }, "network_count": { "type": "integer" + }, + "anonymous_access_enabled": { + "type": "boolean" } } }, - "temp_clone_token": { - "type": "string" - }, "allow_squash_merge": { "description": "Whether to allow squash merges for pull requests.", "default": true, @@ -46469,6 +46443,9 @@ }, "master_branch": { "type": "string" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -47118,10 +47095,6 @@ } ] }, - "temp_clone_token": { - "type": "string", - "nullable": true - }, "allow_squash_merge": { "type": "boolean", "example": true @@ -52386,9 +52359,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -52465,6 +52435,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -52972,9 +52945,6 @@ "push" ] }, - "temp_clone_token": { - "type": "string" - }, "allow_merge_commit": { "type": "boolean" }, @@ -53028,6 +52998,9 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "anonymous_access_enabled": { + "type": "boolean" } }, "required": [ @@ -56220,11 +56193,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -56447,10 +56415,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -57043,6 +57007,24 @@ } } }, + "pre-receive-environment-2": { + "value": { + "id": 2, + "name": "DevTools Hook Env", + "image_url": "https://my_file_server/path/to/devtools_env.tar.gz", + "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2", + "html_url": "https://github.example.com/admin/pre-receive-environments/2", + "default_environment": false, + "created_at": "2016-05-20T11:35:45-05:00", + "hooks_count": 1, + "download": { + "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", + "state": "success", + "downloaded_at": "2016-05-26T07:42:53-05:00", + "message": null + } + } + }, "pre-receive-environment-default-response": { "value": { "id": 2, @@ -57175,24 +57157,36 @@ "authorization-items": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] }, @@ -57237,7 +57231,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } }, "integration": { @@ -57536,23 +57530,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -57832,43 +57815,40 @@ "current_user_organization_urls": [ "https://github.com/organizations/github/octocat.private.atom?token=abc123" ], - "security_advisories_url": "https://github.com/security-advisories", - "_links": { - "timeline": { - "href": "https://github.com/timeline", - "type": "application/atom+xml" - }, - "user": { - "href": "https://github.com/{user}", - "type": "application/atom+xml" - }, - "current_user_public": { - "href": "https://github.com/octocat", - "type": "application/atom+xml" - }, - "current_user": { - "href": "https://github.com/octocat.private?token=abc123", - "type": "application/atom+xml" - }, - "current_user_actor": { - "href": "https://github.com/octocat.private.actor?token=abc123", - "type": "application/atom+xml" - }, - "current_user_organization": { - "href": "", - "type": "" - }, - "current_user_organizations": [ - { - "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "_links": [ + { + "timeline": { + "href": "https://github.com/timeline", "type": "application/atom+xml" - } - ], - "security_advisories": { - "href": "https://github.com/security-advisories", - "type": "application/atom+xml" + }, + "user": { + "href": "https://github.com/{user}", + "type": "application/atom+xml" + }, + "current_user_public": { + "href": "https://github.com/octocat", + "type": "application/atom+xml" + }, + "current_user": { + "href": "https://github.com/octocat.private?token=abc123", + "type": "application/atom+xml" + }, + "current_user_actor": { + "href": "https://github.com/octocat.private.actor?token=abc123", + "type": "application/atom+xml" + }, + "current_user_organization": { + "href": "", + "type": "" + }, + "current_user_organizations": [ + { + "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "type": "application/atom+xml" + } + ] } - } + ] } }, "base-gist-items": { @@ -58239,23 +58219,12 @@ "updated_at": "2011-01-26T19:14:43Z", "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -58501,25 +58470,13 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "collaborator" + "anonymous_access_enabled": false + } } ] }, @@ -58606,34 +58563,7 @@ "api-overview": { "value": { "verifiable_password_authentication": true, - "ssh_key_fingerprints": { - "MD5_RSA": "16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48", - "MD5_DSA": "ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c", - "SHA256_RSA": "nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8", - "SHA256_DSA": "br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ" - }, - "hooks": [ - "192.30.252.0/22" - ], - "web": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "api": [ - "192.30.252.0/22", - "185.199.108.0/22" - ], - "git": [ - "192.30.252.0/22" - ], - "pages": [ - "192.30.252.153/32", - "192.30.252.154/32" - ], - "importer": [ - "54.158.161.132", - "54.226.70.38" - ] + "installed_version": "2.21.0" } }, "thread-items": { @@ -58949,8 +58879,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -59585,11 +59513,11 @@ "push": false, "pull": true }, - "template_repository": "octocat/template", - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, "delete_branch_on_merge": true, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -59673,7 +59601,6 @@ "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": 9, "forks_count": 9, "stargazers_count": 80, @@ -59715,13 +59642,12 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false } }, "team-items": { @@ -59755,7 +59681,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -59778,7 +59703,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -59789,7 +59713,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } }, "team-discussion-items": { @@ -60352,7 +60277,6 @@ "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, @@ -60383,8 +60307,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -60400,7 +60322,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "team-items-response-if-child-teams-exist": { @@ -60700,7 +60623,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -60734,8 +60656,6 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -60840,7 +60760,6 @@ "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, @@ -60871,8 +60790,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -60888,7 +60805,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -60962,7 +60880,6 @@ "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, @@ -60993,8 +60910,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -61010,8 +60925,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } }, "full-repository-response-with-scarlet-witch-preview-media-type": { @@ -61201,7 +61118,6 @@ "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" }, - "language": null, "forks_count": 9, "forks": 9, "stargazers_count": 80, @@ -61235,8 +61151,6 @@ "admin": false }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -61334,7 +61248,6 @@ "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, @@ -61365,8 +61278,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -61382,7 +61293,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false }, "source": { "id": 1296269, @@ -61456,7 +61368,6 @@ "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, @@ -61487,8 +61398,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -61504,8 +61413,10 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 - } + "watchers": 1, + "anonymous_access_enabled": false + }, + "anonymous_access_enabled": false } }, "short-branch-items": { @@ -62428,7 +62339,6 @@ "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, @@ -62458,10 +62368,10 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "delete_branch_on_merge": true, "subscribers_count": 42, - "network_count": 0 + "network_count": 0, + "anonymous_access_enabled": false }, "head_commit": { "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", @@ -62567,7 +62477,6 @@ "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, @@ -62598,8 +62507,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -62615,7 +62522,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } } }, @@ -63233,7 +63141,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -63364,23 +63273,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "base": { @@ -63511,23 +63409,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } }, "_links": { @@ -63686,18 +63573,12 @@ "url": "https://api.github.com/orgs/github", "repos_url": "https://api.github.com/orgs/github/repos", "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true + "description": "A great organization" }, "name": "Octocat App", "description": "", @@ -63818,29 +63699,15 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "allow_rebase_merge": true, + "template_repository": null, + "allow_squash_merge": true, "delete_branch_on_merge": true, + "allow_merge_commit": true, "subscribers_count": 42, - "network_count": 0 - }, - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "head_commit": { - "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "tree_id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", - "timestamp": "2016-10-10T00:00:00Z", - "author": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - }, - "committer": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - } - }, - "latest_check_runs_count": 1, - "check_runs_url": "https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs" + "network_count": 0, + "anonymous_access_enabled": false + } } ] } @@ -64875,10 +64742,11 @@ "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "template_repository": null, "delete_branch_on_merge": true, "subscribers_count": 42, "network_count": 0, + "anonymous_access_enabled": false, "license": { "key": "mit", "name": "MIT License", @@ -66949,7 +66817,6 @@ "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, @@ -66978,7 +66845,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -66990,7 +66856,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "base": { @@ -67089,7 +66956,6 @@ "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, @@ -67118,7 +66984,6 @@ "pull": true }, "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "allow_merge_commit": true, "forks": 123, @@ -67130,7 +66995,8 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==" }, - "watchers": 123 + "watchers": 123, + "anonymous_access_enabled": false } }, "_links": { @@ -67821,7 +67687,6 @@ "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, @@ -67852,8 +67717,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -67869,7 +67732,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "base": { @@ -67968,7 +67832,6 @@ "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, @@ -67999,8 +67862,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -68016,7 +67877,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "_links": { @@ -68990,7 +68852,6 @@ "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, "forks": 9, "stargazers_count": 80, @@ -69031,6 +68892,10 @@ "spdx_id": "MIT", "node_id": "MDc6TGljZW5zZW1pdA==", "html_url": "https://github.com/licenses/mit" + }, + "anonymous_access_enabled": false, + "template_repository": { + "anonymous_access_enabled": false } } }, @@ -69871,6 +69736,18 @@ ] } }, + "ssh-key-items-2": { + "value": [ + { + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", + "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" + }, + { + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", + "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" + } + ] + }, "ssh-key-items": { "value": [ { @@ -69960,7 +69837,6 @@ "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, @@ -69991,8 +69867,6 @@ "pull": true }, "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, @@ -70008,7 +69882,8 @@ }, "forks": 1, "open_issues": 1, - "watchers": 1 + "watchers": 1, + "anonymous_access_enabled": false } }, "private-user-response-with-public-and-private-profile-information": { @@ -70039,7 +69914,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -70088,7 +69962,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -70124,7 +69997,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -70462,23 +70334,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] } @@ -70830,23 +70691,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } ] }, @@ -70959,23 +70809,12 @@ }, "allow_rebase_merge": true, "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", "allow_squash_merge": true, "delete_branch_on_merge": true, "allow_merge_commit": true, "subscribers_count": 42, "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 + "anonymous_access_enabled": false } } ] @@ -71017,7 +70856,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -71026,9 +70864,9 @@ "following": 0, "html_url": "https://github.com/octocat", "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } ] }, diff --git a/descriptions/ghes-2.21/ghes-2.21.yaml b/descriptions/ghes-2.21/ghes-2.21.yaml index ec1f96050b..b494065799 100644 --- a/descriptions/ghes-2.21/ghes-2.21.yaml +++ b/descriptions/ghes-2.21/ghes-2.21.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.0.0-rc.1 + version: 1.0.0-rc.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -646,7 +646,7 @@ paths: description: |- Updates the [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. [LDAP synchronization](https://help.github.com/enterprise/admin/guides/user-management/using-ldap/#enabling-ldap-sync) must be enabled to map LDAP entries to a team. Use the [Create a team](https://developer.github.com/enterprise/2.21/v3/teams/#create-a-team) endpoint to create a team with LDAP mapping. - If you pass the `hellcat-preview` media type, you can also update the LDAP mapping of a child team. + You can also update the LDAP mapping of a child team. operationId: enterprise-admin/update-ldap-mapping-for-team tags: - enterprise-admin @@ -680,14 +680,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: - - required: false - name: hellcat - note: |- - The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.hellcat-preview+json - ``` + previews: [] category: enterprise-admin subcategory: ldap "/admin/ldap/teams/{team_id}/sync": @@ -1004,7 +997,7 @@ paths: "$ref": "#/components/schemas/pre-receive-environment" examples: default: - "$ref": "#/components/examples/pre-receive-environment" + "$ref": "#/components/examples/pre-receive-environment-2" x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -1634,7 +1627,7 @@ paths: description: "**Required for built-in authentication.** The user's email address. This parameter can be omitted when using CAS, LDAP, or SAML. For details on built-in and centrally-managed authentication, - see the the [GitHub authentication guide](https://help.github.com/enterprise/2.18/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." + see the the [GitHub authentication guide](https://help.github.com/enterprise/2.21/admin/guides/user-management/authenticating-users-for-your-github-enterprise-server-instance/)." required: - login example: @@ -1801,9 +1794,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app-manifests/{code}/conversions": post: summary: Create a GitHub App from a manifest @@ -1874,14 +1872,15 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#list-installations-for-the-authenticated-app parameters: - - "$ref": "#/components/parameters/per_page" - - "$ref": "#/components/parameters/page" - - "$ref": "#/components/parameters/since" - - name: outdated - in: query - required: false + - name: accept + description: This API is under preview and subject to change. + in: header schema: type: string + default: application/vnd.github.machine-man-preview+json + required: true + - "$ref": "#/components/parameters/per_page" + - "$ref": "#/components/parameters/page" responses: '200': description: The permissions the installation has are included under the @@ -1901,9 +1900,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}": get: summary: Get an installation for the authenticated app @@ -1918,6 +1922,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#get-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" responses: '200': @@ -1936,15 +1947,19 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: delete: summary: Delete an installation for the authenticated app - description: |- - Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the "[Suspend an app installation](https://developer.github.com/enterprise/2.21/v3/apps/#suspend-an-app-installation)" endpoint. - - You must use a [JWT](https://developer.github.com/enterprise/2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. + description: Uninstalls a GitHub App on a user, organization, or business account. + You must use a [JWT](https://developer.github.com/enterprise/2.21/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) + to access this endpoint. tags: - apps operationId: apps/delete-installation @@ -1952,6 +1967,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#delete-an-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" responses: '204': @@ -1961,9 +1983,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/app/installations/{installation_id}/access_tokens": post: summary: Create an installation access token for an app @@ -1978,6 +2005,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#create-an-installation-access-token-for-an-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" requestBody: content: @@ -2042,9 +2076,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/applications/grants": get: summary: List your grants @@ -2501,9 +2540,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/authorizations": get: summary: List your authorizations @@ -4203,6 +4247,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/installations/#list-repositories-accessible-to-the-app-installation parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" responses: @@ -4238,6 +4289,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -4385,17 +4442,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/licenses": get: summary: Get all commonly used licenses @@ -5546,6 +5600,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#get-an-organization-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/org" responses: '200': @@ -5560,9 +5621,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/orgs/{org}/installations": get: summary: List app installations for an organization @@ -5576,6 +5642,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/orgs/#list-app-installations-for-an-organization parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" @@ -5602,9 +5675,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: orgs - subcategory: "/orgs/{org}/issues": get: summary: List organization issues assigned to the authenticated user @@ -5691,17 +5769,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/orgs/{org}/members": get: summary: List organization members @@ -14444,6 +14519,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: ant-man note: |- @@ -14725,6 +14808,14 @@ paths: githubCloudOnly: false enabledForGitHubApps: true previews: + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" - required: false name: flash note: |- @@ -16137,6 +16228,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#get-a-repository-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" responses: @@ -16156,9 +16254,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/repos/{owner}/{repo}/invitations": get: summary: List repository invitations @@ -16367,17 +16470,14 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: post: summary: Create an issue description: |- @@ -16577,15 +16677,13 @@ paths: enabledForGitHubApps: true previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: comments patch: @@ -16880,6 +16978,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/events/{event_id}": @@ -16929,6 +17034,21 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` + - required: false + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}": @@ -17350,6 +17470,13 @@ paths: ```shell application/vnd.github.starfox-preview+json ``` + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues subcategory: events "/repos/{owner}/{repo}/issues/{issue_number}/labels": @@ -17614,9 +17741,15 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: issues - subcategory: delete: summary: Unlock an issue description: Users with push access can unlock an issue's conversation. @@ -18805,7 +18938,7 @@ paths: category: repos subcategory: pages post: - summary: Create a GitHub Enterprise Server Pages site + summary: Create a GitHub Pages site description: Configures a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)." tags: @@ -18833,12 +18966,16 @@ paths: branch: type: string description: The repository branch used to publish your site's - source files. + source files. Can be either `master` or `gh-pages`. + enum: + - master + - gh-pages path: type: string - description: 'The repository directory that includes the source - files for the Pages site. Allowed paths are `/` or `/docs`. - Default: `/`' + description: The repository directory that includes the source + files for the Pages site. When `branch` is `master`, you can + change `path` to `/docs`. When `branch` is `gh-pages`, you + are unable to specify a `path` other than `/`. enum: - "/" - "/docs" @@ -18849,7 +18986,7 @@ paths: - source example: source: - branch: main + branch: master path: "/docs" responses: '201': @@ -18881,7 +19018,7 @@ paths: category: repos subcategory: pages put: - summary: Update information about a GitHub Enterprise Server Pages site + summary: Update information about a GitHub Pages site description: Updates information for a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages). tags: @@ -18899,12 +19036,6 @@ paths: schema: type: object properties: - cname: - type: string - 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](https://help.github.com/articles/using-a-custom-domain-with-github-pages/)." - nullable: true source: anyOf: - type: string @@ -18934,13 +19065,16 @@ paths: required: - branch - path - required: - - source + type: string + description: Update the source for the repository. Must include + the branch name, and may optionally specify the subdirectory `/docs`. + Possible values are `"gh-pages"`, `"master"`, and `"master /docs"`. + enum: + - gh-pages + - master + - master /docs example: - cname: octocatblog.com - source: - branch: main - path: "/" + source: master /docs responses: '204': description: Empty response @@ -19436,9 +19570,8 @@ paths: summary: List pull requests description: Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository - billing plans, and in public and private repositories with GitHub Team and - GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) - in the GitHub Help documentation. + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/list @@ -19521,19 +19654,25 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: post: summary: Create a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. - - You can create a new pull request. - - This endpoint triggers [notifications](https://help.github.com/articles/about-notifications/). Creating content too quickly using this endpoint may result in abuse rate limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.21/v3/#abuse-rate-limits)" and "[Dealing with abuse rate limits](https://developer.github.com/enterprise/2.21/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits)" for details. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. You can create a new + pull request. This endpoint triggers [notifications](https://docs.github.com/articles/about-notifications/). + Creating content too quickly using this endpoint may result in abuse rate + limiting. See "[Abuse rate limits](https://developer.github.com/enterprise/2.21/v3/#abuse-rate-limits)" + for details. tags: - pulls operationId: pulls/create @@ -19609,9 +19748,15 @@ paths: triggersNotification: true githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/comments": get: summary: List review comments in a repository @@ -20094,10 +20239,10 @@ paths: subcategory: patch: summary: Update a pull request - description: |- - Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. - - To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request. + description: Draft pull requests are available in public repositories with GitHub + Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository + billing plans, and in public and private repositories with GitHub Team, GitHub + Enterprise Server 2.17+, and GitHub Enterprise Cloud. tags: - pulls operationId: pulls/update @@ -20158,9 +20303,15 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - previews: [] + previews: + - required: false + name: sailor-v + note: |- + You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in `locked` events. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-01-10-lock-reason-api-preview) for full details. To access this feature, you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: + ```shell + application/vnd.github.sailor-v-preview+json + ``` category: pulls - subcategory: "/repos/{owner}/{repo}/pulls/{pull_number}/comments": get: summary: List review comments on a pull request @@ -23574,7 +23725,7 @@ paths: "$ref": "#/components/schemas/ssh-key" examples: default: - "$ref": "#/components/examples/ssh-key-items" + "$ref": "#/components/examples/ssh-key-items-2" x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23639,7 +23790,7 @@ paths: "$ref": "#/components/schemas/ssh-key" examples: default: - "$ref": "#/components/examples/ssh-key-items" + "$ref": "#/components/examples/ssh-key-items-2" requestBody: content: application/json: @@ -26155,6 +26306,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" responses: @@ -26189,7 +26347,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/installations/{installation_id}/repositories": @@ -26210,6 +26374,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/installation_id" - "$ref": "#/components/parameters/per_page" - "$ref": "#/components/parameters/page" @@ -26246,6 +26417,12 @@ paths: githubCloudOnly: false enabledForGitHubApps: false previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` - required: false name: mercy note: |- @@ -26283,7 +26460,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations delete: @@ -26313,7 +26496,13 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps subcategory: installations "/user/issues": @@ -26403,17 +26592,14 @@ paths: enabledForGitHubApps: false previews: - required: false - name: squirrel-girl - note: |- - An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details. - - To access the API you must provide a custom [media type](https://developer.github.com/v3/media) in the `Accept` header: - ```shell - application/vnd.github.squirrel-girl-preview - ``` - The `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://developer.github.com/v3/reactions) reactions. + name: machine-man + note: "If an issue event is created via a GitHub App, the response will + include the `performed_via_github_app` object with\tinformation about + the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo + receive the `performed_via_github_app` object in the response, you must + provide a custom [media type](https://developer.github.com/enterprise/2.21/v3/media) + in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" category: issues - subcategory: "/user/keys": get: summary: List public SSH keys for the authenticated user @@ -27873,6 +28059,13 @@ paths: description: API method documentation url: https://developer.github.com/enterprise/2.21/v3/apps/#get-a-user-installation-for-the-authenticated-app parameters: + - name: accept + description: This API is under preview and subject to change. + in: header + schema: + type: string + default: application/vnd.github.machine-man-preview+json + required: true - "$ref": "#/components/parameters/username" responses: '200': @@ -27887,9 +28080,14 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: false - previews: [] + previews: + - required: true + name: machine-man + note: To access the API with your GitHub App, you must provide a custom + [media type](https://developer.github.com/enterprise/2.21/v3/media) in + the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json + ``` category: apps - subcategory: "/users/{username}/keys": get: summary: List public keys for a user @@ -28449,15 +28647,6 @@ components: schema: type: integer default: 30 - since: - name: since - description: 'Only show notifications updated after the given time. This is - a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: - `YYYY-MM-DDTHH:MM:SSZ`.' - in: query - required: false - schema: - type: string installation_id: name: installation_id description: installation_id parameter @@ -28497,6 +28686,15 @@ components: required: true schema: type: integer + since: + name: since + description: 'Only show notifications updated after the given time. This is + a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: + `YYYY-MM-DDTHH:MM:SSZ`.' + in: query + required: false + schema: + type: string gist_id: name: gist_id description: gist_id parameter @@ -30111,8 +30309,6 @@ components: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -30123,8 +30319,8 @@ components: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -30153,6 +30349,8 @@ components: starred_at: type: string example: '"2020-07-09T00:17:42Z"' + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -31021,18 +31219,6 @@ components: - payload - public - created_at - link-with-type: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type feed: title: Feed description: Feed @@ -31063,33 +31249,65 @@ components: items: type: string format: uri - security_advisories_url: - type: string - example: https://github.com/security-advisories _links: - type: object - properties: - timeline: - "$ref": "#/components/schemas/link-with-type" - user: - "$ref": "#/components/schemas/link-with-type" - security_advisories: - "$ref": "#/components/schemas/link-with-type" - current_user: - "$ref": "#/components/schemas/link-with-type" - current_user_public: - "$ref": "#/components/schemas/link-with-type" - current_user_actor: - "$ref": "#/components/schemas/link-with-type" - current_user_organization: - "$ref": "#/components/schemas/link-with-type" - current_user_organizations: - type: array - items: - "$ref": "#/components/schemas/link-with-type" + type: array required: - timeline - user + items: + type: object + properties: + timeline: + type: object + properties: + href: + type: string + type: + type: string + user: + type: object + properties: + href: + type: string + type: + type: string + current_user_public: + type: object + properties: + href: + type: string + type: + type: string + current_user: + type: object + properties: + href: + type: string + type: + type: string + current_user_actor: + type: object + properties: + href: + type: string + type: + type: string + current_user_organization: + type: object + properties: + href: + type: string + type: + type: string + current_user_organizations: + type: array + items: + type: object + properties: + href: + type: string + type: + type: string required: - _links - timeline_url @@ -31811,55 +32029,6 @@ components: verifiable_password_authentication: type: boolean example: true - ssh_key_fingerprints: - type: object - properties: - MD5_RSA: - type: string - MD5_DSA: - type: string - SHA256_RSA: - type: string - SHA256_DSA: - type: string - hooks: - type: array - items: - type: string - example: - - 127.0.0.1/32 - web: - type: array - items: - type: string - example: - - 127.0.0.1/32 - api: - type: array - items: - type: string - example: - - 127.0.0.1/32 - git: - type: array - items: - type: string - example: - - 127.0.0.1/32 - pages: - type: array - items: - type: string - example: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - type: array - items: - type: string - example: - - 54.158.161.132 - - 54.226.70.38 github_services_sha: type: string example: 3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15 @@ -32102,8 +32271,6 @@ components: type: boolean template_repository: type: string - temp_clone_token: - type: string delete_branch_on_merge: type: boolean subscribers_count: @@ -32133,6 +32300,8 @@ components: watchers: type: integer example: 0 + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -32312,13 +32481,6 @@ components: type: string format: email example: octocat@github.com - twitter_username: - type: string - example: github - nullable: true - is_verified: - type: boolean - example: true has_organization_projects: type: boolean example: true @@ -32767,129 +32929,6 @@ components: - html_url - repositories_url - slug - organization: - title: Organization - description: GitHub account for managing multiple users, teams, and repositories - type: object - properties: - login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri - id: - type: integer - node_id: - type: string - repos_url: - type: string - format: uri - events_url: - type: string - format: uri - hooks_url: - type: string - issues_url: - type: string - members_url: - type: string - public_members_url: - type: string - avatar_url: - type: string - description: - type: string - nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri - name: - description: Display name for the organization - example: New Org - type: string - company: - description: Display company name for the organization - example: Acme corporation - type: string - location: - description: Display location for the organization - example: Berlin, Germany - type: string - email: - description: Display email for the organization - example: org@example.com - type: string - format: email - has_organization_projects: - description: Specifies if organization projects are enabled for this org - type: boolean - has_repository_projects: - description: Specifies if repository projects are enabled for repositories - that belong to this org - type: boolean - is_verified: - type: boolean - public_repos: - type: integer - public_gists: - type: integer - followers: - type: integer - following: - type: integer - type: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - plan: - type: object - properties: - name: - type: string - space: - type: integer - private_repos: - type: integer - filled_seats: - type: integer - seats: - type: integer - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description - - html_url - - has_organization_projects - - has_repository_projects - - public_repos - - public_gists - - followers - - following - - type - - created_at - - updated_at team-full: title: Full Team description: Groups of organization members that gives permissions on specified @@ -32960,7 +32999,7 @@ components: format: date-time example: '2017-08-17T12:37:15Z' organization: - "$ref": "#/components/schemas/organization" + "$ref": "#/components/schemas/organization-full" ldap_dn: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com @@ -33742,8 +33781,6 @@ components: type: boolean template_repository: type: string - temp_clone_token: - type: string allow_squash_merge: type: boolean delete_branch_on_merge: @@ -33754,8 +33791,8 @@ components: type: integer network_count: type: integer - temp_clone_token: - type: string + anonymous_access_enabled: + type: boolean allow_squash_merge: description: Whether to allow squash merges for pull requests. default: true @@ -33781,6 +33818,8 @@ components: type: integer master_branch: type: string + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -34283,9 +34322,6 @@ components: nullable: true allOf: - "$ref": "#/components/schemas/repository" - temp_clone_token: - type: string - nullable: true allow_squash_merge: type: boolean example: true @@ -38161,8 +38197,6 @@ components: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -38218,6 +38252,8 @@ components: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -38604,8 +38640,6 @@ components: - admin - pull - push - temp_clone_token: - type: string allow_merge_commit: type: boolean allow_squash_merge: @@ -38642,6 +38676,8 @@ components: updated_at: type: string format: date-time + anonymous_access_enabled: + type: boolean required: - archive_url - assignees_url @@ -40999,10 +41035,6 @@ components: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -41175,9 +41207,6 @@ components: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -41622,6 +41651,21 @@ components: state: not_started downloaded_at: message: + pre-receive-environment-2: + value: + id: 2 + name: DevTools Hook Env + image_url: https://my_file_server/path/to/devtools_env.tar.gz + url: https://github.example.com/api/v3/admin/pre-receive-environments/2 + html_url: https://github.example.com/admin/pre-receive-environments/2 + default_environment: false + created_at: '2016-05-20T11:35:45-05:00' + hooks_count: 1 + download: + url: https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest + state: success + downloaded_at: '2016-05-26T07:42:53-05:00' + message: pre-receive-environment-default-response: value: id: 2 @@ -41729,22 +41773,34 @@ components: allow_downstream_configuration: true authorization-items: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: simple-user: value: login: octocat @@ -41782,7 +41838,7 @@ components: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 integration: value: id: 1 @@ -42079,22 +42135,12 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false application-grant-items: value: - id: 1 @@ -42370,9 +42416,8 @@ components: current_user_organization_url: '' current_user_organization_urls: - https://github.com/organizations/github/octocat.private.atom?token=abc123 - security_advisories_url: https://github.com/security-advisories _links: - timeline: + - timeline: href: https://github.com/timeline type: application/atom+xml user: @@ -42393,9 +42438,6 @@ components: current_user_organizations: - href: https://github.com/organizations/github/octocat.private.atom?token=abc123 type: application/atom+xml - security_advisories: - href: https://github.com/security-advisories - type: application/atom+xml base-gist-items: value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d @@ -42740,22 +42782,12 @@ components: updated_at: '2011-01-26T19:14:43Z' allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false issue-with-repo-items: value: - id: 1 @@ -42982,23 +43014,12 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 - author_association: collaborator + anonymous_access_enabled: false license-simple-items: value: - key: mit @@ -43088,27 +43109,7 @@ components: api-overview: value: verifiable_password_authentication: true - ssh_key_fingerprints: - MD5_RSA: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 - MD5_DSA: ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c - SHA256_RSA: nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 - SHA256_DSA: br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ - hooks: - - 192.30.252.0/22 - web: - - 192.30.252.0/22 - - 185.199.108.0/22 - api: - - 192.30.252.0/22 - - 185.199.108.0/22 - git: - - 192.30.252.0/22 - pages: - - 192.30.252.153/32 - - 192.30.252.154/32 - importer: - - 54.158.161.132 - - 54.226.70.38 + installed_version: 2.21.0 thread-items: value: - id: '1' @@ -43398,8 +43399,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - twitter_username: github - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -43960,11 +43959,11 @@ components: admin: false push: false pull: true - template_repository: octocat/template - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + template_repository: delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -44043,7 +44042,6 @@ components: 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: forks: 9 forks_count: 9 stargazers_count: 80 @@ -44082,13 +44080,12 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false team-items: value: - id: 1 @@ -44116,7 +44113,6 @@ components: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -44139,7 +44135,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -44150,6 +44145,7 @@ components: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com team-discussion-items: value: - author: @@ -44653,7 +44649,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -44682,8 +44677,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -44699,6 +44692,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false team-items-response-if-child-teams-exist: value: - id: 2 @@ -44961,7 +44955,6 @@ components: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -44993,8 +44986,6 @@ components: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -45096,7 +45087,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -45125,8 +45115,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -45142,6 +45130,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45213,7 +45202,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -45242,8 +45230,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -45259,6 +45245,8 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false full-repository-response-with-scarlet-witch-preview-media-type: summary: Response with scarlet-witch-preview media type value: @@ -45440,7 +45428,6 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit - language: forks_count: 9 forks: 9 stargazers_count: 80 @@ -45472,8 +45459,6 @@ components: push: false admin: false allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -45569,7 +45554,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -45598,8 +45582,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -45615,6 +45597,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false source: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45686,7 +45669,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -45715,8 +45697,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -45732,6 +45712,8 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false + anonymous_access_enabled: false short-branch-items: value: - name: master @@ -46503,7 +46485,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -46531,10 +46512,10 @@ components: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false head_commit: id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d @@ -46630,7 +46611,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -46659,8 +46639,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -46676,6 +46654,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false check-run-paginated: value: total_count: 1 @@ -47217,6 +47196,7 @@ components: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos + parent: head: label: octocat:new-topic ref: new-topic @@ -47341,22 +47321,12 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -47481,22 +47451,12 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -47624,18 +47584,12 @@ components: url: https://api.github.com/orgs/github repos_url: https://api.github.com/orgs/github/repos events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true + description: A great organization name: Octocat App description: '' external_url: https://example.com @@ -47749,28 +47703,14 @@ components: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + allow_rebase_merge: true + template_repository: + allow_squash_merge: true delete_branch_on_merge: true + allow_merge_commit: true subscribers_count: 42 network_count: 0 - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - head_commit: - id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d - message: |- - Merge pull request #6 from Spaceghost/patch-1 - - New line at end of file. - timestamp: '2016-10-10T00:00:00Z' - author: - name: The Octocat - email: octocat@nowhere.com - committer: - name: The Octocat - email: octocat@nowhere.com - latest_check_runs_count: 1 - check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs + anonymous_access_enabled: false combined-commit-status: value: state: success @@ -48708,10 +48648,11 @@ components: admin: false push: false pull: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O + template_repository: delete_branch_on_merge: true subscribers_count: 42 network_count: 0 + anonymous_access_enabled: false license: key: mit name: MIT License @@ -50546,7 +50487,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -50573,7 +50513,6 @@ components: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -50585,6 +50524,7 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -50679,7 +50619,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -50706,7 +50645,6 @@ components: push: false pull: true allow_rebase_merge: true - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true allow_merge_commit: true forks: 123 @@ -50718,6 +50656,7 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== watchers: 123 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -51326,7 +51265,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -51355,8 +51293,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -51372,6 +51308,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false base: label: octocat:master ref: master @@ -51466,7 +51403,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -51495,8 +51431,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -51512,6 +51446,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false _links: self: href: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -52348,7 +52283,6 @@ components: 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: forks_count: 9 forks: 9 stargazers_count: 80 @@ -52387,6 +52321,9 @@ components: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://github.com/licenses/mit + anonymous_access_enabled: false + template_repository: + anonymous_access_enabled: false public-repository-items: value: - id: 1296269 @@ -53130,6 +53067,12 @@ components: load_balancer: run_list: - recipe[enterprise-configure] + ssh-key-items-2: + value: + - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... + pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 + - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... + pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64 ssh-key-items: value: - key: ssh-rsa AAAAB3NzaC1yc2EAAAAB... @@ -53210,7 +53153,6 @@ components: 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: forks_count: 9 stargazers_count: 80 watchers_count: 80 @@ -53239,8 +53181,6 @@ components: push: false pull: true allow_rebase_merge: true - template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true @@ -53256,6 +53196,7 @@ components: forks: 1 open_issues: 1 watchers: 1 + anonymous_access_enabled: false private-user-response-with-public-and-private-profile-information: summary: Response with public and private profile information value: @@ -53284,7 +53225,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -53330,7 +53270,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -53364,7 +53303,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -53645,22 +53583,12 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false key-items: value: - key_id: '012345678912345678' @@ -53975,22 +53903,12 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false starred-repository-items-alternative-response-with-star-creation-timestamps: summary: Alternative response with star creation timestamps value: @@ -54096,22 +54014,12 @@ components: pull: true allow_rebase_merge: true template_repository: - temp_clone_token: ABTLWHOULUVAXGTRYU7OC2876QJ2O allow_squash_merge: true delete_branch_on_merge: true allow_merge_commit: true subscribers_count: 42 network_count: 0 - license: - key: mit - name: MIT License - url: https://api.github.com/licenses/mit - spdx_id: MIT - node_id: MDc6TGljZW5zZW1pdA== - html_url: https://github.com/licenses/mit - forks: 1 - open_issues: 1 - watchers: 1 + anonymous_access_enabled: false team-full-items: value: - id: 1 @@ -54148,7 +54056,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -54157,8 +54064,8 @@ components: following: 0 html_url: https://github.com/octocat created_at: '2008-01-14T04:33:35Z' - updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com public-user-default-response: summary: Default response value: diff --git a/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json b/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json index 595126cb7c..01c6ed92f9 100644 --- a/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json +++ b/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -3934,24 +3934,36 @@ "default": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] } @@ -4746,7 +4758,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -12065,24 +12077,36 @@ "default": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] } @@ -12634,7 +12658,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -13674,7 +13698,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } } } @@ -17754,66 +17778,24 @@ "runners": { "type": "array", "items": { - "title": "Self hosted runners", - "description": "A self hosted runner", "type": "object", "properties": { "id": { - "description": "The id of the runner.", - "type": "integer", - "example": 5 + "type": "number" }, "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" + "type": "string" }, "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" + "type": "string" }, "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" + "type": "string" }, "busy": { "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - } - } } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] + } } } } @@ -17828,53 +17810,14 @@ "name": "linux_runner", "os": "linux", "status": "online", - "busy": true, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 11, - "name": "Linux", - "type": "read-only" - } - ] + "busy": true }, { "id": 24, "name": "mac_runner", "os": "macos", "status": "offline", - "busy": false, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] + "busy": false } ] } @@ -18144,66 +18087,24 @@ "runners": { "type": "array", "items": { - "title": "Self hosted runners", - "description": "A self hosted runner", "type": "object", "properties": { "id": { - "description": "The id of the runner.", - "type": "integer", - "example": 5 + "type": "number" }, "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" + "type": "string" }, "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" + "type": "string" }, "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" + "type": "string" }, "busy": { "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - } - } } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] + } } } } @@ -18218,53 +18119,14 @@ "name": "linux_runner", "os": "linux", "status": "online", - "busy": true, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 11, - "name": "Linux", - "type": "read-only" - } - ] + "busy": true }, { "id": 24, "name": "mac_runner", "os": "macos", "status": "offline", - "busy": false, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] + "busy": false } ] } @@ -20556,97 +20418,33 @@ "content": { "application/json": { "schema": { - "title": "Self hosted runners", - "description": "A self hosted runner", "type": "object", "properties": { "id": { - "description": "The id of the runner.", - "type": "integer", - "example": 5 + "type": "number" }, "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" + "type": "string" }, "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" + "type": "string" }, "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" + "type": "string" }, "busy": { "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - } - } } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] + } }, "examples": { "default": { "value": { "id": 23, - "name": "MBP", + "name": "mac_runner", "os": "macos", "status": "online", - "busy": true, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] + "busy": true } } } @@ -23482,137 +23280,71 @@ "format": "uri" } }, - "security_advisories_url": { - "type": "string", - "example": "https://github.com/security-advisories" - }, "_links": { - "type": "object", - "properties": { - "timeline": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, - "user": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, - "security_advisories": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "type": "array", + "required": [ + "timeline", + "user" + ], + "items": { + "type": "object", + "properties": { + "timeline": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_public": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user_public": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_actor": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_organization": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" + "current_user_actor": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } } }, - "required": [ - "href", - "type" - ] - }, - "current_user_organizations": { - "type": "array", - "items": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", + "current_user_organization": { "type": "object", "properties": { "href": { @@ -23621,18 +23353,24 @@ "type": { "type": "string" } - }, - "required": [ - "href", - "type" - ] + } + }, + "current_user_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } } } - }, - "required": [ - "timeline", - "user" - ] + } } }, "required": [ @@ -23653,43 +23391,40 @@ "current_user_organization_urls": [ "https://github.com/organizations/github/octocat.private.atom?token=abc123" ], - "security_advisories_url": "https://github.com/security-advisories", - "_links": { - "timeline": { - "href": "https://github.com/timeline", - "type": "application/atom+xml" - }, - "user": { - "href": "https://github.com/{user}", - "type": "application/atom+xml" - }, - "current_user_public": { - "href": "https://github.com/octocat", - "type": "application/atom+xml" - }, - "current_user": { - "href": "https://github.com/octocat.private?token=abc123", - "type": "application/atom+xml" - }, - "current_user_actor": { - "href": "https://github.com/octocat.private.actor?token=abc123", - "type": "application/atom+xml" - }, - "current_user_organization": { - "href": "", - "type": "" - }, - "current_user_organizations": [ - { - "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "_links": [ + { + "timeline": { + "href": "https://github.com/timeline", "type": "application/atom+xml" - } - ], - "security_advisories": { - "href": "https://github.com/security-advisories", - "type": "application/atom+xml" + }, + "user": { + "href": "https://github.com/{user}", + "type": "application/atom+xml" + }, + "current_user_public": { + "href": "https://github.com/octocat", + "type": "application/atom+xml" + }, + "current_user": { + "href": "https://github.com/octocat.private?token=abc123", + "type": "application/atom+xml" + }, + "current_user_actor": { + "href": "https://github.com/octocat.private.actor?token=abc123", + "type": "application/atom+xml" + }, + "current_user_organization": { + "href": "", + "type": "" + }, + "current_user_organizations": [ + { + "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "type": "application/atom+xml" + } + ] } - } + ] } } } @@ -42639,7 +42374,7 @@ "/orgs/{org}/actions/runner-groups": { "get": { "summary": "List self-hosted runner groups for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists all self-hosted runner groups configured in an organization and inherited from an enterprise.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/list-self-hosted-runner-groups-for-org", "tags": [ "actions" @@ -42905,7 +42640,7 @@ "/orgs/{org}/actions/runner-groups/{runner_group_id}": { "get": { "summary": "Get a self-hosted runner group for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nGets a specific self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/get-self-hosted-runner-group-for-org", "tags": [ "actions" @@ -42993,7 +42728,7 @@ }, "patch": { "summary": "Update a self-hosted runner group for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nUpdates the `name` and `visibility` of a self-hosted runner group in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/update-self-hosted-runner-group-for-org", "tags": [ "actions" @@ -43109,7 +42844,7 @@ }, "delete": { "summary": "Delete a self-hosted runner group from an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nDeletes a self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/delete-self-hosted-runner-group-from-org", "tags": [ "actions" @@ -44312,7 +44047,7 @@ }, "put": { "summary": "Set repository access for a self-hosted runner group in an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nReplaces the list of repositories that have access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/set-repo-access-to-self-hosted-runner-group-in-org", "tags": [ "actions" @@ -44387,7 +44122,7 @@ "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": { "put": { "summary": "Add repository access to a self-hosted runner group in an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nAdds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org`\nscope to use this endpoint.", + "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/add-repo-access-to-self-hosted-runner-group-in-org", "tags": [ "actions" @@ -44440,7 +44175,7 @@ }, "delete": { "summary": "Remove repository access to a self-hosted runner group in an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nRemoves a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/remove-repo-access-to-self-hosted-runner-group-in-org", "tags": [ "actions" @@ -44495,7 +44230,7 @@ "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": { "get": { "summary": "List self-hosted runners in a group for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists self-hosted runners that are in a specific organization group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/list-self-hosted-runners-in-group-for-org", "tags": [ "actions" @@ -44555,66 +44290,24 @@ "runners": { "type": "array", "items": { - "title": "Self hosted runners", - "description": "A self hosted runner", "type": "object", "properties": { "id": { - "description": "The id of the runner.", - "type": "integer", - "example": 5 + "type": "number" }, "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" + "type": "string" }, "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" + "type": "string" }, "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" + "type": "string" }, "busy": { "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - } - } } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] + } } } } @@ -44629,53 +44322,14 @@ "name": "linux_runner", "os": "linux", "status": "online", - "busy": true, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 11, - "name": "Linux", - "type": "read-only" - } - ] + "busy": true }, { "id": 24, "name": "mac_runner", "os": "macos", "status": "offline", - "busy": false, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] + "busy": false } ] } @@ -44705,7 +44359,7 @@ }, "put": { "summary": "Set self-hosted runners in a group for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nReplaces the list of self-hosted runners that are part of an organization runner group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/set-self-hosted-runners-in-group-for-org", "tags": [ "actions" @@ -44780,7 +44434,7 @@ "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": { "put": { "summary": "Add a self-hosted runner to a group for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nAdds a self-hosted runner to a runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org`\nscope to use this endpoint.", + "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/add-self-hosted-runner-to-group-for-org", "tags": [ "actions" @@ -44834,7 +44488,7 @@ }, "delete": { "summary": "Remove a self-hosted runner from a group for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nRemoves a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/remove-self-hosted-runner-from-group-for-org", "tags": [ "actions" @@ -44936,71 +44590,29 @@ "type": "object", "properties": { "total_count": { - "type": "integer" + "type": "number" }, "runners": { "type": "array", "items": { - "title": "Self hosted runners", - "description": "A self hosted runner", "type": "object", "properties": { "id": { - "description": "The id of the runner.", - "type": "integer", - "example": 5 + "type": "number" }, "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" + "type": "string" }, "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" + "type": "string" }, "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" + "type": "string" }, "busy": { "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - } - } } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] + } } } } @@ -45015,53 +44627,14 @@ "name": "linux_runner", "os": "linux", "status": "online", - "busy": true, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 11, - "name": "Linux", - "type": "read-only" - } - ] + "busy": true }, { "id": 24, "name": "mac_runner", "os": "macos", "status": "offline", - "busy": false, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] + "busy": false } ] } @@ -47349,97 +46922,33 @@ "content": { "application/json": { "schema": { - "title": "Self hosted runners", - "description": "A self hosted runner", "type": "object", "properties": { "id": { - "description": "The id of the runner.", - "type": "integer", - "example": 5 + "type": "number" }, "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" + "type": "string" }, "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" + "type": "string" }, "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" + "type": "string" }, "busy": { "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - } - } } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] + } }, "examples": { "default": { "value": { "id": 23, - "name": "MBP", + "name": "mac_runner", "os": "macos", "status": "online", - "busy": true, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] + "busy": true } } } @@ -62368,118 +61877,159 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -62499,7 +62049,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -62565,7 +62158,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -62588,7 +62180,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -62599,7 +62190,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -62908,118 +62500,159 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -63039,7 +62672,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -63105,7 +62781,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -63128,7 +62803,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -63139,7 +62813,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -63426,118 +63101,159 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -63557,7 +63273,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -63623,7 +63382,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -63646,7 +63404,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -63657,7 +63414,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -86794,71 +86552,29 @@ "type": "object", "properties": { "total_count": { - "type": "integer" + "type": "number" }, "runners": { "type": "array", "items": { - "title": "Self hosted runners", - "description": "A self hosted runner", "type": "object", "properties": { "id": { - "description": "The id of the runner.", - "type": "integer", - "example": 5 + "type": "number" }, "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" + "type": "string" }, "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" + "type": "string" }, "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" + "type": "string" }, "busy": { "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - } - } } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] + } } } } @@ -86873,53 +86589,14 @@ "name": "linux_runner", "os": "linux", "status": "online", - "busy": true, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 11, - "name": "Linux", - "type": "read-only" - } - ] + "busy": true }, { "id": 24, "name": "mac_runner", "os": "macos", "status": "offline", - "busy": false, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] + "busy": false } ] } @@ -89239,97 +88916,33 @@ "content": { "application/json": { "schema": { - "title": "Self hosted runners", - "description": "A self hosted runner", "type": "object", "properties": { "id": { - "description": "The id of the runner.", - "type": "integer", - "example": 5 + "type": "number" }, "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" + "type": "string" }, "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" + "type": "string" }, "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" + "type": "string" }, "busy": { "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - } - } } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] + } }, "examples": { "default": { "value": { "id": 23, - "name": "MBP", + "name": "mac_runner", "os": "macos", "status": "online", - "busy": true, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] + "busy": true } } } @@ -94113,9 +93726,17 @@ { "name": "workflow_id", "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "type": "integer" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } ], @@ -94257,9 +93878,17 @@ { "name": "workflow_id", "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "type": "integer" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } } ], @@ -94344,9 +93973,17 @@ { "name": "workflow_id", "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "type": "integer" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } }, { @@ -230742,118 +230379,159 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -230873,7 +230551,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -230939,7 +230660,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -230962,7 +230682,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -230973,7 +230692,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -231255,118 +230975,159 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" + "example": "GitHub" }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -231386,7 +231147,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -231452,7 +231256,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -231475,7 +231278,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -231486,7 +231288,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } } } @@ -240560,11 +240363,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -240787,10 +240585,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -240926,7 +240720,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -240975,7 +240768,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -241231,11 +241023,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -241389,7 +241176,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -259306,118 +259092,159 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", "type": "string", - "format": "uri" + "example": "github" }, "id": { - "type": "integer" + "type": "integer", + "example": 1 }, "node_id": { - "type": "string" + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, "repos_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, "events_url": { "type": "string", - "format": "uri" + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, "hooks_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, "issues_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, "members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, "public_members_url": { - "type": "string" + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, "avatar_url": { - "type": "string" + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" }, "description": { "type": "string", + "example": "A great organization", "nullable": true }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", + "name": { "type": "string", - "format": "uri" + "example": "github" }, - "html_url": { + "company": { "type": "string", - "format": "uri" + "example": "GitHub" }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" }, "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" + "type": "string", + "example": "San Francisco" }, "email": { - "description": "Display email for the organization", - "example": "org@example.com", "type": "string", - "format": "email" + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true }, "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" + "type": "boolean", + "example": true }, "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" + "type": "boolean", + "example": true }, "public_repos": { - "type": "integer" + "type": "integer", + "example": 2 }, "public_gists": { - "type": "integer" + "type": "integer", + "example": 1 }, "followers": { - "type": "integer" + "type": "integer", + "example": 20 }, "following": { - "type": "integer" + "type": "integer", + "example": 0 }, - "type": { - "type": "string" + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" }, "created_at": { "type": "string", - "format": "date-time" + "format": "date-time", + "example": "2008-01-14T04:33:35Z" }, - "updated_at": { + "type": { "type": "string", - "format": "date-time" + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true }, "plan": { "type": "object", @@ -259437,7 +259264,50 @@ "seats": { "type": "integer" } - } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "updated_at": { + "type": "string", + "format": "date-time" } }, "required": [ @@ -259528,7 +259398,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -259537,9 +259406,9 @@ "following": 0, "html_url": "https://github.com/octocat", "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } ] } @@ -259963,11 +259832,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -260190,10 +260054,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, diff --git a/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml b/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml index ac028da378..3d6fc245fa 100644 --- a/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml +++ b/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.0.0-rc.1 + version: 1.0.0-rc.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -2889,22 +2889,34 @@ paths: examples: default: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: headers: Link: example: ; rel="next", ; @@ -3513,7 +3525,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 requestBody: content: application/json: @@ -9133,22 +9145,34 @@ paths: examples: default: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: headers: Link: example: ; rel="next", ; @@ -9579,7 +9603,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 headers: Location: example: https://api.github.com/authorizations/1 @@ -10384,7 +10408,7 @@ paths: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 headers: Location: example: https://api.github.com/authorizations/1 @@ -13560,53 +13584,18 @@ paths: runners: type: array items: - title: Self hosted runners - description: A self hosted runner type: object properties: id: - description: The id of the runner. - type: integer - example: 5 + type: number name: - description: The name of the runner. type: string - example: iMac os: - description: The Operating System of the runner. type: string - example: macos status: - description: The status of the runner. type: string - example: online busy: type: boolean - labels: - type: array - items: - type: object - properties: - id: - type: integer - description: Unique identifier of the label. - name: - type: string - description: Name of the label. - type: - type: string - description: The type of label. Read-only labels are - applied automatically when the runner is configured. - enum: - - read-only - - custom - required: - - id - - name - - os - - status - - busy - - labels examples: default: value: @@ -13617,34 +13606,11 @@ paths: os: linux status: online busy: true - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 11 - name: Linux - type: read-only - id: 24 name: mac_runner os: macos status: offline busy: false - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 20 - name: macOS - type: read-only - - id: 21 - name: no-gpu - type: custom headers: Link: example: ; rel="next", ; @@ -13836,53 +13802,18 @@ paths: runners: type: array items: - title: Self hosted runners - description: A self hosted runner type: object properties: id: - description: The id of the runner. - type: integer - example: 5 + type: number name: - description: The name of the runner. type: string - example: iMac os: - description: The Operating System of the runner. type: string - example: macos status: - description: The status of the runner. type: string - example: online busy: type: boolean - labels: - type: array - items: - type: object - properties: - id: - type: integer - description: Unique identifier of the label. - name: - type: string - description: Name of the label. - type: - type: string - description: The type of label. Read-only labels are - applied automatically when the runner is configured. - enum: - - read-only - - custom - required: - - id - - name - - os - - status - - busy - - labels examples: default: value: @@ -13893,34 +13824,11 @@ paths: os: linux status: online busy: true - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 11 - name: Linux - type: read-only - id: 24 name: mac_runner os: macos status: offline busy: false - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 20 - name: macOS - type: read-only - - id: 21 - name: no-gpu - type: custom headers: Link: example: ; rel="next", ; @@ -15653,74 +15561,26 @@ paths: content: application/json: schema: - title: Self hosted runners - description: A self hosted runner type: object properties: id: - description: The id of the runner. - type: integer - example: 5 + type: number name: - description: The name of the runner. type: string - example: iMac os: - description: The Operating System of the runner. type: string - example: macos status: - description: The status of the runner. type: string - example: online busy: type: boolean - labels: - type: array - items: - type: object - properties: - id: - type: integer - description: Unique identifier of the label. - name: - type: string - description: Name of the label. - type: - type: string - description: The type of label. Read-only labels are applied - automatically when the runner is configured. - enum: - - read-only - - custom - required: - - id - - name - - os - - status - - busy - - labels examples: default: value: id: 23 - name: MBP + name: mac_runner os: macos status: online busy: true - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 20 - name: macOS - type: read-only - - id: 21 - name: no-gpu - type: custom x-github: enabledForGitHubApps: false githubCloudOnly: false @@ -17914,113 +17774,65 @@ paths: items: type: string format: uri - security_advisories_url: - type: string - example: https://github.com/security-advisories _links: - type: object - properties: - timeline: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - user: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - security_advisories: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_public: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_actor: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_organization: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type - current_user_organizations: - type: array - items: - title: Link With Type - description: Hypermedia Link with Type + type: array + required: + - timeline + - user + items: + type: object + properties: + timeline: type: object properties: href: type: string type: type: string - required: - - href - - type - required: - - timeline - - user + user: + type: object + properties: + href: + type: string + type: + type: string + current_user_public: + type: object + properties: + href: + type: string + type: + type: string + current_user: + type: object + properties: + href: + type: string + type: + type: string + current_user_actor: + type: object + properties: + href: + type: string + type: + type: string + current_user_organization: + type: object + properties: + href: + type: string + type: + type: string + current_user_organizations: + type: array + items: + type: object + properties: + href: + type: string + type: + type: string required: - _links - timeline_url @@ -18036,9 +17848,8 @@ paths: current_user_organization_url: '' current_user_organization_urls: - https://github.com/organizations/github/octocat.private.atom?token=abc123 - security_advisories_url: https://github.com/security-advisories _links: - timeline: + - timeline: href: https://github.com/timeline type: application/atom+xml user: @@ -18059,9 +17870,6 @@ paths: current_user_organizations: - href: https://github.com/organizations/github/octocat.private.atom?token=abc123 type: application/atom+xml - security_advisories: - href: https://github.com/security-advisories - type: application/atom+xml x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32367,10 +32175,7 @@ paths: get: summary: List self-hosted runner groups for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/list-self-hosted-runner-groups-for-org tags: @@ -32559,10 +32364,7 @@ paths: get: summary: Get a self-hosted runner group for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Gets a specific self-hosted runner group for an organization. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/get-self-hosted-runner-group-for-org tags: @@ -32623,10 +32425,7 @@ paths: patch: summary: Update a self-hosted runner group for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Updates the `name` and `visibility` of a self-hosted runner group in an organization. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/update-self-hosted-runner-group-for-org tags: @@ -32708,10 +32507,7 @@ paths: delete: summary: Delete a self-hosted runner group from an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Deletes a self-hosted runner group for an organization. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/delete-self-hosted-runner-group-from-org tags: @@ -33638,10 +33434,7 @@ paths: put: summary: Set repository access for a self-hosted runner group in an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/set-repo-access-to-self-hosted-runner-group-in-org tags: @@ -33692,13 +33485,8 @@ paths: put: summary: Add repository access to a self-hosted runner group in an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - - Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." - - You must authenticate using an access token with the `admin:org` - scope to use this endpoint. + You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/add-repo-access-to-self-hosted-runner-group-in-org tags: - actions @@ -33734,11 +33522,7 @@ paths: delete: summary: Remove repository access to a self-hosted runner group in an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - - Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/remove-repo-access-to-self-hosted-runner-group-in-org tags: @@ -33776,10 +33560,7 @@ paths: get: summary: List self-hosted runners in a group for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Lists self-hosted runners that are in a specific organization group. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/list-self-hosted-runners-in-group-for-org tags: @@ -33824,53 +33605,18 @@ paths: runners: type: array items: - title: Self hosted runners - description: A self hosted runner type: object properties: id: - description: The id of the runner. - type: integer - example: 5 + type: number name: - description: The name of the runner. type: string - example: iMac os: - description: The Operating System of the runner. type: string - example: macos status: - description: The status of the runner. type: string - example: online busy: type: boolean - labels: - type: array - items: - type: object - properties: - id: - type: integer - description: Unique identifier of the label. - name: - type: string - description: Name of the label. - type: - type: string - description: The type of label. Read-only labels are - applied automatically when the runner is configured. - enum: - - read-only - - custom - required: - - id - - name - - os - - status - - busy - - labels examples: default: value: @@ -33881,34 +33627,11 @@ paths: os: linux status: online busy: true - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 11 - name: Linux - type: read-only - id: 24 name: mac_runner os: macos status: offline busy: false - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 20 - name: macOS - type: read-only - - id: 21 - name: no-gpu - type: custom headers: Link: example: ; rel="next", ; @@ -33924,10 +33647,7 @@ paths: put: summary: Set self-hosted runners in a group for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Replaces the list of self-hosted runners that are part of an organization runner group. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/set-self-hosted-runners-in-group-for-org tags: @@ -33978,13 +33698,8 @@ paths: put: summary: Add a self-hosted runner to a group for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - - Adds a self-hosted runner to a runner group configured in an organization. - - You must authenticate using an access token with the `admin:org` - scope to use this endpoint. + You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/add-self-hosted-runner-to-group-for-org tags: - actions @@ -34021,11 +33736,7 @@ paths: delete: summary: Remove a self-hosted runner from a group for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - - Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/remove-self-hosted-runner-from-group-for-org tags: @@ -34100,57 +33811,22 @@ paths: type: object properties: total_count: - type: integer + type: number runners: type: array items: - title: Self hosted runners - description: A self hosted runner type: object properties: id: - description: The id of the runner. - type: integer - example: 5 + type: number name: - description: The name of the runner. type: string - example: iMac os: - description: The Operating System of the runner. type: string - example: macos status: - description: The status of the runner. type: string - example: online busy: type: boolean - labels: - type: array - items: - type: object - properties: - id: - type: integer - description: Unique identifier of the label. - name: - type: string - description: Name of the label. - type: - type: string - description: The type of label. Read-only labels are - applied automatically when the runner is configured. - enum: - - read-only - - custom - required: - - id - - name - - os - - status - - busy - - labels examples: default: value: @@ -34161,34 +33837,11 @@ paths: os: linux status: online busy: true - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 11 - name: Linux - type: read-only - id: 24 name: mac_runner os: macos status: offline busy: false - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 20 - name: macOS - type: read-only - - id: 21 - name: no-gpu - type: custom headers: Link: example: ; rel="next", ; @@ -35917,74 +35570,26 @@ paths: content: application/json: schema: - title: Self hosted runners - description: A self hosted runner type: object properties: id: - description: The id of the runner. - type: integer - example: 5 + type: number name: - description: The name of the runner. type: string - example: iMac os: - description: The Operating System of the runner. type: string - example: macos status: - description: The status of the runner. type: string - example: online busy: type: boolean - labels: - type: array - items: - type: object - properties: - id: - type: integer - description: Unique identifier of the label. - name: - type: string - description: Name of the label. - type: - type: string - description: The type of label. Read-only labels are applied - automatically when the runner is configured. - enum: - - read-only - - custom - required: - - id - - name - - os - - status - - busy - - labels examples: default: value: id: 23 - name: MBP + name: mac_runner os: macos status: online busy: true - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 20 - name: macOS - type: read-only - - id: 21 - name: no-gpu - type: custom x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47583,94 +47188,126 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com + twitter_username: + type: string + example: github + nullable: true + is_verified: + type: boolean + example: true has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -47684,6 +47321,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -47742,7 +47412,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -47765,7 +47434,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -47776,6 +47444,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '422': description: Validation Failed content: @@ -48003,94 +47672,126 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com + twitter_username: + type: string + example: github + nullable: true + is_verified: + type: boolean + example: true has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -48104,6 +47805,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -48162,7 +47896,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -48185,7 +47918,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -48196,6 +47928,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '404': description: Resource Not Found content: @@ -48427,94 +48160,126 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com + twitter_username: + type: string + example: github + nullable: true + is_verified: + type: boolean + example: true has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -48528,6 +48293,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -48586,7 +48384,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -48609,7 +48406,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -48620,6 +48416,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66507,57 +66304,22 @@ paths: type: object properties: total_count: - type: integer + type: number runners: type: array items: - title: Self hosted runners - description: A self hosted runner type: object properties: id: - description: The id of the runner. - type: integer - example: 5 + type: number name: - description: The name of the runner. type: string - example: iMac os: - description: The Operating System of the runner. type: string - example: macos status: - description: The status of the runner. type: string - example: online busy: type: boolean - labels: - type: array - items: - type: object - properties: - id: - type: integer - description: Unique identifier of the label. - name: - type: string - description: Name of the label. - type: - type: string - description: The type of label. Read-only labels are - applied automatically when the runner is configured. - enum: - - read-only - - custom - required: - - id - - name - - os - - status - - busy - - labels examples: default: value: @@ -66568,34 +66330,11 @@ paths: os: linux status: online busy: true - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 11 - name: Linux - type: read-only - id: 24 name: mac_runner os: macos status: offline busy: false - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 20 - name: macOS - type: read-only - - id: 21 - name: no-gpu - type: custom headers: Link: example: ; rel="next", ; @@ -68332,74 +68071,26 @@ paths: content: application/json: schema: - title: Self hosted runners - description: A self hosted runner type: object properties: id: - description: The id of the runner. - type: integer - example: 5 + type: number name: - description: The name of the runner. type: string - example: iMac os: - description: The Operating System of the runner. type: string - example: macos status: - description: The status of the runner. type: string - example: online busy: type: boolean - labels: - type: array - items: - type: object - properties: - id: - type: integer - description: Unique identifier of the label. - name: - type: string - description: Name of the label. - type: - type: string - description: The type of label. Read-only labels are applied - automatically when the runner is configured. - enum: - - read-only - - custom - required: - - id - - name - - os - - status - - busy - - labels examples: default: value: id: 23 - name: MBP + name: mac_runner os: macos status: online busy: true - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 20 - name: macOS - type: read-only - - id: 21 - name: no-gpu - type: custom x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72137,9 +71828,13 @@ paths: type: string - name: workflow_id in: path + description: The ID of the workflow. You can also pass the workflow file name + as a string. required: true schema: - type: integer + oneOf: + - type: integer + - type: string responses: '200': description: response @@ -72247,9 +71942,13 @@ paths: type: string - name: workflow_id in: path + description: The ID of the workflow. You can also pass the workflow file name + as a string. required: true schema: - type: integer + oneOf: + - type: integer + - type: string responses: '204': description: Empty response @@ -72311,9 +72010,13 @@ paths: type: string - name: workflow_id in: path + description: The ID of the workflow. You can also pass the workflow file name + as a string. required: true schema: - type: integer + oneOf: + - type: integer + - type: string - name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -177626,94 +177329,126 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com + twitter_username: + type: string + example: github + nullable: true + is_verified: + type: boolean + example: true has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -177727,6 +177462,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -177785,7 +177553,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -177808,7 +177575,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -177819,6 +177585,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '404': description: Resource Not Found content: @@ -178049,94 +177816,126 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com + twitter_username: + type: string + example: github + nullable: true + is_verified: + type: boolean + example: true has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -178150,6 +177949,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -178208,7 +178040,6 @@ paths: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -178231,7 +178062,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -178242,6 +178072,7 @@ paths: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com '404': description: Resource Not Found content: @@ -185338,10 +185169,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -185513,9 +185340,6 @@ paths: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -185627,7 +185451,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -185673,7 +185496,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -185864,10 +185686,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -185996,7 +185814,6 @@ paths: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -199456,94 +199273,126 @@ paths: format: date-time example: '2017-08-17T12:37:15Z' organization: - title: Organization - description: GitHub account for managing multiple users, teams, - and repositories + title: Organization Full + description: Organization Full type: object properties: login: - description: Unique login name of the organization - example: new-org type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri + example: github id: type: integer + example: 1 node_id: type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github repos_url: type: string format: uri + example: https://api.github.com/orgs/github/repos events_url: type: string format: uri + example: https://api.github.com/orgs/github/events hooks_url: type: string + example: https://api.github.com/orgs/github/hooks issues_url: type: string + example: https://api.github.com/orgs/github/issues members_url: type: string + example: https://api.github.com/orgs/github/members{/member} public_members_url: type: string + example: https://api.github.com/orgs/github/public_members{/member} avatar_url: type: string + example: https://github.com/images/error/octocat_happy.gif description: type: string + example: A great organization nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri name: - description: Display name for the organization - example: New Org type: string + example: github company: - description: Display company name for the organization - example: Acme corporation type: string + example: GitHub + blog: + type: string + format: uri + example: https://github.com/blog location: - description: Display location for the organization - example: Berlin, Germany type: string + example: San Francisco email: - description: Display email for the organization - example: org@example.com type: string format: email + example: octocat@github.com + twitter_username: + type: string + example: github + nullable: true + is_verified: + type: boolean + example: true has_organization_projects: - description: Specifies if organization projects are enabled - for this org type: boolean + example: true has_repository_projects: - description: Specifies if repository projects are enabled - for repositories that belong to this org - type: boolean - is_verified: type: boolean + example: true public_repos: type: integer + example: 2 public_gists: type: integer + example: 1 followers: type: integer + example: 20 following: type: integer - type: + example: 0 + html_url: type: string + format: uri + example: https://github.com/octocat created_at: type: string format: date-time - updated_at: + example: '2008-01-14T04:33:35Z' + type: type: string - format: date-time + example: Organization + total_private_repos: + type: integer + example: 100 + owned_private_repos: + type: integer + example: 100 + private_gists: + type: integer + example: 81 + nullable: true + disk_usage: + type: integer + example: 10000 + nullable: true + collaborators: + type: integer + example: 8 + nullable: true + billing_email: + type: string + format: email + example: org@example.com + nullable: true plan: type: object properties: @@ -199557,6 +199406,39 @@ paths: type: integer seats: type: integer + required: + - name + - space + - private_repos + default_repository_permission: + type: string + nullable: true + members_can_create_repositories: + type: boolean + example: true + nullable: true + two_factor_requirement_enabled: + type: boolean + example: true + nullable: true + members_allowed_repository_creation_type: + type: string + example: all + members_can_create_public_repositories: + type: boolean + example: true + members_can_create_private_repositories: + type: boolean + example: true + members_can_create_internal_repositories: + type: boolean + example: true + members_can_create_pages: + type: boolean + example: true + updated_at: + type: string + format: date-time required: - login - url @@ -199638,7 +199520,6 @@ paths: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -199647,8 +199528,8 @@ paths: following: 0 html_url: https://github.com/octocat created_at: '2008-01-14T04:33:35Z' - updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com headers: Link: example: ; rel="next", ; @@ -199972,10 +199853,6 @@ paths: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -200147,9 +200024,6 @@ paths: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: diff --git a/descriptions/ghes-2.22/ghes-2.22.json b/descriptions/ghes-2.22/ghes-2.22.json index 0216d31ba7..f89232955e 100644 --- a/descriptions/ghes-2.22/ghes-2.22.json +++ b/descriptions/ghes-2.22/ghes-2.22.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -5061,14 +5061,14 @@ "runners": { "type": "array", "items": { - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" } } } }, "examples": { "default": { - "$ref": "#/components/examples/runner-paginated" + "$ref": "#/components/examples/runner-paginated-no-labels" } } } @@ -5266,14 +5266,14 @@ "runners": { "type": "array", "items": { - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" } } } }, "examples": { "default": { - "$ref": "#/components/examples/runner-paginated" + "$ref": "#/components/examples/runner-paginated-no-labels" } } } @@ -5460,11 +5460,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" }, "examples": { "default": { - "$ref": "#/components/examples/runner" + "$ref": "#/components/examples/runner-no-labels" } } } @@ -8330,7 +8330,7 @@ "/orgs/{org}/actions/runner-groups": { "get": { "summary": "List self-hosted runner groups for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists all self-hosted runner groups configured in an organization and inherited from an enterprise.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/list-self-hosted-runner-groups-for-org", "tags": [ "actions" @@ -8491,7 +8491,7 @@ "/orgs/{org}/actions/runner-groups/{runner_group_id}": { "get": { "summary": "Get a self-hosted runner group for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nGets a specific self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Gets a specific self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/get-self-hosted-runner-group-for-org", "tags": [ "actions" @@ -8537,7 +8537,7 @@ }, "patch": { "summary": "Update a self-hosted runner group for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nUpdates the `name` and `visibility` of a self-hosted runner group in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Updates the `name` and `visibility` of a self-hosted runner group in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/update-self-hosted-runner-group-for-org", "tags": [ "actions" @@ -8611,7 +8611,7 @@ }, "delete": { "summary": "Delete a self-hosted runner group from an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nDeletes a self-hosted runner group for an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Deletes a self-hosted runner group for an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/delete-self-hosted-runner-group-from-org", "tags": [ "actions" @@ -8704,7 +8704,7 @@ }, "put": { "summary": "Set repository access for a self-hosted runner group in an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nReplaces the list of repositories that have access to a self-hosted runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/set-repo-access-to-self-hosted-runner-group-in-org", "tags": [ "actions" @@ -8768,7 +8768,7 @@ "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": { "put": { "summary": "Add repository access to a self-hosted runner group in an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nAdds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org`\nscope to use this endpoint.", + "description": "Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/add-repo-access-to-self-hosted-runner-group-in-org", "tags": [ "actions" @@ -8805,7 +8805,7 @@ }, "delete": { "summary": "Remove repository access to a self-hosted runner group in an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nRemoves a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see \"[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization).\"\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/remove-repo-access-to-self-hosted-runner-group-in-org", "tags": [ "actions" @@ -8844,7 +8844,7 @@ "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners": { "get": { "summary": "List self-hosted runners in a group for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nLists self-hosted runners that are in a specific organization group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Lists self-hosted runners that are in a specific organization group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/list-self-hosted-runners-in-group-for-org", "tags": [ "actions" @@ -8881,14 +8881,14 @@ "runners": { "type": "array", "items": { - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" } } } }, "examples": { "default": { - "$ref": "#/components/examples/runner-paginated" + "$ref": "#/components/examples/runner-paginated-no-labels" } } } @@ -8912,7 +8912,7 @@ }, "put": { "summary": "Set self-hosted runners in a group for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\nReplaces the list of self-hosted runners that are part of an organization runner group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Replaces the list of self-hosted runners that are part of an organization runner group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/set-self-hosted-runners-in-group-for-org", "tags": [ "actions" @@ -8976,7 +8976,7 @@ "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": { "put": { "summary": "Add a self-hosted runner to a group for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nAdds a self-hosted runner to a runner group configured in an organization.\n\nYou must authenticate using an access token with the `admin:org`\nscope to use this endpoint.", + "description": "Adds a self-hosted runner to a runner group configured in an organization.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/add-self-hosted-runner-to-group-for-org", "tags": [ "actions" @@ -9013,7 +9013,7 @@ }, "delete": { "summary": "Remove a self-hosted runner from a group for an organization", - "description": "The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products).\"\n\n\nRemoves a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", + "description": "Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint.", "operationId": "actions/remove-self-hosted-runner-from-group-for-org", "tags": [ "actions" @@ -9081,19 +9081,19 @@ "type": "object", "properties": { "total_count": { - "type": "integer" + "type": "number" }, "runners": { "type": "array", "items": { - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" } } } }, "examples": { "default": { - "$ref": "#/components/examples/runner-paginated" + "$ref": "#/components/examples/runner-paginated-no-labels" } } } @@ -9280,11 +9280,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" }, "examples": { "default": { - "$ref": "#/components/examples/runner" + "$ref": "#/components/examples/runner-no-labels" } } } @@ -16568,19 +16568,19 @@ "type": "object", "properties": { "total_count": { - "type": "integer" + "type": "number" }, "runners": { "type": "array", "items": { - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" } } } }, "examples": { "default": { - "$ref": "#/components/examples/runner-paginated" + "$ref": "#/components/examples/runner-paginated-no-labels" } } } @@ -16779,11 +16779,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" }, "examples": { "default": { - "$ref": "#/components/examples/runner" + "$ref": "#/components/examples/runner-no-labels" } } } @@ -44239,9 +44239,17 @@ "workflow-id": { "name": "workflow_id", "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "type": "integer" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] } }, "branch": { @@ -46860,67 +46868,25 @@ } } }, - "runner": { - "title": "Self hosted runners", - "description": "A self hosted runner", + "runner-no-labels": { "type": "object", "properties": { "id": { - "description": "The id of the runner.", - "type": "integer", - "example": 5 + "type": "number" }, "name": { - "description": "The name of the runner.", - "type": "string", - "example": "iMac" + "type": "string" }, "os": { - "description": "The Operating System of the runner.", - "type": "string", - "example": "macos" + "type": "string" }, "status": { - "description": "The status of the runner.", - "type": "string", - "example": "online" + "type": "string" }, "busy": { "type": "boolean" - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { - "type": "string", - "description": "Name of the label." - }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": [ - "read-only", - "custom" - ] - } - } - } } - }, - "required": [ - "id", - "name", - "os", - "status", - "busy", - "labels" - ] + } }, "runner-application": { "title": "Runner Application", @@ -47601,23 +47567,6 @@ "created_at" ] }, - "link-with-type": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href", - "type" - ] - }, "feed": { "title": "Feed", "description": "Feed", @@ -47657,45 +47606,97 @@ "format": "uri" } }, - "security_advisories_url": { - "type": "string", - "example": "https://github.com/security-advisories" - }, "_links": { - "type": "object", - "properties": { - "timeline": { - "$ref": "#/components/schemas/link-with-type" - }, - "user": { - "$ref": "#/components/schemas/link-with-type" - }, - "security_advisories": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_public": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_actor": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organization": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/link-with-type" - } - } - }, + "type": "array", "required": [ "timeline", "user" - ] + ], + "items": { + "type": "object", + "properties": { + "timeline": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_public": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_actor": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_organization": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "current_user_organizations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "href": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + } + } + } } }, "required": [ @@ -50019,166 +50020,6 @@ "slug" ] }, - "organization": { - "title": "Organization", - "description": "GitHub account for managing multiple users, teams, and repositories", - "type": "object", - "properties": { - "login": { - "description": "Unique login name of the organization", - "example": "new-org", - "type": "string" - }, - "url": { - "description": "URL for the organization", - "example": "https://api.github.com/orgs/github", - "type": "string", - "format": "uri" - }, - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "events_url": { - "type": "string", - "format": "uri" - }, - "hooks_url": { - "type": "string" - }, - "issues_url": { - "type": "string" - }, - "members_url": { - "type": "string" - }, - "public_members_url": { - "type": "string" - }, - "avatar_url": { - "type": "string" - }, - "description": { - "type": "string", - "nullable": true - }, - "blog": { - "description": "Display blog url for the organization", - "example": "blog.example-org.com", - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "name": { - "description": "Display name for the organization", - "example": "New Org", - "type": "string" - }, - "company": { - "description": "Display company name for the organization", - "example": "Acme corporation", - "type": "string" - }, - "location": { - "description": "Display location for the organization", - "example": "Berlin, Germany", - "type": "string" - }, - "email": { - "description": "Display email for the organization", - "example": "org@example.com", - "type": "string", - "format": "email" - }, - "has_organization_projects": { - "description": "Specifies if organization projects are enabled for this org", - "type": "boolean" - }, - "has_repository_projects": { - "description": "Specifies if repository projects are enabled for repositories that belong to this org", - "type": "boolean" - }, - "is_verified": { - "type": "boolean" - }, - "public_repos": { - "type": "integer" - }, - "public_gists": { - "type": "integer" - }, - "followers": { - "type": "integer" - }, - "following": { - "type": "integer" - }, - "type": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "plan": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" - }, - "filled_seats": { - "type": "integer" - }, - "seats": { - "type": "integer" - } - } - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at" - ] - }, "team-full": { "title": "Full Team", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -50268,7 +50109,7 @@ "example": "2017-08-17T12:37:15Z" }, "organization": { - "$ref": "#/components/schemas/organization" + "$ref": "#/components/schemas/organization-full" }, "ldap_dn": { "description": "Distinguished Name (DN) that team maps to within LDAP environment", @@ -61869,11 +61710,6 @@ "example": "There once was...", "nullable": true }, - "twitter_username": { - "type": "string", - "example": "monalisa", - "nullable": true - }, "public_repos": { "type": "integer", "example": 2 @@ -62096,10 +61932,6 @@ "type": "string", "nullable": true }, - "twitter_username": { - "type": "string", - "nullable": true - }, "public_repos": { "type": "integer" }, @@ -62824,24 +62656,36 @@ "authorization-items": { "value": [ { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [ - "public_repo" - ], - "token": "", - "token_last_eight": "12345678", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", + "id": 2, + "url": "https://enterprise.octocat.com/api/v3/authorizations/2", "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" + "name": "My personal access token", + "url": "https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens", + "client_id": "00000000000000000000" }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678" + "token": "", + "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", + "token_last_eight": "848f9f8a", + "note": "My personal access token", + "note_url": null, + "created_at": "2019-04-24T21:49:02Z", + "updated_at": "2019-04-24T21:49:02Z", + "scopes": [ + "admin:business", + "admin:gpg_key", + "admin:org", + "admin:org_hook", + "admin:pre_receive_hook", + "admin:public_key", + "admin:repo_hook", + "delete_repo", + "gist", + "notifications", + "repo", + "user", + "write:discussion" + ], + "fingerprint": null } ] }, @@ -62886,7 +62730,7 @@ "note_url": "http://optional/note/url", "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "" + "fingerprint": "jklmnop12345678" } }, "integration": { @@ -63540,7 +63384,7 @@ ] } }, - "runner-paginated": { + "runner-paginated-no-labels": { "value": { "total_count": 2, "runners": [ @@ -63549,53 +63393,14 @@ "name": "linux_runner", "os": "linux", "status": "online", - "busy": true, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 11, - "name": "Linux", - "type": "read-only" - } - ] + "busy": true }, { "id": 24, "name": "mac_runner", "os": "macos", "status": "offline", - "busy": false, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] + "busy": false } ] } @@ -63646,35 +63451,13 @@ "expires_at": "2020-01-29T12:13:35.123-08:00" } }, - "runner": { + "runner-no-labels": { "value": { "id": 23, - "name": "MBP", + "name": "mac_runner", "os": "macos", "status": "online", - "busy": true, - "labels": [ - { - "id": 5, - "name": "self-hosted", - "type": "read-only" - }, - { - "id": 7, - "name": "X64", - "type": "read-only" - }, - { - "id": 20, - "name": "macOS", - "type": "read-only" - }, - { - "id": 21, - "name": "no-gpu", - "type": "custom" - } - ] + "busy": true } }, "feed": { @@ -63688,43 +63471,40 @@ "current_user_organization_urls": [ "https://github.com/organizations/github/octocat.private.atom?token=abc123" ], - "security_advisories_url": "https://github.com/security-advisories", - "_links": { - "timeline": { - "href": "https://github.com/timeline", - "type": "application/atom+xml" - }, - "user": { - "href": "https://github.com/{user}", - "type": "application/atom+xml" - }, - "current_user_public": { - "href": "https://github.com/octocat", - "type": "application/atom+xml" - }, - "current_user": { - "href": "https://github.com/octocat.private?token=abc123", - "type": "application/atom+xml" - }, - "current_user_actor": { - "href": "https://github.com/octocat.private.actor?token=abc123", - "type": "application/atom+xml" - }, - "current_user_organization": { - "href": "", - "type": "" - }, - "current_user_organizations": [ - { - "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "_links": [ + { + "timeline": { + "href": "https://github.com/timeline", "type": "application/atom+xml" - } - ], - "security_advisories": { - "href": "https://github.com/security-advisories", - "type": "application/atom+xml" + }, + "user": { + "href": "https://github.com/{user}", + "type": "application/atom+xml" + }, + "current_user_public": { + "href": "https://github.com/octocat", + "type": "application/atom+xml" + }, + "current_user": { + "href": "https://github.com/octocat.private?token=abc123", + "type": "application/atom+xml" + }, + "current_user_actor": { + "href": "https://github.com/octocat.private.actor?token=abc123", + "type": "application/atom+xml" + }, + "current_user_organization": { + "href": "", + "type": "" + }, + "current_user_organizations": [ + { + "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", + "type": "application/atom+xml" + } + ] } - } + ] } }, "base-gist-items": { @@ -65911,7 +65691,6 @@ "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, "members_count": 3, "repos_count": 10, "created_at": "2017-07-14T16:53:42Z", @@ -65934,7 +65713,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -65945,7 +65723,8 @@ "created_at": "2008-01-14T04:33:35Z", "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } }, "team-discussion-items": { @@ -77089,7 +76868,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -77138,7 +76916,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -77174,7 +76951,6 @@ "email": "octocat@github.com", "hireable": false, "bio": "There once was...", - "twitter_username": "monatheoctocat", "public_repos": 2, "public_gists": 1, "followers": 20, @@ -77938,7 +77714,6 @@ "blog": "https://github.com/blog", "location": "San Francisco", "email": "octocat@github.com", - "is_verified": true, "has_organization_projects": true, "has_repository_projects": true, "public_repos": 2, @@ -77947,9 +77722,9 @@ "following": 0, "html_url": "https://github.com/octocat", "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2017-08-17T12:37:15Z", "type": "Organization" - } + }, + "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" } ] }, diff --git a/descriptions/ghes-2.22/ghes-2.22.yaml b/descriptions/ghes-2.22/ghes-2.22.yaml index 97f5d13bbe..50b56f0c22 100644 --- a/descriptions/ghes-2.22/ghes-2.22.yaml +++ b/descriptions/ghes-2.22/ghes-2.22.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.0.0-rc.1 + version: 1.0.0-rc.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -3646,10 +3646,10 @@ paths: runners: type: array items: - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" examples: default: - "$ref": "#/components/examples/runner-paginated" + "$ref": "#/components/examples/runner-paginated-no-labels" headers: Link: "$ref": "#/components/headers/link" @@ -3783,10 +3783,10 @@ paths: runners: type: array items: - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" examples: default: - "$ref": "#/components/examples/runner-paginated" + "$ref": "#/components/examples/runner-paginated-no-labels" headers: Link: "$ref": "#/components/headers/link" @@ -3930,10 +3930,10 @@ paths: content: application/json: schema: - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" examples: default: - "$ref": "#/components/examples/runner" + "$ref": "#/components/examples/runner-no-labels" x-github: enabledForGitHubApps: false githubCloudOnly: false @@ -5901,10 +5901,7 @@ paths: get: summary: List self-hosted runner groups for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Lists all self-hosted runner groups configured in an organization and inherited from an enterprise. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/list-self-hosted-runner-groups-for-org tags: @@ -6017,10 +6014,7 @@ paths: get: summary: Get a self-hosted runner group for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Gets a specific self-hosted runner group for an organization. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/get-self-hosted-runner-group-for-org tags: @@ -6050,10 +6044,7 @@ paths: patch: summary: Update a self-hosted runner group for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Updates the `name` and `visibility` of a self-hosted runner group in an organization. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/update-self-hosted-runner-group-for-org tags: @@ -6104,10 +6095,7 @@ paths: delete: summary: Delete a self-hosted runner group from an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Deletes a self-hosted runner group for an organization. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/delete-self-hosted-runner-group-from-org tags: @@ -6171,10 +6159,7 @@ paths: put: summary: Set repository access for a self-hosted runner group in an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Replaces the list of repositories that have access to a self-hosted runner group configured in an organization. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/set-repo-access-to-self-hosted-runner-group-in-org tags: @@ -6216,13 +6201,8 @@ paths: put: summary: Add repository access to a self-hosted runner group in an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - - Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." - - You must authenticate using an access token with the `admin:org` - scope to use this endpoint. + You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/add-repo-access-to-self-hosted-runner-group-in-org tags: - actions @@ -6245,11 +6225,7 @@ paths: delete: summary: Remove repository access to a self-hosted runner group in an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - - Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)." - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/remove-repo-access-to-self-hosted-runner-group-in-org tags: @@ -6274,10 +6250,7 @@ paths: get: summary: List self-hosted runners in a group for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Lists self-hosted runners that are in a specific organization group. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/list-self-hosted-runners-in-group-for-org tags: @@ -6303,10 +6276,10 @@ paths: runners: type: array items: - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" examples: default: - "$ref": "#/components/examples/runner-paginated" + "$ref": "#/components/examples/runner-paginated-no-labels" headers: Link: "$ref": "#/components/headers/link" @@ -6319,10 +6292,7 @@ paths: put: summary: Set self-hosted runners in a group for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - Replaces the list of self-hosted runners that are part of an organization runner group. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/set-self-hosted-runners-in-group-for-org tags: @@ -6364,13 +6334,8 @@ paths: put: summary: Add a self-hosted runner to a group for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - - Adds a self-hosted runner to a runner group configured in an organization. - - You must authenticate using an access token with the `admin:org` - scope to use this endpoint. + You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/add-self-hosted-runner-to-group-for-org tags: - actions @@ -6393,11 +6358,7 @@ paths: delete: summary: Remove a self-hosted runner from a group for an organization description: |- - The self-hosted runner groups REST API is available with GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products)." - - Removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group. - You must authenticate using an access token with the `admin:org` scope to use this endpoint. operationId: actions/remove-self-hosted-runner-from-group-for-org tags: @@ -6444,14 +6405,14 @@ paths: type: object properties: total_count: - type: integer + type: number runners: type: array items: - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" examples: default: - "$ref": "#/components/examples/runner-paginated" + "$ref": "#/components/examples/runner-paginated-no-labels" headers: Link: "$ref": "#/components/headers/link" @@ -6595,10 +6556,10 @@ paths: content: application/json: schema: - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" examples: default: - "$ref": "#/components/examples/runner" + "$ref": "#/components/examples/runner-no-labels" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -11994,14 +11955,14 @@ paths: type: object properties: total_count: - type: integer + type: number runners: type: array items: - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" examples: default: - "$ref": "#/components/examples/runner-paginated" + "$ref": "#/components/examples/runner-paginated-no-labels" headers: Link: "$ref": "#/components/headers/link" @@ -12137,10 +12098,10 @@ paths: content: application/json: schema: - "$ref": "#/components/schemas/runner" + "$ref": "#/components/schemas/runner-no-labels" examples: default: - "$ref": "#/components/examples/runner" + "$ref": "#/components/examples/runner-no-labels" x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31984,9 +31945,13 @@ components: workflow-id: name: workflow_id in: path + description: The ID of the workflow. You can also pass the workflow file name + as a string. required: true schema: - type: integer + oneOf: + - type: integer + - type: string branch: name: branch description: branch+ parameter @@ -33954,54 +33919,19 @@ components: type: string runners_url: type: string - runner: - title: Self hosted runners - description: A self hosted runner + runner-no-labels: type: object properties: id: - description: The id of the runner. - type: integer - example: 5 + type: number name: - description: The name of the runner. type: string - example: iMac os: - description: The Operating System of the runner. type: string - example: macos status: - description: The status of the runner. type: string - example: online busy: type: boolean - labels: - type: array - items: - type: object - properties: - id: - type: integer - description: Unique identifier of the label. - name: - type: string - description: Name of the label. - type: - type: string - description: The type of label. Read-only labels are applied automatically - when the runner is configured. - enum: - - read-only - - custom - required: - - id - - name - - os - - status - - busy - - labels runner-application: title: Runner Application description: Runner Application @@ -34504,18 +34434,6 @@ components: - payload - public - created_at - link-with-type: - title: Link With Type - description: Hypermedia Link with Type - type: object - properties: - href: - type: string - type: - type: string - required: - - href - - type feed: title: Feed description: Feed @@ -34546,33 +34464,65 @@ components: items: type: string format: uri - security_advisories_url: - type: string - example: https://github.com/security-advisories _links: - type: object - properties: - timeline: - "$ref": "#/components/schemas/link-with-type" - user: - "$ref": "#/components/schemas/link-with-type" - security_advisories: - "$ref": "#/components/schemas/link-with-type" - current_user: - "$ref": "#/components/schemas/link-with-type" - current_user_public: - "$ref": "#/components/schemas/link-with-type" - current_user_actor: - "$ref": "#/components/schemas/link-with-type" - current_user_organization: - "$ref": "#/components/schemas/link-with-type" - current_user_organizations: - type: array - items: - "$ref": "#/components/schemas/link-with-type" + type: array required: - timeline - user + items: + type: object + properties: + timeline: + type: object + properties: + href: + type: string + type: + type: string + user: + type: object + properties: + href: + type: string + type: + type: string + current_user_public: + type: object + properties: + href: + type: string + type: + type: string + current_user: + type: object + properties: + href: + type: string + type: + type: string + current_user_actor: + type: object + properties: + href: + type: string + type: + type: string + current_user_organization: + type: object + properties: + href: + type: string + type: + type: string + current_user_organizations: + type: array + items: + type: object + properties: + href: + type: string + type: + type: string required: - _links - timeline_url @@ -36326,129 +36276,6 @@ components: - html_url - repositories_url - slug - organization: - title: Organization - description: GitHub account for managing multiple users, teams, and repositories - type: object - properties: - login: - description: Unique login name of the organization - example: new-org - type: string - url: - description: URL for the organization - example: https://api.github.com/orgs/github - type: string - format: uri - id: - type: integer - node_id: - type: string - repos_url: - type: string - format: uri - events_url: - type: string - format: uri - hooks_url: - type: string - issues_url: - type: string - members_url: - type: string - public_members_url: - type: string - avatar_url: - type: string - description: - type: string - nullable: true - blog: - description: Display blog url for the organization - example: blog.example-org.com - type: string - format: uri - html_url: - type: string - format: uri - name: - description: Display name for the organization - example: New Org - type: string - company: - description: Display company name for the organization - example: Acme corporation - type: string - location: - description: Display location for the organization - example: Berlin, Germany - type: string - email: - description: Display email for the organization - example: org@example.com - type: string - format: email - has_organization_projects: - description: Specifies if organization projects are enabled for this org - type: boolean - has_repository_projects: - description: Specifies if repository projects are enabled for repositories - that belong to this org - type: boolean - is_verified: - type: boolean - public_repos: - type: integer - public_gists: - type: integer - followers: - type: integer - following: - type: integer - type: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - plan: - type: object - properties: - name: - type: string - space: - type: integer - private_repos: - type: integer - filled_seats: - type: integer - seats: - type: integer - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description - - html_url - - has_organization_projects - - has_repository_projects - - public_repos - - public_gists - - followers - - following - - type - - created_at - - updated_at team-full: title: Full Team description: Groups of organization members that gives permissions on specified @@ -36519,7 +36346,7 @@ components: format: date-time example: '2017-08-17T12:37:15Z' organization: - "$ref": "#/components/schemas/organization" + "$ref": "#/components/schemas/organization-full" ldap_dn: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com @@ -45139,10 +44966,6 @@ components: type: string example: There once was... nullable: true - twitter_username: - type: string - example: monalisa - nullable: true public_repos: type: integer example: 2 @@ -45315,9 +45138,6 @@ components: bio: type: string nullable: true - twitter_username: - type: string - nullable: true public_repos: type: integer public_gists: @@ -45869,22 +45689,34 @@ components: allow_downstream_configuration: true authorization-items: value: - - id: 1 - url: https://api.github.com/authorizations/1 - scopes: - - public_repo - token: '' - token_last_eight: '12345678' - hashed_token: 25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8 + - id: 2 + url: https://enterprise.octocat.com/api/v3/authorizations/2 app: - url: http://my-github-app.com - name: my github app - client_id: abcde12345fghij67890 - note: optional note - note_url: http://optional/note/url - updated_at: '2011-09-06T20:39:23Z' - created_at: '2011-09-06T17:26:27Z' - fingerprint: jklmnop12345678 + name: My personal access token + url: https://developer.github.com/enterprise/v3/enterprise-admin/users/#list-personal-access-tokens + client_id: '00000000000000000000' + token: '' + hashed_token: 23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45 + token_last_eight: 848f9f8a + note: My personal access token + note_url: + created_at: '2019-04-24T21:49:02Z' + updated_at: '2019-04-24T21:49:02Z' + scopes: + - admin:business + - admin:gpg_key + - admin:org + - admin:org_hook + - admin:pre_receive_hook + - admin:public_key + - admin:repo_hook + - delete_repo + - gist + - notifications + - repo + - user + - write:discussion + fingerprint: simple-user: value: login: octocat @@ -45922,7 +45754,7 @@ components: note_url: http://optional/note/url updated_at: '2011-09-06T20:39:23Z' created_at: '2011-09-06T17:26:27Z' - fingerprint: '' + fingerprint: jklmnop12345678 integration: value: id: 1 @@ -46552,7 +46384,7 @@ components: public_members_url: https://api.github.com/orgs/octo-org/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif description: A great organization - runner-paginated: + runner-paginated-no-labels: value: total_count: 2 runners: @@ -46561,34 +46393,11 @@ components: os: linux status: online busy: true - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 11 - name: Linux - type: read-only - id: 24 name: mac_runner os: macos status: offline busy: false - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 20 - name: macOS - type: read-only - - id: 21 - name: no-gpu - type: custom runner-application-items: value: - os: osx @@ -46619,26 +46428,13 @@ components: value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' - runner: + runner-no-labels: value: id: 23 - name: MBP + name: mac_runner os: macos status: online busy: true - labels: - - id: 5 - name: self-hosted - type: read-only - - id: 7 - name: X64 - type: read-only - - id: 20 - name: macOS - type: read-only - - id: 21 - name: no-gpu - type: custom feed: value: timeline_url: https://github.com/timeline @@ -46649,9 +46445,8 @@ components: current_user_organization_url: '' current_user_organization_urls: - https://github.com/organizations/github/octocat.private.atom?token=abc123 - security_advisories_url: https://github.com/security-advisories _links: - timeline: + - timeline: href: https://github.com/timeline type: application/atom+xml user: @@ -46672,9 +46467,6 @@ components: current_user_organizations: - href: https://github.com/organizations/github/octocat.private.atom?token=abc123 type: application/atom+xml - security_advisories: - href: https://github.com/security-advisories - type: application/atom+xml base-gist-items: value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d @@ -48654,7 +48446,6 @@ components: permission: admin members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos - parent: members_count: 3 repos_count: 10 created_at: '2017-07-14T16:53:42Z' @@ -48677,7 +48468,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -48688,6 +48478,7 @@ components: created_at: '2008-01-14T04:33:35Z' updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com team-discussion-items: value: - author: @@ -58571,7 +58362,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -58617,7 +58407,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -58651,7 +58440,6 @@ components: email: octocat@github.com hireable: false bio: There once was... - twitter_username: monatheoctocat public_repos: 2 public_gists: 1 followers: 20 @@ -59315,7 +59103,6 @@ components: blog: https://github.com/blog location: San Francisco email: octocat@github.com - is_verified: true has_organization_projects: true has_repository_projects: true public_repos: 2 @@ -59324,8 +59111,8 @@ components: following: 0 html_url: https://github.com/octocat created_at: '2008-01-14T04:33:35Z' - updated_at: '2017-08-17T12:37:15Z' type: Organization + ldap_dn: uid=asdf,ou=users,dc=github,dc=com public-user-default-response: summary: Default response value: