|
5822 | 5822 | "parameters": [
|
5823 | 5823 | {
|
5824 | 5824 | "name": "filter",
|
5825 |
| - "description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation", |
| 5825 | + "description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation", |
5826 | 5826 | "in": "query",
|
5827 | 5827 | "required": false,
|
5828 | 5828 | "schema": {
|
|
11107 | 11107 | },
|
11108 | 11108 | {
|
11109 | 11109 | "name": "filter",
|
11110 |
| - "description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation", |
| 11110 | + "description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation", |
11111 | 11111 | "in": "query",
|
11112 | 11112 | "required": false,
|
11113 | 11113 | "schema": {
|
@@ -20367,6 +20367,238 @@
|
20367 | 20367 | }
|
20368 | 20368 | }
|
20369 | 20369 | },
|
| 20370 | + "/repos/{owner}/{repo}/autolinks": { |
| 20371 | + "get": { |
| 20372 | + "summary": "List all autolinks of a repository", |
| 20373 | + "description": "This returns a list of autolinks configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.", |
| 20374 | + "tags": [ |
| 20375 | + "repos" |
| 20376 | + ], |
| 20377 | + "operationId": "repos/list-autolinks", |
| 20378 | + "externalDocs": { |
| 20379 | + "description": "API method documentation", |
| 20380 | + "url": "https://docs.github.com/v3/repos#list-autolinks" |
| 20381 | + }, |
| 20382 | + "parameters": [ |
| 20383 | + { |
| 20384 | + "$ref": "#/components/parameters/owner" |
| 20385 | + }, |
| 20386 | + { |
| 20387 | + "$ref": "#/components/parameters/repo" |
| 20388 | + }, |
| 20389 | + { |
| 20390 | + "$ref": "#/components/parameters/page" |
| 20391 | + } |
| 20392 | + ], |
| 20393 | + "responses": { |
| 20394 | + "200": { |
| 20395 | + "description": "Response", |
| 20396 | + "content": { |
| 20397 | + "application/json": { |
| 20398 | + "schema": { |
| 20399 | + "type": "array", |
| 20400 | + "items": { |
| 20401 | + "$ref": "#/components/schemas/autolink" |
| 20402 | + } |
| 20403 | + }, |
| 20404 | + "examples": { |
| 20405 | + "default": { |
| 20406 | + "$ref": "#/components/examples/autolink-items" |
| 20407 | + } |
| 20408 | + } |
| 20409 | + } |
| 20410 | + } |
| 20411 | + } |
| 20412 | + }, |
| 20413 | + "x-github": { |
| 20414 | + "githubCloudOnly": false, |
| 20415 | + "enabledForGitHubApps": true, |
| 20416 | + "previews": [ |
| 20417 | + |
| 20418 | + ], |
| 20419 | + "category": "repos", |
| 20420 | + "subcategory": "autolinks" |
| 20421 | + } |
| 20422 | + }, |
| 20423 | + "post": { |
| 20424 | + "summary": "Create an autolink reference for a repository", |
| 20425 | + "description": "Users with admin access to the repository can create an autolink.", |
| 20426 | + "tags": [ |
| 20427 | + "repos" |
| 20428 | + ], |
| 20429 | + "operationId": "repos/create-autolink", |
| 20430 | + "externalDocs": { |
| 20431 | + "description": "API method documentation", |
| 20432 | + "url": "https://docs.github.com/v3/repos#create-an-autolink" |
| 20433 | + }, |
| 20434 | + "parameters": [ |
| 20435 | + { |
| 20436 | + "$ref": "#/components/parameters/owner" |
| 20437 | + }, |
| 20438 | + { |
| 20439 | + "$ref": "#/components/parameters/repo" |
| 20440 | + } |
| 20441 | + ], |
| 20442 | + "requestBody": { |
| 20443 | + "content": { |
| 20444 | + "application/json": { |
| 20445 | + "schema": { |
| 20446 | + "type": "object", |
| 20447 | + "properties": { |
| 20448 | + "key_prefix": { |
| 20449 | + "type": "string", |
| 20450 | + "description": "The prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit." |
| 20451 | + }, |
| 20452 | + "url_template": { |
| 20453 | + "type": "string", |
| 20454 | + "description": "The URL must contain <num> for the reference number." |
| 20455 | + } |
| 20456 | + }, |
| 20457 | + "required": [ |
| 20458 | + "key_prefix", |
| 20459 | + "url_template" |
| 20460 | + ] |
| 20461 | + }, |
| 20462 | + "example": { |
| 20463 | + "key_prefix": "TICKET-", |
| 20464 | + "url_template": "https://example.com/TICKET?query=<num>" |
| 20465 | + } |
| 20466 | + } |
| 20467 | + } |
| 20468 | + }, |
| 20469 | + "responses": { |
| 20470 | + "201": { |
| 20471 | + "description": "response", |
| 20472 | + "content": { |
| 20473 | + "application/json": { |
| 20474 | + "schema": { |
| 20475 | + "$ref": "#/components/schemas/autolink" |
| 20476 | + }, |
| 20477 | + "examples": { |
| 20478 | + "default": { |
| 20479 | + "$ref": "#/components/examples/autolink" |
| 20480 | + } |
| 20481 | + } |
| 20482 | + } |
| 20483 | + }, |
| 20484 | + "headers": { |
| 20485 | + "Location": { |
| 20486 | + "example": "https://api.github.com/repos/octocat/Hello-World/autolinks/1", |
| 20487 | + "schema": { |
| 20488 | + "type": "string" |
| 20489 | + } |
| 20490 | + } |
| 20491 | + } |
| 20492 | + }, |
| 20493 | + "422": { |
| 20494 | + "$ref": "#/components/responses/validation_failed" |
| 20495 | + } |
| 20496 | + }, |
| 20497 | + "x-github": { |
| 20498 | + "githubCloudOnly": false, |
| 20499 | + "enabledForGitHubApps": true, |
| 20500 | + "previews": [ |
| 20501 | + |
| 20502 | + ], |
| 20503 | + "category": "repos", |
| 20504 | + "subcategory": "autolinks" |
| 20505 | + } |
| 20506 | + } |
| 20507 | + }, |
| 20508 | + "/repos/{owner}/{repo}/autolinks/{autolink_id}": { |
| 20509 | + "get": { |
| 20510 | + "summary": "Get an autolink reference of a repository", |
| 20511 | + "description": "This returns a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.", |
| 20512 | + "tags": [ |
| 20513 | + "repos" |
| 20514 | + ], |
| 20515 | + "operationId": "repos/get-autolink", |
| 20516 | + "externalDocs": { |
| 20517 | + "description": "API method documentation", |
| 20518 | + "url": "https://docs.github.com/v3/repos#get-autolink" |
| 20519 | + }, |
| 20520 | + "parameters": [ |
| 20521 | + { |
| 20522 | + "$ref": "#/components/parameters/owner" |
| 20523 | + }, |
| 20524 | + { |
| 20525 | + "$ref": "#/components/parameters/repo" |
| 20526 | + }, |
| 20527 | + { |
| 20528 | + "$ref": "#/components/parameters/autolink-id" |
| 20529 | + } |
| 20530 | + ], |
| 20531 | + "responses": { |
| 20532 | + "200": { |
| 20533 | + "description": "Response", |
| 20534 | + "content": { |
| 20535 | + "application/json": { |
| 20536 | + "schema": { |
| 20537 | + "$ref": "#/components/schemas/autolink" |
| 20538 | + }, |
| 20539 | + "examples": { |
| 20540 | + "default": { |
| 20541 | + "$ref": "#/components/examples/autolink" |
| 20542 | + } |
| 20543 | + } |
| 20544 | + } |
| 20545 | + } |
| 20546 | + }, |
| 20547 | + "404": { |
| 20548 | + "$ref": "#/components/responses/not_found" |
| 20549 | + } |
| 20550 | + }, |
| 20551 | + "x-github": { |
| 20552 | + "githubCloudOnly": false, |
| 20553 | + "enabledForGitHubApps": true, |
| 20554 | + "previews": [ |
| 20555 | + |
| 20556 | + ], |
| 20557 | + "category": "repos", |
| 20558 | + "subcategory": "autolinks" |
| 20559 | + } |
| 20560 | + }, |
| 20561 | + "delete": { |
| 20562 | + "summary": "Delete an autolink reference from a repository", |
| 20563 | + "description": "This deletes a single autolink reference by ID that was configured for the given repository.\n\nInformation about autolinks are only available to repository administrators.", |
| 20564 | + "tags": [ |
| 20565 | + "repos" |
| 20566 | + ], |
| 20567 | + "operationId": "repos/delete-autolink", |
| 20568 | + "externalDocs": { |
| 20569 | + "description": "API method documentation", |
| 20570 | + "url": "https://docs.github.com/v3/repos#delete-autolink" |
| 20571 | + }, |
| 20572 | + "parameters": [ |
| 20573 | + { |
| 20574 | + "$ref": "#/components/parameters/owner" |
| 20575 | + }, |
| 20576 | + { |
| 20577 | + "$ref": "#/components/parameters/repo" |
| 20578 | + }, |
| 20579 | + { |
| 20580 | + "$ref": "#/components/parameters/autolink-id" |
| 20581 | + } |
| 20582 | + ], |
| 20583 | + "responses": { |
| 20584 | + "204": { |
| 20585 | + "description": "Response" |
| 20586 | + }, |
| 20587 | + "404": { |
| 20588 | + "$ref": "#/components/responses/not_found" |
| 20589 | + } |
| 20590 | + }, |
| 20591 | + "x-github": { |
| 20592 | + "githubCloudOnly": false, |
| 20593 | + "enabledForGitHubApps": true, |
| 20594 | + "previews": [ |
| 20595 | + |
| 20596 | + ], |
| 20597 | + "category": "repos", |
| 20598 | + "subcategory": "autolinks" |
| 20599 | + } |
| 20600 | + } |
| 20601 | + }, |
20370 | 20602 | "/repos/{owner}/{repo}/automated-security-fixes": {
|
20371 | 20603 | "put": {
|
20372 | 20604 | "summary": "Enable automated security fixes",
|
|
48186 | 48418 | "parameters": [
|
48187 | 48419 | {
|
48188 | 48420 | "name": "filter",
|
48189 |
| - "description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation", |
| 48421 | + "description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all` or `repos`: All issues the authenticated user can see, regardless of participation or creation", |
48190 | 48422 | "in": "query",
|
48191 | 48423 | "required": false,
|
48192 | 48424 | "schema": {
|
|
61987 | 62219 | "billable"
|
61988 | 62220 | ]
|
61989 | 62221 | },
|
| 62222 | + "autolink": { |
| 62223 | + "title": "Autolink reference", |
| 62224 | + "description": "An autolink reference.", |
| 62225 | + "type": "object", |
| 62226 | + "properties": { |
| 62227 | + "id": { |
| 62228 | + "type": "integer", |
| 62229 | + "example": 3 |
| 62230 | + }, |
| 62231 | + "key_prefix": { |
| 62232 | + "description": "The prefix of a key that is linkified.", |
| 62233 | + "example": "TICKET-", |
| 62234 | + "type": "string" |
| 62235 | + }, |
| 62236 | + "url_template": { |
| 62237 | + "description": "A template for the target URL that is generated if a key was found.", |
| 62238 | + "example": "https://example.com/TICKET?query=<num>", |
| 62239 | + "type": "string" |
| 62240 | + } |
| 62241 | + }, |
| 62242 | + "required": [ |
| 62243 | + "id", |
| 62244 | + "key_prefix", |
| 62245 | + "url_template" |
| 62246 | + ] |
| 62247 | + }, |
61990 | 62248 | "protected-branch-admin-enforced": {
|
61991 | 62249 | "title": "Protected Branch Admin Enforced",
|
61992 | 62250 | "description": "Protected Branch Admin Enforced",
|
|
71628 | 71886 | "body_text": {
|
71629 | 71887 | "type": "string"
|
71630 | 71888 | },
|
| 71889 | + "mentions_count": { |
| 71890 | + "type": "integer" |
| 71891 | + }, |
71631 | 71892 | "discussion_url": {
|
71632 | 71893 | "description": "The URL of the release discussion.",
|
71633 | 71894 | "type": "string",
|
|
82090 | 82351 | }
|
82091 | 82352 | }
|
82092 | 82353 | },
|
| 82354 | + "autolink-items": { |
| 82355 | + "value": [ |
| 82356 | + { |
| 82357 | + "id": 1, |
| 82358 | + "key_prefix": "TICKET-", |
| 82359 | + "url_template": "https://example.com/TICKET?query=<num>" |
| 82360 | + } |
| 82361 | + ] |
| 82362 | + }, |
| 82363 | + "autolink": { |
| 82364 | + "value": { |
| 82365 | + "id": 1, |
| 82366 | + "key_prefix": "TICKET-", |
| 82367 | + "url_template": "https://example.com/TICKET?query=<num>" |
| 82368 | + } |
| 82369 | + }, |
82093 | 82370 | "short-branch-with-protection-items": {
|
82094 | 82371 | "value": [
|
82095 | 82372 | {
|
|
95100 | 95377 | ]
|
95101 | 95378 | }
|
95102 | 95379 | },
|
| 95380 | + "autolink-id": { |
| 95381 | + "name": "autolink_id", |
| 95382 | + "description": "autolink_id parameter", |
| 95383 | + "in": "path", |
| 95384 | + "required": true, |
| 95385 | + "schema": { |
| 95386 | + "type": "integer" |
| 95387 | + } |
| 95388 | + }, |
95103 | 95389 | "branch": {
|
95104 | 95390 | "name": "branch",
|
95105 | 95391 | "description": "The name of the branch.",
|
|
0 commit comments