diff options
author | github-openapi-bot <security+github-openapi-bot@github.com> | 2020-09-28 08:33:30 -0700 |
---|---|---|
committer | github-openapi-bot <security+github-openapi-bot@github.com> | 2020-09-28 08:33:30 -0700 |
commit | 80682c3df5bf21269444183d092d3d0beba148b3 (patch) | |
tree | 638e06b5229eeb02044289376eb3d18b5d9b67fa /descriptions/api.github.com/dereferenced/api.github.com.deref.yaml | |
parent | 97b36f187ee78d8f34ad8556c2f499097ca28f07 (diff) | |
download | rest-api-description-80682c3df5bf21269444183d092d3d0beba148b3.tar.gz rest-api-description-80682c3df5bf21269444183d092d3d0beba148b3.zip |
Update OpenAPI descriptions
Diffstat (limited to 'descriptions/api.github.com/dereferenced/api.github.com.deref.yaml')
-rw-r--r-- | descriptions/api.github.com/dereferenced/api.github.com.deref.yaml | 935 |
1 files changed, 632 insertions, 303 deletions
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 d159d9332..c420748a1 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 |