@octokit/openapi 5.7.0 → 5.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/generated/api.github.com.deref.json +31 -3
  2. package/generated/api.github.com.json +16 -5
  3. package/generated/ghes-2.22-diff-to-ghes-3.0.deref.json +1 -1
  4. package/generated/ghes-2.22-diff-to-ghes-3.0.json +1 -1
  5. package/generated/ghes-2.22.deref.json +1 -1
  6. package/generated/ghes-2.22.json +1 -1
  7. package/generated/ghes-3.0-anicca-diff-to-ghes-3.1.deref.json +145 -0
  8. package/generated/ghes-3.0-diff-to-ghes-3.1.deref.json +14378 -3642
  9. package/generated/ghes-3.0-diff-to-ghes-3.1.json +1522 -240
  10. package/generated/ghes-3.0.deref.json +47 -26
  11. package/generated/ghes-3.0.json +39 -29
  12. package/generated/ghes-3.1-anicca-diff-to-ghes-3.2.deref.json +1292 -111
  13. package/generated/ghes-3.1-diff-to-ghes-3.2.deref.json +72178 -24463
  14. package/generated/ghes-3.1-diff-to-ghes-3.2.json +8486 -3212
  15. package/generated/ghes-3.1.deref.json +78 -57
  16. package/generated/ghes-3.1.json +70 -60
  17. package/generated/ghes-3.2-anicca-diff-to-api.github.com.deref.json +152 -0
  18. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +3162 -894
  19. package/generated/ghes-3.2-diff-to-api.github.com.json +931 -100
  20. package/generated/ghes-3.2.deref.json +48 -27
  21. package/generated/ghes-3.2.json +54 -30
  22. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +52 -22
  23. package/generated/github.ae-diff-to-api.github.com.deref.json +4920 -29
  24. package/generated/github.ae-diff-to-api.github.com.json +2883 -282
  25. package/generated/github.ae.deref.json +42 -10
  26. package/generated/github.ae.json +26 -11
  27. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "5.7.0",
4
+ "version": "5.8.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -1955,39 +1955,320 @@
1955
1955
  "x-octokit": { "diff": { "api.github.com.json": { "type": "added" } } }
1956
1956
  }
1957
1957
  },
1958
- "/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs": {
1959
- "get": {
1960
- "summary": "Download workflow run attempt logs",
1961
- "description": "Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after\n1 minute. Look for `Location:` in the response header to find the URL for the download. Anyone with read access to\nthe repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:read` permission to use this endpoint.",
1962
- "tags": ["actions"],
1963
- "operationId": "actions/download-workflow-run-attempt-logs",
1958
+ "/repos/{owner}/{repo}": {
1959
+ "patch": {
1960
+ "summary": "Update a repository",
1961
+ "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/github-ae@latest/rest/reference/repos#replace-all-repository-topics) endpoint.",
1962
+ "tags": ["repos"],
1963
+ "operationId": "repos/update",
1964
1964
  "externalDocs": {
1965
1965
  "description": "API method documentation",
1966
- "url": "https://docs.github.com/github-ae@latest/rest/reference/actions#download-workflow-run-attempt-logs"
1966
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/repos/#update-a-repository"
1967
1967
  },
1968
1968
  "parameters": [
1969
1969
  { "$ref": "#/components/parameters/owner" },
1970
- { "$ref": "#/components/parameters/repo" },
1971
- { "$ref": "#/components/parameters/run-id" },
1972
- { "$ref": "#/components/parameters/attempt-number" }
1970
+ { "$ref": "#/components/parameters/repo" }
1971
+ ],
1972
+ "requestBody": {
1973
+ "content": {
1974
+ "application/json": {
1975
+ "schema": {
1976
+ "type": "object",
1977
+ "properties": {
1978
+ "name": {
1979
+ "type": "string",
1980
+ "description": "The name of the repository."
1981
+ },
1982
+ "description": {
1983
+ "type": "string",
1984
+ "description": "A short description of the repository."
1985
+ },
1986
+ "homepage": {
1987
+ "type": "string",
1988
+ "description": "A URL with more information about the repository."
1989
+ },
1990
+ "private": {
1991
+ "type": "boolean",
1992
+ "description": "Either `true` to make the repository private or `false` to make it public. Default: `false`. \n**Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://help.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://help.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.",
1993
+ "default": false
1994
+ },
1995
+ "visibility": {
1996
+ "type": "string",
1997
+ "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. The `visibility` parameter overrides the `private` parameter when you use both along with the `nebula-preview` preview header.",
1998
+ "enum": ["public", "private", "visibility", "internal"]
1999
+ },
2000
+ "has_issues": {
2001
+ "type": "boolean",
2002
+ "description": "Either `true` to enable issues for this repository or `false` to disable them.",
2003
+ "default": true
2004
+ },
2005
+ "has_projects": {
2006
+ "type": "boolean",
2007
+ "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.",
2008
+ "default": true
2009
+ },
2010
+ "has_wiki": {
2011
+ "type": "boolean",
2012
+ "description": "Either `true` to enable the wiki for this repository or `false` to disable it.",
2013
+ "default": true
2014
+ },
2015
+ "is_template": {
2016
+ "type": "boolean",
2017
+ "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.",
2018
+ "default": false
2019
+ },
2020
+ "default_branch": {
2021
+ "type": "string",
2022
+ "description": "Updates the default branch for this repository."
2023
+ },
2024
+ "allow_squash_merge": {
2025
+ "type": "boolean",
2026
+ "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.",
2027
+ "default": true
2028
+ },
2029
+ "allow_merge_commit": {
2030
+ "type": "boolean",
2031
+ "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.",
2032
+ "default": true
2033
+ },
2034
+ "allow_rebase_merge": {
2035
+ "type": "boolean",
2036
+ "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.",
2037
+ "default": true
2038
+ },
2039
+ "allow_auto_merge": {
2040
+ "type": "boolean",
2041
+ "description": "Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.",
2042
+ "default": false
2043
+ },
2044
+ "delete_branch_on_merge": {
2045
+ "type": "boolean",
2046
+ "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.",
2047
+ "default": false
2048
+ },
2049
+ "archived": {
2050
+ "type": "boolean",
2051
+ "description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
2052
+ "default": false
2053
+ },
2054
+ "allow_forking": {
2055
+ "type": "boolean",
2056
+ "description": "Either `true` to allow private forks, or `false` to prevent private forks.",
2057
+ "default": false
2058
+ }
2059
+ }
2060
+ },
2061
+ "example": {
2062
+ "name": "Hello-World",
2063
+ "description": "This is your first repository",
2064
+ "homepage": "https://github.com",
2065
+ "private": true,
2066
+ "has_issues": true,
2067
+ "has_projects": true,
2068
+ "has_wiki": true
2069
+ }
2070
+ }
2071
+ }
2072
+ },
2073
+ "responses": {
2074
+ "200": {
2075
+ "description": "Response",
2076
+ "content": {
2077
+ "application/json": {
2078
+ "schema": { "$ref": "#/components/schemas/full-repository" },
2079
+ "examples": {
2080
+ "default": { "$ref": "#/components/examples/full-repository" }
2081
+ }
2082
+ }
2083
+ }
2084
+ },
2085
+ "307": { "$ref": "#/components/responses/temporary_redirect" },
2086
+ "403": { "$ref": "#/components/responses/forbidden" },
2087
+ "404": { "$ref": "#/components/responses/not_found" },
2088
+ "422": { "$ref": "#/components/responses/validation_failed" }
2089
+ },
2090
+ "x-github": {
2091
+ "githubCloudOnly": false,
2092
+ "enabledForGitHubApps": true,
2093
+ "category": "repos",
2094
+ "subcategory": null
2095
+ },
2096
+ "x-octokit": {
2097
+ "diff": { "api.github.com.json": { "type": "changed" } }
2098
+ }
2099
+ }
2100
+ },
2101
+ "/repos/{owner}/{repo}/releases": {
2102
+ "post": {
2103
+ "summary": "Create a release",
2104
+ "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/github-ae@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/github-ae@latest/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
2105
+ "tags": ["repos"],
2106
+ "operationId": "repos/create-release",
2107
+ "externalDocs": {
2108
+ "description": "API method documentation",
2109
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-release"
2110
+ },
2111
+ "parameters": [
2112
+ { "$ref": "#/components/parameters/owner" },
2113
+ { "$ref": "#/components/parameters/repo" }
1973
2114
  ],
2115
+ "requestBody": {
2116
+ "required": true,
2117
+ "content": {
2118
+ "application/json": {
2119
+ "schema": {
2120
+ "type": "object",
2121
+ "properties": {
2122
+ "tag_name": {
2123
+ "type": "string",
2124
+ "description": "The name of the tag."
2125
+ },
2126
+ "target_commitish": {
2127
+ "type": "string",
2128
+ "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`)."
2129
+ },
2130
+ "name": {
2131
+ "type": "string",
2132
+ "description": "The name of the release."
2133
+ },
2134
+ "body": {
2135
+ "type": "string",
2136
+ "description": "Text describing the contents of the tag."
2137
+ },
2138
+ "draft": {
2139
+ "type": "boolean",
2140
+ "description": "`true` to create a draft (unpublished) release, `false` to create a published one.",
2141
+ "default": false
2142
+ },
2143
+ "prerelease": {
2144
+ "type": "boolean",
2145
+ "description": "`true` to identify the release as a prerelease. `false` to identify the release as a full release.",
2146
+ "default": false
2147
+ }
2148
+ },
2149
+ "required": ["tag_name"]
2150
+ },
2151
+ "example": {
2152
+ "tag_name": "v1.0.0",
2153
+ "target_commitish": "master",
2154
+ "name": "v1.0.0",
2155
+ "body": "Description of the release",
2156
+ "draft": false,
2157
+ "prerelease": false
2158
+ }
2159
+ }
2160
+ }
2161
+ },
1974
2162
  "responses": {
1975
- "302": {
2163
+ "201": {
1976
2164
  "description": "Response",
2165
+ "content": {
2166
+ "application/json": {
2167
+ "schema": { "$ref": "#/components/schemas/release" },
2168
+ "examples": {
2169
+ "default": { "$ref": "#/components/examples/release" }
2170
+ }
2171
+ }
2172
+ },
1977
2173
  "headers": {
1978
2174
  "Location": {
1979
- "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/runs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D",
2175
+ "example": "https://api.github.com/repos/octocat/Hello-World/releases/1",
1980
2176
  "schema": { "type": "string" }
1981
2177
  }
1982
2178
  }
2179
+ },
2180
+ "422": { "$ref": "#/components/responses/validation_failed" }
2181
+ },
2182
+ "x-github": {
2183
+ "triggersNotification": true,
2184
+ "githubCloudOnly": false,
2185
+ "enabledForGitHubApps": true,
2186
+ "previews": [],
2187
+ "category": "repos",
2188
+ "subcategory": "releases"
2189
+ },
2190
+ "x-octokit": {
2191
+ "diff": { "api.github.com.json": { "type": "changed" } }
2192
+ }
2193
+ }
2194
+ },
2195
+ "/repos/{owner}/{repo}/releases/{release_id}": {
2196
+ "patch": {
2197
+ "summary": "Update a release",
2198
+ "description": "Users with push access to the repository can edit a release.",
2199
+ "tags": ["repos"],
2200
+ "operationId": "repos/update-release",
2201
+ "externalDocs": {
2202
+ "description": "API method documentation",
2203
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#update-a-release"
2204
+ },
2205
+ "parameters": [
2206
+ { "$ref": "#/components/parameters/owner" },
2207
+ { "$ref": "#/components/parameters/repo" },
2208
+ { "$ref": "#/components/parameters/release-id" }
2209
+ ],
2210
+ "requestBody": {
2211
+ "content": {
2212
+ "application/json": {
2213
+ "schema": {
2214
+ "type": "object",
2215
+ "properties": {
2216
+ "tag_name": {
2217
+ "type": "string",
2218
+ "description": "The name of the tag."
2219
+ },
2220
+ "target_commitish": {
2221
+ "type": "string",
2222
+ "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`)."
2223
+ },
2224
+ "name": {
2225
+ "type": "string",
2226
+ "description": "The name of the release."
2227
+ },
2228
+ "body": {
2229
+ "type": "string",
2230
+ "description": "Text describing the contents of the tag."
2231
+ },
2232
+ "draft": {
2233
+ "type": "boolean",
2234
+ "description": "`true` makes the release a draft, and `false` publishes the release."
2235
+ },
2236
+ "prerelease": {
2237
+ "type": "boolean",
2238
+ "description": "`true` to identify the release as a prerelease, `false` to identify the release as a full release."
2239
+ }
2240
+ }
2241
+ },
2242
+ "example": {
2243
+ "tag_name": "v1.0.0",
2244
+ "target_commitish": "master",
2245
+ "name": "v1.0.0",
2246
+ "body": "Description of the release",
2247
+ "draft": false,
2248
+ "prerelease": false
2249
+ }
2250
+ }
2251
+ }
2252
+ },
2253
+ "responses": {
2254
+ "200": {
2255
+ "description": "Response",
2256
+ "content": {
2257
+ "application/json": {
2258
+ "schema": { "$ref": "#/components/schemas/release" },
2259
+ "examples": {
2260
+ "default": { "$ref": "#/components/examples/release" }
2261
+ }
2262
+ }
2263
+ }
1983
2264
  }
1984
2265
  },
1985
2266
  "x-github": {
1986
2267
  "githubCloudOnly": false,
1987
2268
  "enabledForGitHubApps": true,
1988
2269
  "previews": [],
1989
- "category": "actions",
1990
- "subcategory": "workflow-runs"
2270
+ "category": "repos",
2271
+ "subcategory": "releases"
1991
2272
  },
1992
2273
  "x-octokit": {
1993
2274
  "diff": { "api.github.com.json": { "type": "changed" } }
@@ -2155,16 +2436,9 @@
2155
2436
  "required": true,
2156
2437
  "schema": { "type": "string" }
2157
2438
  },
2158
- "run-id": {
2159
- "name": "run_id",
2160
- "description": "The id of the workflow run.",
2161
- "in": "path",
2162
- "required": true,
2163
- "schema": { "type": "integer" }
2164
- },
2165
- "attempt-number": {
2166
- "name": "attempt_number",
2167
- "description": "The attempt number of the workflow run.",
2439
+ "release-id": {
2440
+ "name": "release_id",
2441
+ "description": "release_id parameter",
2168
2442
  "in": "path",
2169
2443
  "required": true,
2170
2444
  "schema": { "type": "integer" }
@@ -2636,312 +2910,494 @@
2636
2910
  },
2637
2911
  "required": ["total_users", "admin_users", "suspended_users"]
2638
2912
  },
2639
- "nullable-simple-user": {
2640
- "title": "Simple User",
2641
- "description": "Simple User",
2913
+ "full-repository": {
2914
+ "title": "Full Repository",
2915
+ "description": "Full Repository",
2642
2916
  "type": "object",
2643
2917
  "properties": {
2644
- "name": { "nullable": true, "type": "string" },
2645
- "email": { "nullable": true, "type": "string" },
2646
- "login": { "type": "string", "example": "octocat" },
2647
- "id": { "type": "integer", "example": 1 },
2648
- "node_id": { "type": "string", "example": "MDQ6VXNlcjE=" },
2649
- "avatar_url": {
2918
+ "id": { "type": "integer", "example": 1296269 },
2919
+ "node_id": {
2920
+ "type": "string",
2921
+ "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
2922
+ },
2923
+ "name": { "type": "string", "example": "Hello-World" },
2924
+ "full_name": { "type": "string", "example": "octocat/Hello-World" },
2925
+ "owner": { "$ref": "#/components/schemas/simple-user" },
2926
+ "private": { "type": "boolean" },
2927
+ "html_url": {
2650
2928
  "type": "string",
2651
2929
  "format": "uri",
2652
- "example": "https://github.com/images/error/octocat_happy.gif"
2930
+ "example": "https://github.com/octocat/Hello-World"
2653
2931
  },
2654
- "gravatar_id": {
2932
+ "description": {
2655
2933
  "type": "string",
2656
- "example": "41d064eb2195891e12d0413f63227ea7",
2934
+ "example": "This your first repo!",
2657
2935
  "nullable": true
2658
2936
  },
2937
+ "fork": { "type": "boolean" },
2659
2938
  "url": {
2660
2939
  "type": "string",
2661
2940
  "format": "uri",
2662
- "example": "https://api.github.com/users/octocat"
2941
+ "example": "https://api.github.com/repos/octocat/Hello-World"
2663
2942
  },
2664
- "html_url": {
2943
+ "archive_url": {
2665
2944
  "type": "string",
2666
- "format": "uri",
2667
- "example": "https://github.com/octocat"
2945
+ "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
2668
2946
  },
2669
- "followers_url": {
2947
+ "assignees_url": {
2670
2948
  "type": "string",
2671
- "format": "uri",
2672
- "example": "https://api.github.com/users/octocat/followers"
2949
+ "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
2673
2950
  },
2674
- "following_url": {
2951
+ "blobs_url": {
2675
2952
  "type": "string",
2676
- "example": "https://api.github.com/users/octocat/following{/other_user}"
2953
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
2677
2954
  },
2678
- "gists_url": {
2955
+ "branches_url": {
2679
2956
  "type": "string",
2680
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
2957
+ "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
2681
2958
  },
2682
- "starred_url": {
2959
+ "collaborators_url": {
2683
2960
  "type": "string",
2684
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
2961
+ "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
2685
2962
  },
2686
- "subscriptions_url": {
2963
+ "comments_url": {
2964
+ "type": "string",
2965
+ "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
2966
+ },
2967
+ "commits_url": {
2968
+ "type": "string",
2969
+ "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
2970
+ },
2971
+ "compare_url": {
2972
+ "type": "string",
2973
+ "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
2974
+ },
2975
+ "contents_url": {
2976
+ "type": "string",
2977
+ "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
2978
+ },
2979
+ "contributors_url": {
2687
2980
  "type": "string",
2688
2981
  "format": "uri",
2689
- "example": "https://api.github.com/users/octocat/subscriptions"
2982
+ "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
2690
2983
  },
2691
- "organizations_url": {
2984
+ "deployments_url": {
2692
2985
  "type": "string",
2693
2986
  "format": "uri",
2694
- "example": "https://api.github.com/users/octocat/orgs"
2987
+ "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
2695
2988
  },
2696
- "repos_url": {
2989
+ "downloads_url": {
2697
2990
  "type": "string",
2698
2991
  "format": "uri",
2699
- "example": "https://api.github.com/users/octocat/repos"
2992
+ "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
2700
2993
  },
2701
2994
  "events_url": {
2702
2995
  "type": "string",
2703
- "example": "https://api.github.com/users/octocat/events{/privacy}"
2996
+ "format": "uri",
2997
+ "example": "http://api.github.com/repos/octocat/Hello-World/events"
2704
2998
  },
2705
- "received_events_url": {
2999
+ "forks_url": {
2706
3000
  "type": "string",
2707
3001
  "format": "uri",
2708
- "example": "https://api.github.com/users/octocat/received_events"
3002
+ "example": "http://api.github.com/repos/octocat/Hello-World/forks"
2709
3003
  },
2710
- "type": { "type": "string", "example": "User" },
2711
- "site_admin": { "type": "boolean" },
2712
- "starred_at": {
3004
+ "git_commits_url": {
2713
3005
  "type": "string",
2714
- "example": "\"2020-07-09T00:17:55Z\""
2715
- }
2716
- },
2717
- "required": [
2718
- "avatar_url",
2719
- "events_url",
2720
- "followers_url",
2721
- "following_url",
2722
- "gists_url",
2723
- "gravatar_id",
2724
- "html_url",
2725
- "id",
2726
- "node_id",
2727
- "login",
2728
- "organizations_url",
2729
- "received_events_url",
2730
- "repos_url",
2731
- "site_admin",
2732
- "starred_url",
2733
- "subscriptions_url",
2734
- "type",
2735
- "url"
2736
- ],
2737
- "nullable": true
2738
- },
2739
- "nullable-scoped-installation": {
2740
- "title": "Scoped Installation",
2741
- "type": "object",
2742
- "properties": {
2743
- "permissions": { "$ref": "#/components/schemas/app-permissions" },
2744
- "repository_selection": {
2745
- "description": "Describe whether all repositories have been selected or there's a selection involved",
3006
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
3007
+ },
3008
+ "git_refs_url": {
2746
3009
  "type": "string",
2747
- "enum": ["all", "selected"]
3010
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
2748
3011
  },
2749
- "single_file_name": {
3012
+ "git_tags_url": {
2750
3013
  "type": "string",
2751
- "example": "config.yaml",
2752
- "nullable": true
3014
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
2753
3015
  },
2754
- "has_multiple_single_files": { "type": "boolean", "example": true },
2755
- "single_file_paths": {
2756
- "type": "array",
2757
- "items": { "type": "string" },
2758
- "example": ["config.yml", ".github/issue_TEMPLATE.md"]
3016
+ "git_url": {
3017
+ "type": "string",
3018
+ "example": "git:github.com/octocat/Hello-World.git"
2759
3019
  },
2760
- "repositories_url": {
3020
+ "issue_comment_url": {
2761
3021
  "type": "string",
2762
- "format": "uri",
2763
- "example": "https://api.github.com/users/octocat/repos"
3022
+ "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
2764
3023
  },
2765
- "account": { "$ref": "#/components/schemas/simple-user" }
2766
- },
2767
- "required": [
2768
- "permissions",
2769
- "repository_selection",
2770
- "single_file_name",
2771
- "repositories_url",
2772
- "account"
2773
- ],
2774
- "nullable": true
2775
- },
2776
- "app-permissions": {
2777
- "title": "App Permissions",
2778
- "type": "object",
2779
- "description": "The permissions granted to the user-to-server access token.",
2780
- "properties": {
2781
- "actions": {
3024
+ "issue_events_url": {
2782
3025
  "type": "string",
2783
- "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
2784
- "enum": ["read", "write"]
3026
+ "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
2785
3027
  },
2786
- "administration": {
3028
+ "issues_url": {
2787
3029
  "type": "string",
2788
- "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
2789
- "enum": ["read", "write"]
3030
+ "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
2790
3031
  },
2791
- "checks": {
3032
+ "keys_url": {
2792
3033
  "type": "string",
2793
- "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
2794
- "enum": ["read", "write"]
3034
+ "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
2795
3035
  },
2796
- "content_references": {
3036
+ "labels_url": {
2797
3037
  "type": "string",
2798
- "description": "The level of permission to grant the access token for notification of content references and creation content attachments. Can be one of: `read` or `write`.",
2799
- "enum": ["read", "write"]
3038
+ "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
2800
3039
  },
2801
- "contents": {
3040
+ "languages_url": {
2802
3041
  "type": "string",
2803
- "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
2804
- "enum": ["read", "write"]
3042
+ "format": "uri",
3043
+ "example": "http://api.github.com/repos/octocat/Hello-World/languages"
2805
3044
  },
2806
- "deployments": {
3045
+ "merges_url": {
2807
3046
  "type": "string",
2808
- "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
2809
- "enum": ["read", "write"]
3047
+ "format": "uri",
3048
+ "example": "http://api.github.com/repos/octocat/Hello-World/merges"
2810
3049
  },
2811
- "environments": {
3050
+ "milestones_url": {
2812
3051
  "type": "string",
2813
- "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
2814
- "enum": ["read", "write"]
3052
+ "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
2815
3053
  },
2816
- "issues": {
3054
+ "notifications_url": {
2817
3055
  "type": "string",
2818
- "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
2819
- "enum": ["read", "write"]
3056
+ "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
2820
3057
  },
2821
- "metadata": {
3058
+ "pulls_url": {
2822
3059
  "type": "string",
2823
- "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
2824
- "enum": ["read", "write"]
3060
+ "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
2825
3061
  },
2826
- "packages": {
3062
+ "releases_url": {
2827
3063
  "type": "string",
2828
- "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
2829
- "enum": ["read", "write"]
3064
+ "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
2830
3065
  },
2831
- "pages": {
3066
+ "ssh_url": {
2832
3067
  "type": "string",
2833
- "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
2834
- "enum": ["read", "write"]
3068
+ "example": "git@github.com:octocat/Hello-World.git"
2835
3069
  },
2836
- "pull_requests": {
3070
+ "stargazers_url": {
2837
3071
  "type": "string",
2838
- "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
2839
- "enum": ["read", "write"]
3072
+ "format": "uri",
3073
+ "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
2840
3074
  },
2841
- "repository_hooks": {
3075
+ "statuses_url": {
2842
3076
  "type": "string",
2843
- "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
2844
- "enum": ["read", "write"]
3077
+ "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
2845
3078
  },
2846
- "repository_projects": {
3079
+ "subscribers_url": {
2847
3080
  "type": "string",
2848
- "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
2849
- "enum": ["read", "write", "admin"]
3081
+ "format": "uri",
3082
+ "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
2850
3083
  },
2851
- "secret_scanning_alerts": {
3084
+ "subscription_url": {
2852
3085
  "type": "string",
2853
- "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
2854
- "enum": ["read", "write"]
3086
+ "format": "uri",
3087
+ "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
2855
3088
  },
2856
- "secrets": {
3089
+ "tags_url": {
2857
3090
  "type": "string",
2858
- "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
2859
- "enum": ["read", "write"]
3091
+ "format": "uri",
3092
+ "example": "http://api.github.com/repos/octocat/Hello-World/tags"
2860
3093
  },
2861
- "security_events": {
3094
+ "teams_url": {
2862
3095
  "type": "string",
2863
- "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
2864
- "enum": ["read", "write"]
3096
+ "format": "uri",
3097
+ "example": "http://api.github.com/repos/octocat/Hello-World/teams"
2865
3098
  },
2866
- "single_file": {
3099
+ "trees_url": {
2867
3100
  "type": "string",
2868
- "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
2869
- "enum": ["read", "write"]
3101
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
2870
3102
  },
2871
- "statuses": {
3103
+ "clone_url": {
2872
3104
  "type": "string",
2873
- "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
2874
- "enum": ["read", "write"]
3105
+ "example": "https://github.com/octocat/Hello-World.git"
2875
3106
  },
2876
- "vulnerability_alerts": {
3107
+ "mirror_url": {
2877
3108
  "type": "string",
2878
- "description": "The level of permission to grant the access token to retrieve Dependabot alerts. Can be one of: `read`.",
2879
- "enum": ["read"]
3109
+ "format": "uri",
3110
+ "example": "git:git.example.com/octocat/Hello-World",
3111
+ "nullable": true
2880
3112
  },
2881
- "workflows": {
3113
+ "hooks_url": {
2882
3114
  "type": "string",
2883
- "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
2884
- "enum": ["write"]
3115
+ "format": "uri",
3116
+ "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
2885
3117
  },
2886
- "members": {
3118
+ "svn_url": {
2887
3119
  "type": "string",
2888
- "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
2889
- "enum": ["read", "write"]
3120
+ "format": "uri",
3121
+ "example": "https://svn.github.com/octocat/Hello-World"
2890
3122
  },
2891
- "organization_administration": {
3123
+ "homepage": {
2892
3124
  "type": "string",
2893
- "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
2894
- "enum": ["read", "write"]
3125
+ "format": "uri",
3126
+ "example": "https://github.com",
3127
+ "nullable": true
2895
3128
  },
2896
- "organization_hooks": {
3129
+ "language": { "type": "string", "nullable": true },
3130
+ "forks_count": { "type": "integer", "example": 9 },
3131
+ "stargazers_count": { "type": "integer", "example": 80 },
3132
+ "watchers_count": { "type": "integer", "example": 80 },
3133
+ "size": { "type": "integer", "example": 108 },
3134
+ "default_branch": { "type": "string", "example": "master" },
3135
+ "open_issues_count": { "type": "integer", "example": 0 },
3136
+ "is_template": { "type": "boolean", "example": true },
3137
+ "topics": {
3138
+ "type": "array",
3139
+ "items": { "type": "string" },
3140
+ "example": ["octocat", "atom", "electron", "API"]
3141
+ },
3142
+ "has_issues": { "type": "boolean", "example": true },
3143
+ "has_projects": { "type": "boolean", "example": true },
3144
+ "has_wiki": { "type": "boolean", "example": true },
3145
+ "has_pages": { "type": "boolean" },
3146
+ "has_downloads": { "type": "boolean", "example": true },
3147
+ "archived": { "type": "boolean" },
3148
+ "disabled": {
3149
+ "type": "boolean",
3150
+ "description": "Returns whether or not this repository disabled."
3151
+ },
3152
+ "visibility": {
3153
+ "description": "The repository visibility: public, private, or internal.",
2897
3154
  "type": "string",
2898
- "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
2899
- "enum": ["read", "write"]
3155
+ "example": "public"
2900
3156
  },
2901
- "organization_plan": {
3157
+ "pushed_at": {
2902
3158
  "type": "string",
2903
- "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
2904
- "enum": ["read"]
3159
+ "format": "date-time",
3160
+ "example": "2011-01-26T19:06:43Z"
2905
3161
  },
2906
- "organization_projects": {
3162
+ "created_at": {
2907
3163
  "type": "string",
2908
- "description": "The level of permission to grant the access token to manage organization projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
2909
- "enum": ["read", "write", "admin"]
3164
+ "format": "date-time",
3165
+ "example": "2011-01-26T19:01:12Z"
2910
3166
  },
2911
- "organization_packages": {
3167
+ "updated_at": {
2912
3168
  "type": "string",
2913
- "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
2914
- "enum": ["read", "write"]
3169
+ "format": "date-time",
3170
+ "example": "2011-01-26T19:14:43Z"
2915
3171
  },
2916
- "organization_secrets": {
3172
+ "permissions": {
3173
+ "type": "object",
3174
+ "properties": {
3175
+ "admin": { "type": "boolean" },
3176
+ "maintain": { "type": "boolean" },
3177
+ "push": { "type": "boolean" },
3178
+ "triage": { "type": "boolean" },
3179
+ "pull": { "type": "boolean" }
3180
+ },
3181
+ "required": ["admin", "pull", "push"]
3182
+ },
3183
+ "allow_rebase_merge": { "type": "boolean", "example": true },
3184
+ "template_repository": {
3185
+ "$ref": "#/components/schemas/nullable-repository"
3186
+ },
3187
+ "temp_clone_token": { "type": "string", "nullable": true },
3188
+ "allow_squash_merge": { "type": "boolean", "example": true },
3189
+ "allow_auto_merge": { "type": "boolean", "example": false },
3190
+ "delete_branch_on_merge": { "type": "boolean", "example": false },
3191
+ "allow_merge_commit": { "type": "boolean", "example": true },
3192
+ "allow_forking": { "type": "boolean", "example": true },
3193
+ "subscribers_count": { "type": "integer", "example": 42 },
3194
+ "network_count": { "type": "integer", "example": 0 },
3195
+ "license": { "$ref": "#/components/schemas/nullable-license-simple" },
3196
+ "organization": {
3197
+ "$ref": "#/components/schemas/nullable-simple-user"
3198
+ },
3199
+ "parent": { "$ref": "#/components/schemas/repository" },
3200
+ "source": { "$ref": "#/components/schemas/repository" },
3201
+ "forks": { "type": "integer" },
3202
+ "master_branch": { "type": "string" },
3203
+ "open_issues": { "type": "integer" },
3204
+ "watchers": { "type": "integer" },
3205
+ "anonymous_access_enabled": {
3206
+ "description": "Whether anonymous git access is allowed.",
3207
+ "default": true,
3208
+ "type": "boolean"
3209
+ },
3210
+ "code_of_conduct": {
3211
+ "$ref": "#/components/schemas/code-of-conduct-simple"
3212
+ },
3213
+ "security_and_analysis": {
3214
+ "nullable": true,
3215
+ "type": "object",
3216
+ "properties": {
3217
+ "advanced_security": {
3218
+ "type": "object",
3219
+ "properties": {
3220
+ "status": {
3221
+ "type": "string",
3222
+ "enum": ["enabled", "disabled"]
3223
+ }
3224
+ }
3225
+ },
3226
+ "secret_scanning": {
3227
+ "type": "object",
3228
+ "properties": {
3229
+ "status": {
3230
+ "type": "string",
3231
+ "enum": ["enabled", "disabled"]
3232
+ }
3233
+ }
3234
+ }
3235
+ }
3236
+ }
3237
+ },
3238
+ "required": [
3239
+ "archive_url",
3240
+ "assignees_url",
3241
+ "blobs_url",
3242
+ "branches_url",
3243
+ "collaborators_url",
3244
+ "comments_url",
3245
+ "commits_url",
3246
+ "compare_url",
3247
+ "contents_url",
3248
+ "contributors_url",
3249
+ "deployments_url",
3250
+ "description",
3251
+ "downloads_url",
3252
+ "events_url",
3253
+ "fork",
3254
+ "forks_url",
3255
+ "full_name",
3256
+ "git_commits_url",
3257
+ "git_refs_url",
3258
+ "git_tags_url",
3259
+ "hooks_url",
3260
+ "html_url",
3261
+ "id",
3262
+ "node_id",
3263
+ "issue_comment_url",
3264
+ "issue_events_url",
3265
+ "issues_url",
3266
+ "keys_url",
3267
+ "labels_url",
3268
+ "languages_url",
3269
+ "merges_url",
3270
+ "milestones_url",
3271
+ "name",
3272
+ "notifications_url",
3273
+ "owner",
3274
+ "private",
3275
+ "pulls_url",
3276
+ "releases_url",
3277
+ "stargazers_url",
3278
+ "statuses_url",
3279
+ "subscribers_url",
3280
+ "subscription_url",
3281
+ "tags_url",
3282
+ "teams_url",
3283
+ "trees_url",
3284
+ "url",
3285
+ "clone_url",
3286
+ "default_branch",
3287
+ "forks",
3288
+ "forks_count",
3289
+ "git_url",
3290
+ "has_downloads",
3291
+ "has_issues",
3292
+ "has_projects",
3293
+ "has_wiki",
3294
+ "has_pages",
3295
+ "homepage",
3296
+ "language",
3297
+ "archived",
3298
+ "disabled",
3299
+ "mirror_url",
3300
+ "open_issues",
3301
+ "open_issues_count",
3302
+ "license",
3303
+ "pushed_at",
3304
+ "size",
3305
+ "ssh_url",
3306
+ "stargazers_count",
3307
+ "svn_url",
3308
+ "watchers",
3309
+ "watchers_count",
3310
+ "created_at",
3311
+ "updated_at",
3312
+ "network_count",
3313
+ "subscribers_count"
3314
+ ]
3315
+ },
3316
+ "release": {
3317
+ "title": "Release",
3318
+ "description": "A release.",
3319
+ "type": "object",
3320
+ "properties": {
3321
+ "url": { "type": "string", "format": "uri" },
3322
+ "html_url": { "type": "string", "format": "uri" },
3323
+ "assets_url": { "type": "string", "format": "uri" },
3324
+ "upload_url": { "type": "string" },
3325
+ "tarball_url": {
2917
3326
  "type": "string",
2918
- "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
2919
- "enum": ["read", "write"]
3327
+ "format": "uri",
3328
+ "nullable": true
2920
3329
  },
2921
- "organization_self_hosted_runners": {
3330
+ "zipball_url": {
2922
3331
  "type": "string",
2923
- "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
2924
- "enum": ["read", "write"]
3332
+ "format": "uri",
3333
+ "nullable": true
2925
3334
  },
2926
- "organization_user_blocking": {
3335
+ "id": { "type": "integer" },
3336
+ "node_id": { "type": "string" },
3337
+ "tag_name": {
3338
+ "description": "The name of the tag.",
3339
+ "example": "v1.0.0",
3340
+ "type": "string"
3341
+ },
3342
+ "target_commitish": {
3343
+ "description": "Specifies the commitish value that determines where the Git tag is created from.",
3344
+ "example": "master",
3345
+ "type": "string"
3346
+ },
3347
+ "name": { "type": "string", "nullable": true },
3348
+ "body": { "type": "string", "nullable": true },
3349
+ "draft": {
3350
+ "description": "true to create a draft (unpublished) release, false to create a published one.",
3351
+ "example": false,
3352
+ "type": "boolean"
3353
+ },
3354
+ "prerelease": {
3355
+ "description": "Whether to identify the release as a prerelease or a full release.",
3356
+ "example": false,
3357
+ "type": "boolean"
3358
+ },
3359
+ "created_at": { "type": "string", "format": "date-time" },
3360
+ "published_at": {
2927
3361
  "type": "string",
2928
- "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
2929
- "enum": ["read", "write"]
3362
+ "format": "date-time",
3363
+ "nullable": true
2930
3364
  },
2931
- "team_discussions": {
3365
+ "author": { "$ref": "#/components/schemas/simple-user" },
3366
+ "assets": {
3367
+ "type": "array",
3368
+ "items": { "$ref": "#/components/schemas/release-asset" }
3369
+ },
3370
+ "body_html": { "type": "string" },
3371
+ "body_text": { "type": "string" },
3372
+ "mentions_count": { "type": "integer" },
3373
+ "discussion_url": {
3374
+ "description": "The URL of the release discussion.",
2932
3375
  "type": "string",
2933
- "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
2934
- "enum": ["read", "write"]
2935
- }
3376
+ "format": "uri"
3377
+ },
3378
+ "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
2936
3379
  },
2937
- "example": {
2938
- "contents": "read",
2939
- "issues": "read",
2940
- "deployments": "write",
2941
- "single_file": "read"
2942
- }
3380
+ "required": [
3381
+ "assets_url",
3382
+ "upload_url",
3383
+ "tarball_url",
3384
+ "zipball_url",
3385
+ "created_at",
3386
+ "published_at",
3387
+ "draft",
3388
+ "id",
3389
+ "node_id",
3390
+ "author",
3391
+ "html_url",
3392
+ "name",
3393
+ "prerelease",
3394
+ "tag_name",
3395
+ "target_commitish",
3396
+ "assets",
3397
+ "url"
3398
+ ]
2943
3399
  },
2944
- "simple-user": {
3400
+ "nullable-simple-user": {
2945
3401
  "title": "Simple User",
2946
3402
  "description": "Simple User",
2947
3403
  "type": "object",
@@ -2954,114 +3410,1683 @@
2954
3410
  "avatar_url": {
2955
3411
  "type": "string",
2956
3412
  "format": "uri",
2957
- "example": "https://github.com/images/error/octocat_happy.gif"
3413
+ "example": "https://github.com/images/error/octocat_happy.gif"
3414
+ },
3415
+ "gravatar_id": {
3416
+ "type": "string",
3417
+ "example": "41d064eb2195891e12d0413f63227ea7",
3418
+ "nullable": true
3419
+ },
3420
+ "url": {
3421
+ "type": "string",
3422
+ "format": "uri",
3423
+ "example": "https://api.github.com/users/octocat"
3424
+ },
3425
+ "html_url": {
3426
+ "type": "string",
3427
+ "format": "uri",
3428
+ "example": "https://github.com/octocat"
3429
+ },
3430
+ "followers_url": {
3431
+ "type": "string",
3432
+ "format": "uri",
3433
+ "example": "https://api.github.com/users/octocat/followers"
3434
+ },
3435
+ "following_url": {
3436
+ "type": "string",
3437
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
3438
+ },
3439
+ "gists_url": {
3440
+ "type": "string",
3441
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
3442
+ },
3443
+ "starred_url": {
3444
+ "type": "string",
3445
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
3446
+ },
3447
+ "subscriptions_url": {
3448
+ "type": "string",
3449
+ "format": "uri",
3450
+ "example": "https://api.github.com/users/octocat/subscriptions"
3451
+ },
3452
+ "organizations_url": {
3453
+ "type": "string",
3454
+ "format": "uri",
3455
+ "example": "https://api.github.com/users/octocat/orgs"
3456
+ },
3457
+ "repos_url": {
3458
+ "type": "string",
3459
+ "format": "uri",
3460
+ "example": "https://api.github.com/users/octocat/repos"
3461
+ },
3462
+ "events_url": {
3463
+ "type": "string",
3464
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
3465
+ },
3466
+ "received_events_url": {
3467
+ "type": "string",
3468
+ "format": "uri",
3469
+ "example": "https://api.github.com/users/octocat/received_events"
3470
+ },
3471
+ "type": { "type": "string", "example": "User" },
3472
+ "site_admin": { "type": "boolean" },
3473
+ "starred_at": {
3474
+ "type": "string",
3475
+ "example": "\"2020-07-09T00:17:55Z\""
3476
+ }
3477
+ },
3478
+ "required": [
3479
+ "avatar_url",
3480
+ "events_url",
3481
+ "followers_url",
3482
+ "following_url",
3483
+ "gists_url",
3484
+ "gravatar_id",
3485
+ "html_url",
3486
+ "id",
3487
+ "node_id",
3488
+ "login",
3489
+ "organizations_url",
3490
+ "received_events_url",
3491
+ "repos_url",
3492
+ "site_admin",
3493
+ "starred_url",
3494
+ "subscriptions_url",
3495
+ "type",
3496
+ "url"
3497
+ ],
3498
+ "nullable": true
3499
+ },
3500
+ "nullable-scoped-installation": {
3501
+ "title": "Scoped Installation",
3502
+ "type": "object",
3503
+ "properties": {
3504
+ "permissions": { "$ref": "#/components/schemas/app-permissions" },
3505
+ "repository_selection": {
3506
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
3507
+ "type": "string",
3508
+ "enum": ["all", "selected"]
3509
+ },
3510
+ "single_file_name": {
3511
+ "type": "string",
3512
+ "example": "config.yaml",
3513
+ "nullable": true
3514
+ },
3515
+ "has_multiple_single_files": { "type": "boolean", "example": true },
3516
+ "single_file_paths": {
3517
+ "type": "array",
3518
+ "items": { "type": "string" },
3519
+ "example": ["config.yml", ".github/issue_TEMPLATE.md"]
3520
+ },
3521
+ "repositories_url": {
3522
+ "type": "string",
3523
+ "format": "uri",
3524
+ "example": "https://api.github.com/users/octocat/repos"
3525
+ },
3526
+ "account": { "$ref": "#/components/schemas/simple-user" }
3527
+ },
3528
+ "required": [
3529
+ "permissions",
3530
+ "repository_selection",
3531
+ "single_file_name",
3532
+ "repositories_url",
3533
+ "account"
3534
+ ],
3535
+ "nullable": true
3536
+ },
3537
+ "app-permissions": {
3538
+ "title": "App Permissions",
3539
+ "type": "object",
3540
+ "description": "The permissions granted to the user-to-server access token.",
3541
+ "properties": {
3542
+ "actions": {
3543
+ "type": "string",
3544
+ "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
3545
+ "enum": ["read", "write"]
3546
+ },
3547
+ "administration": {
3548
+ "type": "string",
3549
+ "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
3550
+ "enum": ["read", "write"]
3551
+ },
3552
+ "checks": {
3553
+ "type": "string",
3554
+ "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
3555
+ "enum": ["read", "write"]
3556
+ },
3557
+ "content_references": {
3558
+ "type": "string",
3559
+ "description": "The level of permission to grant the access token for notification of content references and creation content attachments. Can be one of: `read` or `write`.",
3560
+ "enum": ["read", "write"]
3561
+ },
3562
+ "contents": {
3563
+ "type": "string",
3564
+ "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
3565
+ "enum": ["read", "write"]
3566
+ },
3567
+ "deployments": {
3568
+ "type": "string",
3569
+ "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
3570
+ "enum": ["read", "write"]
3571
+ },
3572
+ "environments": {
3573
+ "type": "string",
3574
+ "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
3575
+ "enum": ["read", "write"]
3576
+ },
3577
+ "issues": {
3578
+ "type": "string",
3579
+ "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
3580
+ "enum": ["read", "write"]
3581
+ },
3582
+ "metadata": {
3583
+ "type": "string",
3584
+ "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
3585
+ "enum": ["read", "write"]
3586
+ },
3587
+ "packages": {
3588
+ "type": "string",
3589
+ "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
3590
+ "enum": ["read", "write"]
3591
+ },
3592
+ "pages": {
3593
+ "type": "string",
3594
+ "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
3595
+ "enum": ["read", "write"]
3596
+ },
3597
+ "pull_requests": {
3598
+ "type": "string",
3599
+ "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
3600
+ "enum": ["read", "write"]
3601
+ },
3602
+ "repository_hooks": {
3603
+ "type": "string",
3604
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
3605
+ "enum": ["read", "write"]
3606
+ },
3607
+ "repository_projects": {
3608
+ "type": "string",
3609
+ "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
3610
+ "enum": ["read", "write", "admin"]
3611
+ },
3612
+ "secret_scanning_alerts": {
3613
+ "type": "string",
3614
+ "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
3615
+ "enum": ["read", "write"]
3616
+ },
3617
+ "secrets": {
3618
+ "type": "string",
3619
+ "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
3620
+ "enum": ["read", "write"]
3621
+ },
3622
+ "security_events": {
3623
+ "type": "string",
3624
+ "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
3625
+ "enum": ["read", "write"]
3626
+ },
3627
+ "single_file": {
3628
+ "type": "string",
3629
+ "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
3630
+ "enum": ["read", "write"]
3631
+ },
3632
+ "statuses": {
3633
+ "type": "string",
3634
+ "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
3635
+ "enum": ["read", "write"]
3636
+ },
3637
+ "vulnerability_alerts": {
3638
+ "type": "string",
3639
+ "description": "The level of permission to grant the access token to retrieve Dependabot alerts. Can be one of: `read`.",
3640
+ "enum": ["read"]
3641
+ },
3642
+ "workflows": {
3643
+ "type": "string",
3644
+ "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
3645
+ "enum": ["write"]
3646
+ },
3647
+ "members": {
3648
+ "type": "string",
3649
+ "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
3650
+ "enum": ["read", "write"]
3651
+ },
3652
+ "organization_administration": {
3653
+ "type": "string",
3654
+ "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
3655
+ "enum": ["read", "write"]
3656
+ },
3657
+ "organization_hooks": {
3658
+ "type": "string",
3659
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
3660
+ "enum": ["read", "write"]
3661
+ },
3662
+ "organization_plan": {
3663
+ "type": "string",
3664
+ "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
3665
+ "enum": ["read"]
3666
+ },
3667
+ "organization_projects": {
3668
+ "type": "string",
3669
+ "description": "The level of permission to grant the access token to manage organization projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
3670
+ "enum": ["read", "write", "admin"]
3671
+ },
3672
+ "organization_packages": {
3673
+ "type": "string",
3674
+ "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
3675
+ "enum": ["read", "write"]
3676
+ },
3677
+ "organization_secrets": {
3678
+ "type": "string",
3679
+ "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
3680
+ "enum": ["read", "write"]
3681
+ },
3682
+ "organization_self_hosted_runners": {
3683
+ "type": "string",
3684
+ "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
3685
+ "enum": ["read", "write"]
3686
+ },
3687
+ "organization_user_blocking": {
3688
+ "type": "string",
3689
+ "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
3690
+ "enum": ["read", "write"]
3691
+ },
3692
+ "team_discussions": {
3693
+ "type": "string",
3694
+ "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
3695
+ "enum": ["read", "write"]
3696
+ }
3697
+ },
3698
+ "example": {
3699
+ "contents": "read",
3700
+ "issues": "read",
3701
+ "deployments": "write",
3702
+ "single_file": "read"
3703
+ }
3704
+ },
3705
+ "simple-user": {
3706
+ "title": "Simple User",
3707
+ "description": "Simple User",
3708
+ "type": "object",
3709
+ "properties": {
3710
+ "name": { "nullable": true, "type": "string" },
3711
+ "email": { "nullable": true, "type": "string" },
3712
+ "login": { "type": "string", "example": "octocat" },
3713
+ "id": { "type": "integer", "example": 1 },
3714
+ "node_id": { "type": "string", "example": "MDQ6VXNlcjE=" },
3715
+ "avatar_url": {
3716
+ "type": "string",
3717
+ "format": "uri",
3718
+ "example": "https://github.com/images/error/octocat_happy.gif"
3719
+ },
3720
+ "gravatar_id": {
3721
+ "type": "string",
3722
+ "example": "41d064eb2195891e12d0413f63227ea7",
3723
+ "nullable": true
3724
+ },
3725
+ "url": {
3726
+ "type": "string",
3727
+ "format": "uri",
3728
+ "example": "https://api.github.com/users/octocat"
3729
+ },
3730
+ "html_url": {
3731
+ "type": "string",
3732
+ "format": "uri",
3733
+ "example": "https://github.com/octocat"
3734
+ },
3735
+ "followers_url": {
3736
+ "type": "string",
3737
+ "format": "uri",
3738
+ "example": "https://api.github.com/users/octocat/followers"
3739
+ },
3740
+ "following_url": {
3741
+ "type": "string",
3742
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
3743
+ },
3744
+ "gists_url": {
3745
+ "type": "string",
3746
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
3747
+ },
3748
+ "starred_url": {
3749
+ "type": "string",
3750
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
3751
+ },
3752
+ "subscriptions_url": {
3753
+ "type": "string",
3754
+ "format": "uri",
3755
+ "example": "https://api.github.com/users/octocat/subscriptions"
3756
+ },
3757
+ "organizations_url": {
3758
+ "type": "string",
3759
+ "format": "uri",
3760
+ "example": "https://api.github.com/users/octocat/orgs"
3761
+ },
3762
+ "repos_url": {
3763
+ "type": "string",
3764
+ "format": "uri",
3765
+ "example": "https://api.github.com/users/octocat/repos"
3766
+ },
3767
+ "events_url": {
3768
+ "type": "string",
3769
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
3770
+ },
3771
+ "received_events_url": {
3772
+ "type": "string",
3773
+ "format": "uri",
3774
+ "example": "https://api.github.com/users/octocat/received_events"
3775
+ },
3776
+ "type": { "type": "string", "example": "User" },
3777
+ "site_admin": { "type": "boolean" },
3778
+ "starred_at": {
3779
+ "type": "string",
3780
+ "example": "\"2020-07-09T00:17:55Z\""
3781
+ }
3782
+ },
3783
+ "required": [
3784
+ "avatar_url",
3785
+ "events_url",
3786
+ "followers_url",
3787
+ "following_url",
3788
+ "gists_url",
3789
+ "gravatar_id",
3790
+ "html_url",
3791
+ "id",
3792
+ "node_id",
3793
+ "login",
3794
+ "organizations_url",
3795
+ "received_events_url",
3796
+ "repos_url",
3797
+ "site_admin",
3798
+ "starred_url",
3799
+ "subscriptions_url",
3800
+ "type",
3801
+ "url"
3802
+ ]
3803
+ },
3804
+ "basic-error": {
3805
+ "title": "Basic Error",
3806
+ "description": "Basic Error",
3807
+ "type": "object",
3808
+ "properties": {
3809
+ "message": { "type": "string" },
3810
+ "documentation_url": { "type": "string" },
3811
+ "url": { "type": "string" },
3812
+ "status": { "type": "string" }
3813
+ }
3814
+ },
3815
+ "announcement-message": {
3816
+ "type": "string",
3817
+ "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Mastering markdown](https://guides.github.com/features/mastering-markdown/).\"",
3818
+ "example": "Very **important** announcement about _nothing_."
3819
+ },
3820
+ "announcement-expiration": {
3821
+ "type": "string",
3822
+ "format": "date-time",
3823
+ "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.",
3824
+ "example": "\"2021-01-01T00:00:00.000-07:00\"",
3825
+ "nullable": true
3826
+ },
3827
+ "nullable-repository": {
3828
+ "title": "Repository",
3829
+ "description": "A git repository",
3830
+ "type": "object",
3831
+ "properties": {
3832
+ "id": {
3833
+ "description": "Unique identifier of the repository",
3834
+ "example": 42,
3835
+ "type": "integer"
3836
+ },
3837
+ "node_id": {
3838
+ "type": "string",
3839
+ "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
3840
+ },
3841
+ "name": {
3842
+ "description": "The name of the repository.",
3843
+ "type": "string",
3844
+ "example": "Team Environment"
3845
+ },
3846
+ "full_name": { "type": "string", "example": "octocat/Hello-World" },
3847
+ "license": { "$ref": "#/components/schemas/nullable-license-simple" },
3848
+ "organization": {
3849
+ "$ref": "#/components/schemas/nullable-simple-user"
3850
+ },
3851
+ "forks": { "type": "integer" },
3852
+ "permissions": {
3853
+ "type": "object",
3854
+ "properties": {
3855
+ "admin": { "type": "boolean" },
3856
+ "pull": { "type": "boolean" },
3857
+ "triage": { "type": "boolean" },
3858
+ "push": { "type": "boolean" },
3859
+ "maintain": { "type": "boolean" }
3860
+ },
3861
+ "required": ["admin", "pull", "push"]
3862
+ },
3863
+ "owner": { "$ref": "#/components/schemas/simple-user" },
3864
+ "private": {
3865
+ "description": "Whether the repository is private or public.",
3866
+ "default": false,
3867
+ "type": "boolean"
3868
+ },
3869
+ "html_url": {
3870
+ "type": "string",
3871
+ "format": "uri",
3872
+ "example": "https://github.com/octocat/Hello-World"
3873
+ },
3874
+ "description": {
3875
+ "type": "string",
3876
+ "example": "This your first repo!",
3877
+ "nullable": true
3878
+ },
3879
+ "fork": { "type": "boolean" },
3880
+ "url": {
3881
+ "type": "string",
3882
+ "format": "uri",
3883
+ "example": "https://api.github.com/repos/octocat/Hello-World"
3884
+ },
3885
+ "archive_url": {
3886
+ "type": "string",
3887
+ "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
3888
+ },
3889
+ "assignees_url": {
3890
+ "type": "string",
3891
+ "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
3892
+ },
3893
+ "blobs_url": {
3894
+ "type": "string",
3895
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
3896
+ },
3897
+ "branches_url": {
3898
+ "type": "string",
3899
+ "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
3900
+ },
3901
+ "collaborators_url": {
3902
+ "type": "string",
3903
+ "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
3904
+ },
3905
+ "comments_url": {
3906
+ "type": "string",
3907
+ "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
3908
+ },
3909
+ "commits_url": {
3910
+ "type": "string",
3911
+ "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
3912
+ },
3913
+ "compare_url": {
3914
+ "type": "string",
3915
+ "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
3916
+ },
3917
+ "contents_url": {
3918
+ "type": "string",
3919
+ "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
3920
+ },
3921
+ "contributors_url": {
3922
+ "type": "string",
3923
+ "format": "uri",
3924
+ "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
3925
+ },
3926
+ "deployments_url": {
3927
+ "type": "string",
3928
+ "format": "uri",
3929
+ "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
3930
+ },
3931
+ "downloads_url": {
3932
+ "type": "string",
3933
+ "format": "uri",
3934
+ "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
3935
+ },
3936
+ "events_url": {
3937
+ "type": "string",
3938
+ "format": "uri",
3939
+ "example": "http://api.github.com/repos/octocat/Hello-World/events"
3940
+ },
3941
+ "forks_url": {
3942
+ "type": "string",
3943
+ "format": "uri",
3944
+ "example": "http://api.github.com/repos/octocat/Hello-World/forks"
3945
+ },
3946
+ "git_commits_url": {
3947
+ "type": "string",
3948
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
3949
+ },
3950
+ "git_refs_url": {
3951
+ "type": "string",
3952
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
3953
+ },
3954
+ "git_tags_url": {
3955
+ "type": "string",
3956
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
3957
+ },
3958
+ "git_url": {
3959
+ "type": "string",
3960
+ "example": "git:github.com/octocat/Hello-World.git"
3961
+ },
3962
+ "issue_comment_url": {
3963
+ "type": "string",
3964
+ "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
3965
+ },
3966
+ "issue_events_url": {
3967
+ "type": "string",
3968
+ "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
3969
+ },
3970
+ "issues_url": {
3971
+ "type": "string",
3972
+ "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
3973
+ },
3974
+ "keys_url": {
3975
+ "type": "string",
3976
+ "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
3977
+ },
3978
+ "labels_url": {
3979
+ "type": "string",
3980
+ "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
3981
+ },
3982
+ "languages_url": {
3983
+ "type": "string",
3984
+ "format": "uri",
3985
+ "example": "http://api.github.com/repos/octocat/Hello-World/languages"
3986
+ },
3987
+ "merges_url": {
3988
+ "type": "string",
3989
+ "format": "uri",
3990
+ "example": "http://api.github.com/repos/octocat/Hello-World/merges"
3991
+ },
3992
+ "milestones_url": {
3993
+ "type": "string",
3994
+ "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
3995
+ },
3996
+ "notifications_url": {
3997
+ "type": "string",
3998
+ "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
3999
+ },
4000
+ "pulls_url": {
4001
+ "type": "string",
4002
+ "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
4003
+ },
4004
+ "releases_url": {
4005
+ "type": "string",
4006
+ "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
4007
+ },
4008
+ "ssh_url": {
4009
+ "type": "string",
4010
+ "example": "git@github.com:octocat/Hello-World.git"
4011
+ },
4012
+ "stargazers_url": {
4013
+ "type": "string",
4014
+ "format": "uri",
4015
+ "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
4016
+ },
4017
+ "statuses_url": {
4018
+ "type": "string",
4019
+ "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
4020
+ },
4021
+ "subscribers_url": {
4022
+ "type": "string",
4023
+ "format": "uri",
4024
+ "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
4025
+ },
4026
+ "subscription_url": {
4027
+ "type": "string",
4028
+ "format": "uri",
4029
+ "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
4030
+ },
4031
+ "tags_url": {
4032
+ "type": "string",
4033
+ "format": "uri",
4034
+ "example": "http://api.github.com/repos/octocat/Hello-World/tags"
4035
+ },
4036
+ "teams_url": {
4037
+ "type": "string",
4038
+ "format": "uri",
4039
+ "example": "http://api.github.com/repos/octocat/Hello-World/teams"
4040
+ },
4041
+ "trees_url": {
4042
+ "type": "string",
4043
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
4044
+ },
4045
+ "clone_url": {
4046
+ "type": "string",
4047
+ "example": "https://github.com/octocat/Hello-World.git"
4048
+ },
4049
+ "mirror_url": {
4050
+ "type": "string",
4051
+ "format": "uri",
4052
+ "example": "git:git.example.com/octocat/Hello-World",
4053
+ "nullable": true
4054
+ },
4055
+ "hooks_url": {
4056
+ "type": "string",
4057
+ "format": "uri",
4058
+ "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
4059
+ },
4060
+ "svn_url": {
4061
+ "type": "string",
4062
+ "format": "uri",
4063
+ "example": "https://svn.github.com/octocat/Hello-World"
4064
+ },
4065
+ "homepage": {
4066
+ "type": "string",
4067
+ "format": "uri",
4068
+ "example": "https://github.com",
4069
+ "nullable": true
4070
+ },
4071
+ "language": { "type": "string", "nullable": true },
4072
+ "forks_count": { "type": "integer", "example": 9 },
4073
+ "stargazers_count": { "type": "integer", "example": 80 },
4074
+ "watchers_count": { "type": "integer", "example": 80 },
4075
+ "size": { "type": "integer", "example": 108 },
4076
+ "default_branch": {
4077
+ "description": "The default branch of the repository.",
4078
+ "type": "string",
4079
+ "example": "master"
4080
+ },
4081
+ "open_issues_count": { "type": "integer", "example": 0 },
4082
+ "is_template": {
4083
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
4084
+ "default": false,
4085
+ "type": "boolean",
4086
+ "example": true
4087
+ },
4088
+ "topics": { "type": "array", "items": { "type": "string" } },
4089
+ "has_issues": {
4090
+ "description": "Whether issues are enabled.",
4091
+ "default": true,
4092
+ "type": "boolean",
4093
+ "example": true
4094
+ },
4095
+ "has_projects": {
4096
+ "description": "Whether projects are enabled.",
4097
+ "default": true,
4098
+ "type": "boolean",
4099
+ "example": true
4100
+ },
4101
+ "has_wiki": {
4102
+ "description": "Whether the wiki is enabled.",
4103
+ "default": true,
4104
+ "type": "boolean",
4105
+ "example": true
4106
+ },
4107
+ "has_pages": { "type": "boolean" },
4108
+ "has_downloads": {
4109
+ "description": "Whether downloads are enabled.",
4110
+ "default": true,
4111
+ "type": "boolean",
4112
+ "example": true
4113
+ },
4114
+ "archived": {
4115
+ "description": "Whether the repository is archived.",
4116
+ "default": false,
4117
+ "type": "boolean"
4118
+ },
4119
+ "disabled": {
4120
+ "type": "boolean",
4121
+ "description": "Returns whether or not this repository disabled."
4122
+ },
4123
+ "visibility": {
4124
+ "description": "The repository visibility: public, private, or internal.",
4125
+ "default": "public",
4126
+ "type": "string"
4127
+ },
4128
+ "pushed_at": {
4129
+ "type": "string",
4130
+ "format": "date-time",
4131
+ "example": "2011-01-26T19:06:43Z",
4132
+ "nullable": true
4133
+ },
4134
+ "created_at": {
4135
+ "type": "string",
4136
+ "format": "date-time",
4137
+ "example": "2011-01-26T19:01:12Z",
4138
+ "nullable": true
4139
+ },
4140
+ "updated_at": {
4141
+ "type": "string",
4142
+ "format": "date-time",
4143
+ "example": "2011-01-26T19:14:43Z",
4144
+ "nullable": true
4145
+ },
4146
+ "allow_rebase_merge": {
4147
+ "description": "Whether to allow rebase merges for pull requests.",
4148
+ "default": true,
4149
+ "type": "boolean",
4150
+ "example": true
4151
+ },
4152
+ "template_repository": {
4153
+ "nullable": true,
4154
+ "type": "object",
4155
+ "properties": {
4156
+ "id": { "type": "integer" },
4157
+ "node_id": { "type": "string" },
4158
+ "name": { "type": "string" },
4159
+ "full_name": { "type": "string" },
4160
+ "owner": {
4161
+ "type": "object",
4162
+ "properties": {
4163
+ "login": { "type": "string" },
4164
+ "id": { "type": "integer" },
4165
+ "node_id": { "type": "string" },
4166
+ "avatar_url": { "type": "string" },
4167
+ "gravatar_id": { "type": "string" },
4168
+ "url": { "type": "string" },
4169
+ "html_url": { "type": "string" },
4170
+ "followers_url": { "type": "string" },
4171
+ "following_url": { "type": "string" },
4172
+ "gists_url": { "type": "string" },
4173
+ "starred_url": { "type": "string" },
4174
+ "subscriptions_url": { "type": "string" },
4175
+ "organizations_url": { "type": "string" },
4176
+ "repos_url": { "type": "string" },
4177
+ "events_url": { "type": "string" },
4178
+ "received_events_url": { "type": "string" },
4179
+ "type": { "type": "string" },
4180
+ "site_admin": { "type": "boolean" }
4181
+ }
4182
+ },
4183
+ "private": { "type": "boolean" },
4184
+ "html_url": { "type": "string" },
4185
+ "description": { "type": "string" },
4186
+ "fork": { "type": "boolean" },
4187
+ "url": { "type": "string" },
4188
+ "archive_url": { "type": "string" },
4189
+ "assignees_url": { "type": "string" },
4190
+ "blobs_url": { "type": "string" },
4191
+ "branches_url": { "type": "string" },
4192
+ "collaborators_url": { "type": "string" },
4193
+ "comments_url": { "type": "string" },
4194
+ "commits_url": { "type": "string" },
4195
+ "compare_url": { "type": "string" },
4196
+ "contents_url": { "type": "string" },
4197
+ "contributors_url": { "type": "string" },
4198
+ "deployments_url": { "type": "string" },
4199
+ "downloads_url": { "type": "string" },
4200
+ "events_url": { "type": "string" },
4201
+ "forks_url": { "type": "string" },
4202
+ "git_commits_url": { "type": "string" },
4203
+ "git_refs_url": { "type": "string" },
4204
+ "git_tags_url": { "type": "string" },
4205
+ "git_url": { "type": "string" },
4206
+ "issue_comment_url": { "type": "string" },
4207
+ "issue_events_url": { "type": "string" },
4208
+ "issues_url": { "type": "string" },
4209
+ "keys_url": { "type": "string" },
4210
+ "labels_url": { "type": "string" },
4211
+ "languages_url": { "type": "string" },
4212
+ "merges_url": { "type": "string" },
4213
+ "milestones_url": { "type": "string" },
4214
+ "notifications_url": { "type": "string" },
4215
+ "pulls_url": { "type": "string" },
4216
+ "releases_url": { "type": "string" },
4217
+ "ssh_url": { "type": "string" },
4218
+ "stargazers_url": { "type": "string" },
4219
+ "statuses_url": { "type": "string" },
4220
+ "subscribers_url": { "type": "string" },
4221
+ "subscription_url": { "type": "string" },
4222
+ "tags_url": { "type": "string" },
4223
+ "teams_url": { "type": "string" },
4224
+ "trees_url": { "type": "string" },
4225
+ "clone_url": { "type": "string" },
4226
+ "mirror_url": { "type": "string" },
4227
+ "hooks_url": { "type": "string" },
4228
+ "svn_url": { "type": "string" },
4229
+ "homepage": { "type": "string" },
4230
+ "language": { "type": "string" },
4231
+ "forks_count": { "type": "integer" },
4232
+ "stargazers_count": { "type": "integer" },
4233
+ "watchers_count": { "type": "integer" },
4234
+ "size": { "type": "integer" },
4235
+ "default_branch": { "type": "string" },
4236
+ "open_issues_count": { "type": "integer" },
4237
+ "is_template": { "type": "boolean" },
4238
+ "topics": { "type": "array", "items": { "type": "string" } },
4239
+ "has_issues": { "type": "boolean" },
4240
+ "has_projects": { "type": "boolean" },
4241
+ "has_wiki": { "type": "boolean" },
4242
+ "has_pages": { "type": "boolean" },
4243
+ "has_downloads": { "type": "boolean" },
4244
+ "archived": { "type": "boolean" },
4245
+ "disabled": { "type": "boolean" },
4246
+ "visibility": { "type": "string" },
4247
+ "pushed_at": { "type": "string" },
4248
+ "created_at": { "type": "string" },
4249
+ "updated_at": { "type": "string" },
4250
+ "permissions": {
4251
+ "type": "object",
4252
+ "properties": {
4253
+ "admin": { "type": "boolean" },
4254
+ "maintain": { "type": "boolean" },
4255
+ "push": { "type": "boolean" },
4256
+ "triage": { "type": "boolean" },
4257
+ "pull": { "type": "boolean" }
4258
+ }
4259
+ },
4260
+ "allow_rebase_merge": { "type": "boolean" },
4261
+ "temp_clone_token": { "type": "string" },
4262
+ "allow_squash_merge": { "type": "boolean" },
4263
+ "allow_auto_merge": { "type": "boolean" },
4264
+ "delete_branch_on_merge": { "type": "boolean" },
4265
+ "allow_merge_commit": { "type": "boolean" },
4266
+ "subscribers_count": { "type": "integer" },
4267
+ "network_count": { "type": "integer" }
4268
+ }
4269
+ },
4270
+ "temp_clone_token": { "type": "string" },
4271
+ "allow_squash_merge": {
4272
+ "description": "Whether to allow squash merges for pull requests.",
4273
+ "default": true,
4274
+ "type": "boolean",
4275
+ "example": true
4276
+ },
4277
+ "allow_auto_merge": {
4278
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
4279
+ "default": false,
4280
+ "type": "boolean",
4281
+ "example": false
4282
+ },
4283
+ "delete_branch_on_merge": {
4284
+ "description": "Whether to delete head branches when pull requests are merged",
4285
+ "default": false,
4286
+ "type": "boolean",
4287
+ "example": false
4288
+ },
4289
+ "allow_merge_commit": {
4290
+ "description": "Whether to allow merge commits for pull requests.",
4291
+ "default": true,
4292
+ "type": "boolean",
4293
+ "example": true
4294
+ },
4295
+ "allow_forking": {
4296
+ "description": "Whether to allow forking this repo",
4297
+ "type": "boolean"
4298
+ },
4299
+ "subscribers_count": { "type": "integer" },
4300
+ "network_count": { "type": "integer" },
4301
+ "open_issues": { "type": "integer" },
4302
+ "watchers": { "type": "integer" },
4303
+ "master_branch": { "type": "string" },
4304
+ "starred_at": {
4305
+ "type": "string",
4306
+ "example": "\"2020-07-09T00:17:42Z\""
4307
+ }
4308
+ },
4309
+ "required": [
4310
+ "archive_url",
4311
+ "assignees_url",
4312
+ "blobs_url",
4313
+ "branches_url",
4314
+ "collaborators_url",
4315
+ "comments_url",
4316
+ "commits_url",
4317
+ "compare_url",
4318
+ "contents_url",
4319
+ "contributors_url",
4320
+ "deployments_url",
4321
+ "description",
4322
+ "downloads_url",
4323
+ "events_url",
4324
+ "fork",
4325
+ "forks_url",
4326
+ "full_name",
4327
+ "git_commits_url",
4328
+ "git_refs_url",
4329
+ "git_tags_url",
4330
+ "hooks_url",
4331
+ "html_url",
4332
+ "id",
4333
+ "node_id",
4334
+ "issue_comment_url",
4335
+ "issue_events_url",
4336
+ "issues_url",
4337
+ "keys_url",
4338
+ "labels_url",
4339
+ "languages_url",
4340
+ "merges_url",
4341
+ "milestones_url",
4342
+ "name",
4343
+ "notifications_url",
4344
+ "owner",
4345
+ "private",
4346
+ "pulls_url",
4347
+ "releases_url",
4348
+ "stargazers_url",
4349
+ "statuses_url",
4350
+ "subscribers_url",
4351
+ "subscription_url",
4352
+ "tags_url",
4353
+ "teams_url",
4354
+ "trees_url",
4355
+ "url",
4356
+ "clone_url",
4357
+ "default_branch",
4358
+ "forks",
4359
+ "forks_count",
4360
+ "git_url",
4361
+ "has_downloads",
4362
+ "has_issues",
4363
+ "has_projects",
4364
+ "has_wiki",
4365
+ "has_pages",
4366
+ "homepage",
4367
+ "language",
4368
+ "archived",
4369
+ "disabled",
4370
+ "mirror_url",
4371
+ "open_issues",
4372
+ "open_issues_count",
4373
+ "license",
4374
+ "pushed_at",
4375
+ "size",
4376
+ "ssh_url",
4377
+ "stargazers_count",
4378
+ "svn_url",
4379
+ "watchers",
4380
+ "watchers_count",
4381
+ "created_at",
4382
+ "updated_at"
4383
+ ],
4384
+ "nullable": true
4385
+ },
4386
+ "nullable-license-simple": {
4387
+ "title": "License Simple",
4388
+ "description": "License Simple",
4389
+ "type": "object",
4390
+ "properties": {
4391
+ "key": { "type": "string", "example": "mit" },
4392
+ "name": { "type": "string", "example": "MIT License" },
4393
+ "url": {
4394
+ "type": "string",
4395
+ "nullable": true,
4396
+ "format": "uri",
4397
+ "example": "https://api.github.com/licenses/mit"
4398
+ },
4399
+ "spdx_id": { "type": "string", "nullable": true, "example": "MIT" },
4400
+ "node_id": { "type": "string", "example": "MDc6TGljZW5zZW1pdA==" },
4401
+ "html_url": { "type": "string", "format": "uri" }
4402
+ },
4403
+ "required": ["key", "name", "url", "spdx_id", "node_id"],
4404
+ "nullable": true
4405
+ },
4406
+ "repository": {
4407
+ "title": "Repository",
4408
+ "description": "A git repository",
4409
+ "type": "object",
4410
+ "properties": {
4411
+ "id": {
4412
+ "description": "Unique identifier of the repository",
4413
+ "example": 42,
4414
+ "type": "integer"
4415
+ },
4416
+ "node_id": {
4417
+ "type": "string",
4418
+ "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
4419
+ },
4420
+ "name": {
4421
+ "description": "The name of the repository.",
4422
+ "type": "string",
4423
+ "example": "Team Environment"
4424
+ },
4425
+ "full_name": { "type": "string", "example": "octocat/Hello-World" },
4426
+ "license": { "$ref": "#/components/schemas/nullable-license-simple" },
4427
+ "organization": {
4428
+ "$ref": "#/components/schemas/nullable-simple-user"
4429
+ },
4430
+ "forks": { "type": "integer" },
4431
+ "permissions": {
4432
+ "type": "object",
4433
+ "properties": {
4434
+ "admin": { "type": "boolean" },
4435
+ "pull": { "type": "boolean" },
4436
+ "triage": { "type": "boolean" },
4437
+ "push": { "type": "boolean" },
4438
+ "maintain": { "type": "boolean" }
4439
+ },
4440
+ "required": ["admin", "pull", "push"]
4441
+ },
4442
+ "owner": { "$ref": "#/components/schemas/simple-user" },
4443
+ "private": {
4444
+ "description": "Whether the repository is private or public.",
4445
+ "default": false,
4446
+ "type": "boolean"
4447
+ },
4448
+ "html_url": {
4449
+ "type": "string",
4450
+ "format": "uri",
4451
+ "example": "https://github.com/octocat/Hello-World"
4452
+ },
4453
+ "description": {
4454
+ "type": "string",
4455
+ "example": "This your first repo!",
4456
+ "nullable": true
4457
+ },
4458
+ "fork": { "type": "boolean" },
4459
+ "url": {
4460
+ "type": "string",
4461
+ "format": "uri",
4462
+ "example": "https://api.github.com/repos/octocat/Hello-World"
4463
+ },
4464
+ "archive_url": {
4465
+ "type": "string",
4466
+ "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
4467
+ },
4468
+ "assignees_url": {
4469
+ "type": "string",
4470
+ "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
4471
+ },
4472
+ "blobs_url": {
4473
+ "type": "string",
4474
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
4475
+ },
4476
+ "branches_url": {
4477
+ "type": "string",
4478
+ "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
4479
+ },
4480
+ "collaborators_url": {
4481
+ "type": "string",
4482
+ "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
4483
+ },
4484
+ "comments_url": {
4485
+ "type": "string",
4486
+ "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
4487
+ },
4488
+ "commits_url": {
4489
+ "type": "string",
4490
+ "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
4491
+ },
4492
+ "compare_url": {
4493
+ "type": "string",
4494
+ "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
4495
+ },
4496
+ "contents_url": {
4497
+ "type": "string",
4498
+ "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
4499
+ },
4500
+ "contributors_url": {
4501
+ "type": "string",
4502
+ "format": "uri",
4503
+ "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
4504
+ },
4505
+ "deployments_url": {
4506
+ "type": "string",
4507
+ "format": "uri",
4508
+ "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
4509
+ },
4510
+ "downloads_url": {
4511
+ "type": "string",
4512
+ "format": "uri",
4513
+ "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
4514
+ },
4515
+ "events_url": {
4516
+ "type": "string",
4517
+ "format": "uri",
4518
+ "example": "http://api.github.com/repos/octocat/Hello-World/events"
4519
+ },
4520
+ "forks_url": {
4521
+ "type": "string",
4522
+ "format": "uri",
4523
+ "example": "http://api.github.com/repos/octocat/Hello-World/forks"
4524
+ },
4525
+ "git_commits_url": {
4526
+ "type": "string",
4527
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
4528
+ },
4529
+ "git_refs_url": {
4530
+ "type": "string",
4531
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
4532
+ },
4533
+ "git_tags_url": {
4534
+ "type": "string",
4535
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
4536
+ },
4537
+ "git_url": {
4538
+ "type": "string",
4539
+ "example": "git:github.com/octocat/Hello-World.git"
4540
+ },
4541
+ "issue_comment_url": {
4542
+ "type": "string",
4543
+ "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
4544
+ },
4545
+ "issue_events_url": {
4546
+ "type": "string",
4547
+ "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
4548
+ },
4549
+ "issues_url": {
4550
+ "type": "string",
4551
+ "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
4552
+ },
4553
+ "keys_url": {
4554
+ "type": "string",
4555
+ "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
4556
+ },
4557
+ "labels_url": {
4558
+ "type": "string",
4559
+ "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
4560
+ },
4561
+ "languages_url": {
4562
+ "type": "string",
4563
+ "format": "uri",
4564
+ "example": "http://api.github.com/repos/octocat/Hello-World/languages"
4565
+ },
4566
+ "merges_url": {
4567
+ "type": "string",
4568
+ "format": "uri",
4569
+ "example": "http://api.github.com/repos/octocat/Hello-World/merges"
4570
+ },
4571
+ "milestones_url": {
4572
+ "type": "string",
4573
+ "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
4574
+ },
4575
+ "notifications_url": {
4576
+ "type": "string",
4577
+ "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
4578
+ },
4579
+ "pulls_url": {
4580
+ "type": "string",
4581
+ "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
4582
+ },
4583
+ "releases_url": {
4584
+ "type": "string",
4585
+ "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
4586
+ },
4587
+ "ssh_url": {
4588
+ "type": "string",
4589
+ "example": "git@github.com:octocat/Hello-World.git"
4590
+ },
4591
+ "stargazers_url": {
4592
+ "type": "string",
4593
+ "format": "uri",
4594
+ "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
2958
4595
  },
2959
- "gravatar_id": {
4596
+ "statuses_url": {
2960
4597
  "type": "string",
2961
- "example": "41d064eb2195891e12d0413f63227ea7",
2962
- "nullable": true
4598
+ "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
2963
4599
  },
2964
- "url": {
4600
+ "subscribers_url": {
2965
4601
  "type": "string",
2966
4602
  "format": "uri",
2967
- "example": "https://api.github.com/users/octocat"
4603
+ "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
2968
4604
  },
2969
- "html_url": {
4605
+ "subscription_url": {
2970
4606
  "type": "string",
2971
4607
  "format": "uri",
2972
- "example": "https://github.com/octocat"
4608
+ "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
2973
4609
  },
2974
- "followers_url": {
4610
+ "tags_url": {
2975
4611
  "type": "string",
2976
4612
  "format": "uri",
2977
- "example": "https://api.github.com/users/octocat/followers"
4613
+ "example": "http://api.github.com/repos/octocat/Hello-World/tags"
2978
4614
  },
2979
- "following_url": {
4615
+ "teams_url": {
2980
4616
  "type": "string",
2981
- "example": "https://api.github.com/users/octocat/following{/other_user}"
4617
+ "format": "uri",
4618
+ "example": "http://api.github.com/repos/octocat/Hello-World/teams"
2982
4619
  },
2983
- "gists_url": {
4620
+ "trees_url": {
2984
4621
  "type": "string",
2985
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
4622
+ "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
2986
4623
  },
2987
- "starred_url": {
4624
+ "clone_url": {
2988
4625
  "type": "string",
2989
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
4626
+ "example": "https://github.com/octocat/Hello-World.git"
2990
4627
  },
2991
- "subscriptions_url": {
4628
+ "mirror_url": {
2992
4629
  "type": "string",
2993
4630
  "format": "uri",
2994
- "example": "https://api.github.com/users/octocat/subscriptions"
4631
+ "example": "git:git.example.com/octocat/Hello-World",
4632
+ "nullable": true
2995
4633
  },
2996
- "organizations_url": {
4634
+ "hooks_url": {
2997
4635
  "type": "string",
2998
4636
  "format": "uri",
2999
- "example": "https://api.github.com/users/octocat/orgs"
4637
+ "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
3000
4638
  },
3001
- "repos_url": {
4639
+ "svn_url": {
3002
4640
  "type": "string",
3003
4641
  "format": "uri",
3004
- "example": "https://api.github.com/users/octocat/repos"
4642
+ "example": "https://svn.github.com/octocat/Hello-World"
3005
4643
  },
3006
- "events_url": {
4644
+ "homepage": {
3007
4645
  "type": "string",
3008
- "example": "https://api.github.com/users/octocat/events{/privacy}"
4646
+ "format": "uri",
4647
+ "example": "https://github.com",
4648
+ "nullable": true
3009
4649
  },
3010
- "received_events_url": {
4650
+ "language": { "type": "string", "nullable": true },
4651
+ "forks_count": { "type": "integer", "example": 9 },
4652
+ "stargazers_count": { "type": "integer", "example": 80 },
4653
+ "watchers_count": { "type": "integer", "example": 80 },
4654
+ "size": { "type": "integer", "example": 108 },
4655
+ "default_branch": {
4656
+ "description": "The default branch of the repository.",
3011
4657
  "type": "string",
3012
- "format": "uri",
3013
- "example": "https://api.github.com/users/octocat/received_events"
4658
+ "example": "master"
3014
4659
  },
3015
- "type": { "type": "string", "example": "User" },
3016
- "site_admin": { "type": "boolean" },
4660
+ "open_issues_count": { "type": "integer", "example": 0 },
4661
+ "is_template": {
4662
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
4663
+ "default": false,
4664
+ "type": "boolean",
4665
+ "example": true
4666
+ },
4667
+ "topics": { "type": "array", "items": { "type": "string" } },
4668
+ "has_issues": {
4669
+ "description": "Whether issues are enabled.",
4670
+ "default": true,
4671
+ "type": "boolean",
4672
+ "example": true
4673
+ },
4674
+ "has_projects": {
4675
+ "description": "Whether projects are enabled.",
4676
+ "default": true,
4677
+ "type": "boolean",
4678
+ "example": true
4679
+ },
4680
+ "has_wiki": {
4681
+ "description": "Whether the wiki is enabled.",
4682
+ "default": true,
4683
+ "type": "boolean",
4684
+ "example": true
4685
+ },
4686
+ "has_pages": { "type": "boolean" },
4687
+ "has_downloads": {
4688
+ "description": "Whether downloads are enabled.",
4689
+ "default": true,
4690
+ "type": "boolean",
4691
+ "example": true
4692
+ },
4693
+ "archived": {
4694
+ "description": "Whether the repository is archived.",
4695
+ "default": false,
4696
+ "type": "boolean"
4697
+ },
4698
+ "disabled": {
4699
+ "type": "boolean",
4700
+ "description": "Returns whether or not this repository disabled."
4701
+ },
4702
+ "visibility": {
4703
+ "description": "The repository visibility: public, private, or internal.",
4704
+ "default": "public",
4705
+ "type": "string"
4706
+ },
4707
+ "pushed_at": {
4708
+ "type": "string",
4709
+ "format": "date-time",
4710
+ "example": "2011-01-26T19:06:43Z",
4711
+ "nullable": true
4712
+ },
4713
+ "created_at": {
4714
+ "type": "string",
4715
+ "format": "date-time",
4716
+ "example": "2011-01-26T19:01:12Z",
4717
+ "nullable": true
4718
+ },
4719
+ "updated_at": {
4720
+ "type": "string",
4721
+ "format": "date-time",
4722
+ "example": "2011-01-26T19:14:43Z",
4723
+ "nullable": true
4724
+ },
4725
+ "allow_rebase_merge": {
4726
+ "description": "Whether to allow rebase merges for pull requests.",
4727
+ "default": true,
4728
+ "type": "boolean",
4729
+ "example": true
4730
+ },
4731
+ "template_repository": {
4732
+ "nullable": true,
4733
+ "type": "object",
4734
+ "properties": {
4735
+ "id": { "type": "integer" },
4736
+ "node_id": { "type": "string" },
4737
+ "name": { "type": "string" },
4738
+ "full_name": { "type": "string" },
4739
+ "owner": {
4740
+ "type": "object",
4741
+ "properties": {
4742
+ "login": { "type": "string" },
4743
+ "id": { "type": "integer" },
4744
+ "node_id": { "type": "string" },
4745
+ "avatar_url": { "type": "string" },
4746
+ "gravatar_id": { "type": "string" },
4747
+ "url": { "type": "string" },
4748
+ "html_url": { "type": "string" },
4749
+ "followers_url": { "type": "string" },
4750
+ "following_url": { "type": "string" },
4751
+ "gists_url": { "type": "string" },
4752
+ "starred_url": { "type": "string" },
4753
+ "subscriptions_url": { "type": "string" },
4754
+ "organizations_url": { "type": "string" },
4755
+ "repos_url": { "type": "string" },
4756
+ "events_url": { "type": "string" },
4757
+ "received_events_url": { "type": "string" },
4758
+ "type": { "type": "string" },
4759
+ "site_admin": { "type": "boolean" }
4760
+ }
4761
+ },
4762
+ "private": { "type": "boolean" },
4763
+ "html_url": { "type": "string" },
4764
+ "description": { "type": "string" },
4765
+ "fork": { "type": "boolean" },
4766
+ "url": { "type": "string" },
4767
+ "archive_url": { "type": "string" },
4768
+ "assignees_url": { "type": "string" },
4769
+ "blobs_url": { "type": "string" },
4770
+ "branches_url": { "type": "string" },
4771
+ "collaborators_url": { "type": "string" },
4772
+ "comments_url": { "type": "string" },
4773
+ "commits_url": { "type": "string" },
4774
+ "compare_url": { "type": "string" },
4775
+ "contents_url": { "type": "string" },
4776
+ "contributors_url": { "type": "string" },
4777
+ "deployments_url": { "type": "string" },
4778
+ "downloads_url": { "type": "string" },
4779
+ "events_url": { "type": "string" },
4780
+ "forks_url": { "type": "string" },
4781
+ "git_commits_url": { "type": "string" },
4782
+ "git_refs_url": { "type": "string" },
4783
+ "git_tags_url": { "type": "string" },
4784
+ "git_url": { "type": "string" },
4785
+ "issue_comment_url": { "type": "string" },
4786
+ "issue_events_url": { "type": "string" },
4787
+ "issues_url": { "type": "string" },
4788
+ "keys_url": { "type": "string" },
4789
+ "labels_url": { "type": "string" },
4790
+ "languages_url": { "type": "string" },
4791
+ "merges_url": { "type": "string" },
4792
+ "milestones_url": { "type": "string" },
4793
+ "notifications_url": { "type": "string" },
4794
+ "pulls_url": { "type": "string" },
4795
+ "releases_url": { "type": "string" },
4796
+ "ssh_url": { "type": "string" },
4797
+ "stargazers_url": { "type": "string" },
4798
+ "statuses_url": { "type": "string" },
4799
+ "subscribers_url": { "type": "string" },
4800
+ "subscription_url": { "type": "string" },
4801
+ "tags_url": { "type": "string" },
4802
+ "teams_url": { "type": "string" },
4803
+ "trees_url": { "type": "string" },
4804
+ "clone_url": { "type": "string" },
4805
+ "mirror_url": { "type": "string" },
4806
+ "hooks_url": { "type": "string" },
4807
+ "svn_url": { "type": "string" },
4808
+ "homepage": { "type": "string" },
4809
+ "language": { "type": "string" },
4810
+ "forks_count": { "type": "integer" },
4811
+ "stargazers_count": { "type": "integer" },
4812
+ "watchers_count": { "type": "integer" },
4813
+ "size": { "type": "integer" },
4814
+ "default_branch": { "type": "string" },
4815
+ "open_issues_count": { "type": "integer" },
4816
+ "is_template": { "type": "boolean" },
4817
+ "topics": { "type": "array", "items": { "type": "string" } },
4818
+ "has_issues": { "type": "boolean" },
4819
+ "has_projects": { "type": "boolean" },
4820
+ "has_wiki": { "type": "boolean" },
4821
+ "has_pages": { "type": "boolean" },
4822
+ "has_downloads": { "type": "boolean" },
4823
+ "archived": { "type": "boolean" },
4824
+ "disabled": { "type": "boolean" },
4825
+ "visibility": { "type": "string" },
4826
+ "pushed_at": { "type": "string" },
4827
+ "created_at": { "type": "string" },
4828
+ "updated_at": { "type": "string" },
4829
+ "permissions": {
4830
+ "type": "object",
4831
+ "properties": {
4832
+ "admin": { "type": "boolean" },
4833
+ "maintain": { "type": "boolean" },
4834
+ "push": { "type": "boolean" },
4835
+ "triage": { "type": "boolean" },
4836
+ "pull": { "type": "boolean" }
4837
+ }
4838
+ },
4839
+ "allow_rebase_merge": { "type": "boolean" },
4840
+ "temp_clone_token": { "type": "string" },
4841
+ "allow_squash_merge": { "type": "boolean" },
4842
+ "allow_auto_merge": { "type": "boolean" },
4843
+ "delete_branch_on_merge": { "type": "boolean" },
4844
+ "allow_merge_commit": { "type": "boolean" },
4845
+ "subscribers_count": { "type": "integer" },
4846
+ "network_count": { "type": "integer" }
4847
+ }
4848
+ },
4849
+ "temp_clone_token": { "type": "string" },
4850
+ "allow_squash_merge": {
4851
+ "description": "Whether to allow squash merges for pull requests.",
4852
+ "default": true,
4853
+ "type": "boolean",
4854
+ "example": true
4855
+ },
4856
+ "allow_auto_merge": {
4857
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
4858
+ "default": false,
4859
+ "type": "boolean",
4860
+ "example": false
4861
+ },
4862
+ "delete_branch_on_merge": {
4863
+ "description": "Whether to delete head branches when pull requests are merged",
4864
+ "default": false,
4865
+ "type": "boolean",
4866
+ "example": false
4867
+ },
4868
+ "allow_merge_commit": {
4869
+ "description": "Whether to allow merge commits for pull requests.",
4870
+ "default": true,
4871
+ "type": "boolean",
4872
+ "example": true
4873
+ },
4874
+ "allow_forking": {
4875
+ "description": "Whether to allow forking this repo",
4876
+ "type": "boolean"
4877
+ },
4878
+ "subscribers_count": { "type": "integer" },
4879
+ "network_count": { "type": "integer" },
4880
+ "open_issues": { "type": "integer" },
4881
+ "watchers": { "type": "integer" },
4882
+ "master_branch": { "type": "string" },
3017
4883
  "starred_at": {
3018
4884
  "type": "string",
3019
- "example": "\"2020-07-09T00:17:55Z\""
4885
+ "example": "\"2020-07-09T00:17:42Z\""
3020
4886
  }
3021
4887
  },
3022
4888
  "required": [
3023
- "avatar_url",
4889
+ "archive_url",
4890
+ "assignees_url",
4891
+ "blobs_url",
4892
+ "branches_url",
4893
+ "collaborators_url",
4894
+ "comments_url",
4895
+ "commits_url",
4896
+ "compare_url",
4897
+ "contents_url",
4898
+ "contributors_url",
4899
+ "deployments_url",
4900
+ "description",
4901
+ "downloads_url",
3024
4902
  "events_url",
3025
- "followers_url",
3026
- "following_url",
3027
- "gists_url",
3028
- "gravatar_id",
4903
+ "fork",
4904
+ "forks_url",
4905
+ "full_name",
4906
+ "git_commits_url",
4907
+ "git_refs_url",
4908
+ "git_tags_url",
4909
+ "hooks_url",
3029
4910
  "html_url",
3030
4911
  "id",
3031
4912
  "node_id",
3032
- "login",
3033
- "organizations_url",
3034
- "received_events_url",
3035
- "repos_url",
3036
- "site_admin",
3037
- "starred_url",
3038
- "subscriptions_url",
3039
- "type",
3040
- "url"
4913
+ "issue_comment_url",
4914
+ "issue_events_url",
4915
+ "issues_url",
4916
+ "keys_url",
4917
+ "labels_url",
4918
+ "languages_url",
4919
+ "merges_url",
4920
+ "milestones_url",
4921
+ "name",
4922
+ "notifications_url",
4923
+ "owner",
4924
+ "private",
4925
+ "pulls_url",
4926
+ "releases_url",
4927
+ "stargazers_url",
4928
+ "statuses_url",
4929
+ "subscribers_url",
4930
+ "subscription_url",
4931
+ "tags_url",
4932
+ "teams_url",
4933
+ "trees_url",
4934
+ "url",
4935
+ "clone_url",
4936
+ "default_branch",
4937
+ "forks",
4938
+ "forks_count",
4939
+ "git_url",
4940
+ "has_downloads",
4941
+ "has_issues",
4942
+ "has_projects",
4943
+ "has_wiki",
4944
+ "has_pages",
4945
+ "homepage",
4946
+ "language",
4947
+ "archived",
4948
+ "disabled",
4949
+ "mirror_url",
4950
+ "open_issues",
4951
+ "open_issues_count",
4952
+ "license",
4953
+ "pushed_at",
4954
+ "size",
4955
+ "ssh_url",
4956
+ "stargazers_count",
4957
+ "svn_url",
4958
+ "watchers",
4959
+ "watchers_count",
4960
+ "created_at",
4961
+ "updated_at"
3041
4962
  ]
3042
4963
  },
3043
- "basic-error": {
3044
- "title": "Basic Error",
3045
- "description": "Basic Error",
4964
+ "code-of-conduct-simple": {
4965
+ "title": "Code Of Conduct Simple",
4966
+ "description": "Code of Conduct Simple",
4967
+ "type": "object",
4968
+ "properties": {
4969
+ "url": {
4970
+ "type": "string",
4971
+ "format": "uri",
4972
+ "example": "https://api.github.com/repos/github/docs/community/code_of_conduct"
4973
+ },
4974
+ "key": { "type": "string", "example": "citizen_code_of_conduct" },
4975
+ "name": { "type": "string", "example": "Citizen Code of Conduct" },
4976
+ "html_url": {
4977
+ "type": "string",
4978
+ "nullable": true,
4979
+ "format": "uri",
4980
+ "example": "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md"
4981
+ }
4982
+ },
4983
+ "required": ["url", "key", "name", "html_url"]
4984
+ },
4985
+ "validation-error": {
4986
+ "title": "Validation Error",
4987
+ "description": "Validation Error",
3046
4988
  "type": "object",
4989
+ "required": ["message", "documentation_url"],
3047
4990
  "properties": {
3048
4991
  "message": { "type": "string" },
3049
4992
  "documentation_url": { "type": "string" },
3050
- "url": { "type": "string" },
3051
- "status": { "type": "string" }
4993
+ "errors": {
4994
+ "type": "array",
4995
+ "items": {
4996
+ "type": "object",
4997
+ "required": ["code"],
4998
+ "properties": {
4999
+ "resource": { "type": "string" },
5000
+ "field": { "type": "string" },
5001
+ "message": { "type": "string" },
5002
+ "code": { "type": "string" },
5003
+ "index": { "type": "integer" },
5004
+ "value": {
5005
+ "oneOf": [
5006
+ { "type": "string", "nullable": true },
5007
+ { "type": "integer", "nullable": true },
5008
+ {
5009
+ "type": "array",
5010
+ "nullable": true,
5011
+ "items": { "type": "string" }
5012
+ }
5013
+ ]
5014
+ }
5015
+ }
5016
+ }
5017
+ }
3052
5018
  }
3053
5019
  },
3054
- "announcement-message": {
3055
- "type": "string",
3056
- "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Mastering markdown](https://guides.github.com/features/mastering-markdown/).\"",
3057
- "example": "Very **important** announcement about _nothing_."
5020
+ "release-asset": {
5021
+ "title": "Release Asset",
5022
+ "description": "Data related to a release.",
5023
+ "type": "object",
5024
+ "properties": {
5025
+ "url": { "type": "string", "format": "uri" },
5026
+ "browser_download_url": { "type": "string", "format": "uri" },
5027
+ "id": { "type": "integer" },
5028
+ "node_id": { "type": "string" },
5029
+ "name": {
5030
+ "description": "The file name of the asset.",
5031
+ "type": "string",
5032
+ "example": "Team Environment"
5033
+ },
5034
+ "label": { "type": "string", "nullable": true },
5035
+ "state": {
5036
+ "description": "State of the release asset.",
5037
+ "type": "string",
5038
+ "enum": ["uploaded", "open"]
5039
+ },
5040
+ "content_type": { "type": "string" },
5041
+ "size": { "type": "integer" },
5042
+ "download_count": { "type": "integer" },
5043
+ "created_at": { "type": "string", "format": "date-time" },
5044
+ "updated_at": { "type": "string", "format": "date-time" },
5045
+ "uploader": { "$ref": "#/components/schemas/nullable-simple-user" }
5046
+ },
5047
+ "required": [
5048
+ "id",
5049
+ "name",
5050
+ "content_type",
5051
+ "size",
5052
+ "state",
5053
+ "url",
5054
+ "node_id",
5055
+ "download_count",
5056
+ "label",
5057
+ "uploader",
5058
+ "browser_download_url",
5059
+ "created_at",
5060
+ "updated_at"
5061
+ ]
3058
5062
  },
3059
- "announcement-expiration": {
3060
- "type": "string",
3061
- "format": "date-time",
3062
- "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.",
3063
- "example": "\"2021-01-01T00:00:00.000-07:00\"",
3064
- "nullable": true
5063
+ "reaction-rollup": {
5064
+ "title": "Reaction Rollup",
5065
+ "type": "object",
5066
+ "properties": {
5067
+ "url": { "type": "string", "format": "uri" },
5068
+ "total_count": { "type": "integer" },
5069
+ "+1": { "type": "integer" },
5070
+ "-1": { "type": "integer" },
5071
+ "laugh": { "type": "integer" },
5072
+ "confused": { "type": "integer" },
5073
+ "heart": { "type": "integer" },
5074
+ "hooray": { "type": "integer" },
5075
+ "eyes": { "type": "integer" },
5076
+ "rocket": { "type": "integer" }
5077
+ },
5078
+ "required": [
5079
+ "url",
5080
+ "total_count",
5081
+ "+1",
5082
+ "-1",
5083
+ "laugh",
5084
+ "confused",
5085
+ "heart",
5086
+ "hooray",
5087
+ "eyes",
5088
+ "rocket"
5089
+ ]
3065
5090
  }
3066
5091
  },
3067
5092
  "examples": {
@@ -3412,6 +5437,558 @@
3412
5437
  "total_pull_request_comments": 30
3413
5438
  }
3414
5439
  }
5440
+ },
5441
+ "full-repository": {
5442
+ "value": {
5443
+ "id": 1296269,
5444
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
5445
+ "name": "Hello-World",
5446
+ "full_name": "octocat/Hello-World",
5447
+ "owner": {
5448
+ "login": "octocat",
5449
+ "id": 1,
5450
+ "node_id": "MDQ6VXNlcjE=",
5451
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
5452
+ "gravatar_id": "",
5453
+ "url": "https://api.github.com/users/octocat",
5454
+ "html_url": "https://github.com/octocat",
5455
+ "followers_url": "https://api.github.com/users/octocat/followers",
5456
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
5457
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
5458
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
5459
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
5460
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
5461
+ "repos_url": "https://api.github.com/users/octocat/repos",
5462
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
5463
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
5464
+ "type": "User",
5465
+ "site_admin": false
5466
+ },
5467
+ "private": false,
5468
+ "html_url": "https://github.com/octocat/Hello-World",
5469
+ "description": "This your first repo!",
5470
+ "fork": false,
5471
+ "url": "https://api.github.com/repos/octocat/Hello-World",
5472
+ "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
5473
+ "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
5474
+ "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
5475
+ "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
5476
+ "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
5477
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
5478
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
5479
+ "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
5480
+ "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
5481
+ "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
5482
+ "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
5483
+ "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
5484
+ "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
5485
+ "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
5486
+ "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
5487
+ "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
5488
+ "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
5489
+ "git_url": "git:github.com/octocat/Hello-World.git",
5490
+ "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
5491
+ "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
5492
+ "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
5493
+ "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
5494
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
5495
+ "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
5496
+ "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
5497
+ "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
5498
+ "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
5499
+ "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
5500
+ "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
5501
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
5502
+ "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
5503
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
5504
+ "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
5505
+ "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
5506
+ "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
5507
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
5508
+ "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
5509
+ "clone_url": "https://github.com/octocat/Hello-World.git",
5510
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
5511
+ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
5512
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
5513
+ "homepage": "https://github.com",
5514
+ "license": {
5515
+ "key": "mit",
5516
+ "name": "MIT License",
5517
+ "url": "https://api.github.com/licenses/mit",
5518
+ "spdx_id": "MIT",
5519
+ "node_id": "MDc6TGljZW5zZW1pdA==",
5520
+ "html_url": "https://github.com/licenses/mit"
5521
+ },
5522
+ "language": null,
5523
+ "forks_count": 9,
5524
+ "forks": 9,
5525
+ "stargazers_count": 80,
5526
+ "watchers_count": 80,
5527
+ "watchers": 80,
5528
+ "size": 108,
5529
+ "default_branch": "master",
5530
+ "open_issues_count": 0,
5531
+ "open_issues": 0,
5532
+ "is_template": false,
5533
+ "topics": ["octocat", "atom", "electron", "api"],
5534
+ "has_issues": true,
5535
+ "has_projects": true,
5536
+ "has_wiki": true,
5537
+ "has_pages": false,
5538
+ "has_downloads": true,
5539
+ "archived": false,
5540
+ "disabled": false,
5541
+ "visibility": "public",
5542
+ "pushed_at": "2011-01-26T19:06:43Z",
5543
+ "created_at": "2011-01-26T19:01:12Z",
5544
+ "updated_at": "2011-01-26T19:14:43Z",
5545
+ "permissions": { "pull": true, "push": false, "admin": false },
5546
+ "allow_rebase_merge": true,
5547
+ "template_repository": {
5548
+ "id": 1296269,
5549
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
5550
+ "name": "Hello-World-Template",
5551
+ "full_name": "octocat/Hello-World-Template",
5552
+ "owner": {
5553
+ "login": "octocat",
5554
+ "id": 1,
5555
+ "node_id": "MDQ6VXNlcjE=",
5556
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
5557
+ "gravatar_id": "",
5558
+ "url": "https://api.github.com/users/octocat",
5559
+ "html_url": "https://github.com/octocat",
5560
+ "followers_url": "https://api.github.com/users/octocat/followers",
5561
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
5562
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
5563
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
5564
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
5565
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
5566
+ "repos_url": "https://api.github.com/users/octocat/repos",
5567
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
5568
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
5569
+ "type": "User",
5570
+ "site_admin": false
5571
+ },
5572
+ "private": false,
5573
+ "html_url": "https://github.com/octocat/Hello-World-Template",
5574
+ "description": "This your first repo!",
5575
+ "fork": false,
5576
+ "url": "https://api.github.com/repos/octocat/Hello-World-Template",
5577
+ "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}",
5578
+ "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}",
5579
+ "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}",
5580
+ "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}",
5581
+ "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}",
5582
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}",
5583
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}",
5584
+ "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}",
5585
+ "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}",
5586
+ "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors",
5587
+ "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments",
5588
+ "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads",
5589
+ "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events",
5590
+ "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks",
5591
+ "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}",
5592
+ "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}",
5593
+ "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}",
5594
+ "git_url": "git:github.com/octocat/Hello-World-Template.git",
5595
+ "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}",
5596
+ "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}",
5597
+ "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}",
5598
+ "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}",
5599
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}",
5600
+ "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages",
5601
+ "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges",
5602
+ "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}",
5603
+ "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}",
5604
+ "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}",
5605
+ "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}",
5606
+ "ssh_url": "git@github.com:octocat/Hello-World-Template.git",
5607
+ "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers",
5608
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}",
5609
+ "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers",
5610
+ "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription",
5611
+ "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags",
5612
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams",
5613
+ "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}",
5614
+ "clone_url": "https://github.com/octocat/Hello-World-Template.git",
5615
+ "mirror_url": "git:git.example.com/octocat/Hello-World-Template",
5616
+ "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks",
5617
+ "svn_url": "https://svn.github.com/octocat/Hello-World-Template",
5618
+ "homepage": "https://github.com",
5619
+ "language": null,
5620
+ "forks": 9,
5621
+ "forks_count": 9,
5622
+ "stargazers_count": 80,
5623
+ "watchers_count": 80,
5624
+ "watchers": 80,
5625
+ "size": 108,
5626
+ "default_branch": "master",
5627
+ "open_issues": 0,
5628
+ "open_issues_count": 0,
5629
+ "is_template": true,
5630
+ "license": {
5631
+ "key": "mit",
5632
+ "name": "MIT License",
5633
+ "url": "https://api.github.com/licenses/mit",
5634
+ "spdx_id": "MIT",
5635
+ "node_id": "MDc6TGljZW5zZW1pdA==",
5636
+ "html_url": "https://api.github.com/licenses/mit"
5637
+ },
5638
+ "topics": ["octocat", "atom", "electron", "api"],
5639
+ "has_issues": true,
5640
+ "has_projects": true,
5641
+ "has_wiki": true,
5642
+ "has_pages": false,
5643
+ "has_downloads": true,
5644
+ "archived": false,
5645
+ "disabled": false,
5646
+ "visibility": "public",
5647
+ "pushed_at": "2011-01-26T19:06:43Z",
5648
+ "created_at": "2011-01-26T19:01:12Z",
5649
+ "updated_at": "2011-01-26T19:14:43Z",
5650
+ "permissions": { "admin": false, "push": false, "pull": true },
5651
+ "allow_rebase_merge": true,
5652
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
5653
+ "allow_squash_merge": true,
5654
+ "allow_auto_merge": false,
5655
+ "delete_branch_on_merge": true,
5656
+ "allow_merge_commit": true,
5657
+ "subscribers_count": 42,
5658
+ "network_count": 0
5659
+ },
5660
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
5661
+ "allow_squash_merge": true,
5662
+ "allow_auto_merge": false,
5663
+ "delete_branch_on_merge": true,
5664
+ "allow_merge_commit": true,
5665
+ "allow_forking": true,
5666
+ "subscribers_count": 42,
5667
+ "network_count": 0,
5668
+ "organization": {
5669
+ "login": "octocat",
5670
+ "id": 1,
5671
+ "node_id": "MDQ6VXNlcjE=",
5672
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
5673
+ "gravatar_id": "",
5674
+ "url": "https://api.github.com/users/octocat",
5675
+ "html_url": "https://github.com/octocat",
5676
+ "followers_url": "https://api.github.com/users/octocat/followers",
5677
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
5678
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
5679
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
5680
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
5681
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
5682
+ "repos_url": "https://api.github.com/users/octocat/repos",
5683
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
5684
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
5685
+ "type": "Organization",
5686
+ "site_admin": false
5687
+ },
5688
+ "parent": {
5689
+ "id": 1296269,
5690
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
5691
+ "name": "Hello-World",
5692
+ "full_name": "octocat/Hello-World",
5693
+ "owner": {
5694
+ "login": "octocat",
5695
+ "id": 1,
5696
+ "node_id": "MDQ6VXNlcjE=",
5697
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
5698
+ "gravatar_id": "",
5699
+ "url": "https://api.github.com/users/octocat",
5700
+ "html_url": "https://github.com/octocat",
5701
+ "followers_url": "https://api.github.com/users/octocat/followers",
5702
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
5703
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
5704
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
5705
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
5706
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
5707
+ "repos_url": "https://api.github.com/users/octocat/repos",
5708
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
5709
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
5710
+ "type": "User",
5711
+ "site_admin": false
5712
+ },
5713
+ "private": false,
5714
+ "html_url": "https://github.com/octocat/Hello-World",
5715
+ "description": "This your first repo!",
5716
+ "fork": false,
5717
+ "url": "https://api.github.com/repos/octocat/Hello-World",
5718
+ "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
5719
+ "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
5720
+ "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
5721
+ "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
5722
+ "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
5723
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
5724
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
5725
+ "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
5726
+ "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
5727
+ "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
5728
+ "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
5729
+ "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
5730
+ "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
5731
+ "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
5732
+ "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
5733
+ "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
5734
+ "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
5735
+ "git_url": "git:github.com/octocat/Hello-World.git",
5736
+ "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
5737
+ "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
5738
+ "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
5739
+ "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
5740
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
5741
+ "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
5742
+ "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
5743
+ "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
5744
+ "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
5745
+ "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
5746
+ "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
5747
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
5748
+ "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
5749
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
5750
+ "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
5751
+ "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
5752
+ "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
5753
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
5754
+ "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
5755
+ "clone_url": "https://github.com/octocat/Hello-World.git",
5756
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
5757
+ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
5758
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
5759
+ "homepage": "https://github.com",
5760
+ "language": null,
5761
+ "forks_count": 9,
5762
+ "stargazers_count": 80,
5763
+ "watchers_count": 80,
5764
+ "size": 108,
5765
+ "default_branch": "master",
5766
+ "open_issues_count": 0,
5767
+ "is_template": true,
5768
+ "topics": ["octocat", "atom", "electron", "api"],
5769
+ "has_issues": true,
5770
+ "has_projects": true,
5771
+ "has_wiki": true,
5772
+ "has_pages": false,
5773
+ "has_downloads": true,
5774
+ "archived": false,
5775
+ "disabled": false,
5776
+ "visibility": "public",
5777
+ "pushed_at": "2011-01-26T19:06:43Z",
5778
+ "created_at": "2011-01-26T19:01:12Z",
5779
+ "updated_at": "2011-01-26T19:14:43Z",
5780
+ "permissions": { "admin": false, "push": false, "pull": true },
5781
+ "allow_rebase_merge": true,
5782
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
5783
+ "allow_squash_merge": true,
5784
+ "allow_auto_merge": false,
5785
+ "delete_branch_on_merge": true,
5786
+ "allow_merge_commit": true,
5787
+ "subscribers_count": 42,
5788
+ "network_count": 0,
5789
+ "license": {
5790
+ "key": "mit",
5791
+ "name": "MIT License",
5792
+ "url": "https://api.github.com/licenses/mit",
5793
+ "spdx_id": "MIT",
5794
+ "node_id": "MDc6TGljZW5zZW1pdA==",
5795
+ "html_url": "https://api.github.com/licenses/mit"
5796
+ },
5797
+ "forks": 1,
5798
+ "open_issues": 1,
5799
+ "watchers": 1
5800
+ },
5801
+ "source": {
5802
+ "id": 1296269,
5803
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
5804
+ "name": "Hello-World",
5805
+ "full_name": "octocat/Hello-World",
5806
+ "owner": {
5807
+ "login": "octocat",
5808
+ "id": 1,
5809
+ "node_id": "MDQ6VXNlcjE=",
5810
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
5811
+ "gravatar_id": "",
5812
+ "url": "https://api.github.com/users/octocat",
5813
+ "html_url": "https://github.com/octocat",
5814
+ "followers_url": "https://api.github.com/users/octocat/followers",
5815
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
5816
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
5817
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
5818
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
5819
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
5820
+ "repos_url": "https://api.github.com/users/octocat/repos",
5821
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
5822
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
5823
+ "type": "User",
5824
+ "site_admin": false
5825
+ },
5826
+ "private": false,
5827
+ "html_url": "https://github.com/octocat/Hello-World",
5828
+ "description": "This your first repo!",
5829
+ "fork": false,
5830
+ "url": "https://api.github.com/repos/octocat/Hello-World",
5831
+ "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
5832
+ "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
5833
+ "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
5834
+ "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
5835
+ "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
5836
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
5837
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
5838
+ "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
5839
+ "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
5840
+ "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
5841
+ "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
5842
+ "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
5843
+ "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
5844
+ "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
5845
+ "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
5846
+ "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
5847
+ "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
5848
+ "git_url": "git:github.com/octocat/Hello-World.git",
5849
+ "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
5850
+ "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
5851
+ "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
5852
+ "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
5853
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
5854
+ "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
5855
+ "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
5856
+ "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
5857
+ "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
5858
+ "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
5859
+ "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
5860
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
5861
+ "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
5862
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
5863
+ "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
5864
+ "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
5865
+ "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
5866
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
5867
+ "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
5868
+ "clone_url": "https://github.com/octocat/Hello-World.git",
5869
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
5870
+ "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
5871
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
5872
+ "homepage": "https://github.com",
5873
+ "language": null,
5874
+ "forks_count": 9,
5875
+ "stargazers_count": 80,
5876
+ "watchers_count": 80,
5877
+ "size": 108,
5878
+ "default_branch": "master",
5879
+ "open_issues_count": 0,
5880
+ "is_template": true,
5881
+ "topics": ["octocat", "atom", "electron", "api"],
5882
+ "has_issues": true,
5883
+ "has_projects": true,
5884
+ "has_wiki": true,
5885
+ "has_pages": false,
5886
+ "has_downloads": true,
5887
+ "archived": false,
5888
+ "disabled": false,
5889
+ "visibility": "public",
5890
+ "pushed_at": "2011-01-26T19:06:43Z",
5891
+ "created_at": "2011-01-26T19:01:12Z",
5892
+ "updated_at": "2011-01-26T19:14:43Z",
5893
+ "permissions": { "admin": false, "push": false, "pull": true },
5894
+ "allow_rebase_merge": true,
5895
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
5896
+ "allow_squash_merge": true,
5897
+ "allow_auto_merge": false,
5898
+ "delete_branch_on_merge": true,
5899
+ "allow_merge_commit": true,
5900
+ "subscribers_count": 42,
5901
+ "network_count": 0,
5902
+ "license": {
5903
+ "key": "mit",
5904
+ "name": "MIT License",
5905
+ "url": "https://api.github.com/licenses/mit",
5906
+ "spdx_id": "MIT",
5907
+ "node_id": "MDc6TGljZW5zZW1pdA==",
5908
+ "html_url": "https://api.github.com/licenses/mit"
5909
+ },
5910
+ "forks": 1,
5911
+ "open_issues": 1,
5912
+ "watchers": 1
5913
+ }
5914
+ }
5915
+ },
5916
+ "release": {
5917
+ "value": {
5918
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
5919
+ "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
5920
+ "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
5921
+ "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
5922
+ "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
5923
+ "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
5924
+ "discussion_url": "https://github.com/octocat/Hello-World/discussions/90",
5925
+ "id": 1,
5926
+ "node_id": "MDc6UmVsZWFzZTE=",
5927
+ "tag_name": "v1.0.0",
5928
+ "target_commitish": "master",
5929
+ "name": "v1.0.0",
5930
+ "body": "Description of the release",
5931
+ "draft": false,
5932
+ "prerelease": false,
5933
+ "created_at": "2013-02-27T19:35:32Z",
5934
+ "published_at": "2013-02-27T19:35:32Z",
5935
+ "author": {
5936
+ "login": "octocat",
5937
+ "id": 1,
5938
+ "node_id": "MDQ6VXNlcjE=",
5939
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
5940
+ "gravatar_id": "",
5941
+ "url": "https://api.github.com/users/octocat",
5942
+ "html_url": "https://github.com/octocat",
5943
+ "followers_url": "https://api.github.com/users/octocat/followers",
5944
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
5945
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
5946
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
5947
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
5948
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
5949
+ "repos_url": "https://api.github.com/users/octocat/repos",
5950
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
5951
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
5952
+ "type": "User",
5953
+ "site_admin": false
5954
+ },
5955
+ "assets": [
5956
+ {
5957
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
5958
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
5959
+ "id": 1,
5960
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
5961
+ "name": "example.zip",
5962
+ "label": "short description",
5963
+ "state": "uploaded",
5964
+ "content_type": "application/zip",
5965
+ "size": 1024,
5966
+ "download_count": 42,
5967
+ "created_at": "2013-02-27T19:35:32Z",
5968
+ "updated_at": "2013-02-27T19:35:32Z",
5969
+ "uploader": {
5970
+ "login": "octocat",
5971
+ "id": 1,
5972
+ "node_id": "MDQ6VXNlcjE=",
5973
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
5974
+ "gravatar_id": "",
5975
+ "url": "https://api.github.com/users/octocat",
5976
+ "html_url": "https://github.com/octocat",
5977
+ "followers_url": "https://api.github.com/users/octocat/followers",
5978
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
5979
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
5980
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
5981
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
5982
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
5983
+ "repos_url": "https://api.github.com/users/octocat/repos",
5984
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
5985
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
5986
+ "type": "User",
5987
+ "site_admin": false
5988
+ }
5989
+ }
5990
+ ]
5991
+ }
3415
5992
  }
3416
5993
  },
3417
5994
  "headers": {
@@ -3428,6 +6005,30 @@
3428
6005
  "schema": { "$ref": "#/components/schemas/basic-error" }
3429
6006
  }
3430
6007
  }
6008
+ },
6009
+ "temporary_redirect": {
6010
+ "description": "Temporary Redirect",
6011
+ "content": {
6012
+ "application/json": {
6013
+ "schema": { "$ref": "#/components/schemas/basic-error" }
6014
+ }
6015
+ }
6016
+ },
6017
+ "forbidden": {
6018
+ "description": "Forbidden",
6019
+ "content": {
6020
+ "application/json": {
6021
+ "schema": { "$ref": "#/components/schemas/basic-error" }
6022
+ }
6023
+ }
6024
+ },
6025
+ "validation_failed": {
6026
+ "description": "Validation failed",
6027
+ "content": {
6028
+ "application/json": {
6029
+ "schema": { "$ref": "#/components/schemas/validation-error" }
6030
+ }
6031
+ }
3431
6032
  }
3432
6033
  }
3433
6034
  }