1
0
mirror of synced 2025-12-30 12:02:01 -05:00

Merge pull request #28990 from github/openapi-update-99ef206ced04a7bd819a0a9b6bc85bd70aa2a708b3f477ad934f412cba1fe3d0

Update OpenAPI  Descriptions
This commit is contained in:
Sophie
2022-07-13 07:57:31 +02:00
committed by GitHub
10 changed files with 495 additions and 90 deletions

View File

@@ -385590,8 +385590,17 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example",
"acceptHeader": "application/vnd.github.v3+json"
"description": "Create an authorization",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url",
"client_id": "abcde12345fghij67890",
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
}
},
"response": {
"statusCode": "201",
@@ -386412,13 +386421,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "<p>The client ID of the GitHub app.</p>",
"description": "<p>The client ID of the OAuth app.</p>",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
}
@@ -386495,10 +386504,18 @@
"key": "response-if-returning-an-existing-token",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 200",
"description": "Create an authorization for an app 1: Status Code 200",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766"
"client_id": "abcde12345fghij67890"
}
},
"response": {
@@ -387282,10 +387299,18 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 2: Status Code 201",
"description": "Create an authorization for an app 2: Status Code 201",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766"
"client_id": "abcde12345fghij67890"
}
},
"response": {
@@ -388107,13 +388132,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "<p>The client ID of the GitHub app.</p>",
"description": "<p>The client ID of the OAuth app.</p>",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
},
@@ -388189,10 +388214,18 @@
"key": "response-if-returning-an-existing-token",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 200",
"description": "Create an authorization for an app and fingerprint 1: Status Code 200",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766",
"client_id": "abcde12345fghij67890",
"fingerprint": "FINGERPRINT"
}
},
@@ -388977,10 +389010,18 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 2: Status Code 201",
"description": "Create an authorization for an app and fingerprint 2: Status Code 201",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766",
"client_id": "abcde12345fghij67890",
"fingerprint": "FINGERPRINT"
}
},

View File

@@ -298013,8 +298013,17 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example",
"acceptHeader": "application/vnd.github.v3+json"
"description": "Create an authorization",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url",
"client_id": "abcde12345fghij67890",
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
}
},
"response": {
"statusCode": "201",
@@ -298843,13 +298852,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "<p>The client ID of the GitHub app.</p>",
"description": "<p>The client ID of the OAuth app.</p>",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
}
@@ -298926,10 +298935,18 @@
"key": "response-if-returning-an-existing-token",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 200",
"description": "Create an authorization for an app 1: Status Code 200",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766"
"client_id": "abcde12345fghij67890"
}
},
"response": {
@@ -299721,10 +299738,18 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 2: Status Code 201",
"description": "Create an authorization for an app 2: Status Code 201",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766"
"client_id": "abcde12345fghij67890"
}
},
"response": {
@@ -300554,13 +300579,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "<p>The client ID of the GitHub app.</p>",
"description": "<p>The client ID of the OAuth app.</p>",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
},
@@ -300636,10 +300661,18 @@
"key": "response-if-returning-an-existing-token",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 200",
"description": "Create an authorization for an app and fingerprint 1: Status Code 200",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766",
"client_id": "abcde12345fghij67890",
"fingerprint": "FINGERPRINT"
}
},
@@ -301432,10 +301465,18 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 2: Status Code 201",
"description": "Create an authorization for an app and fingerprint 2: Status Code 201",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766",
"client_id": "abcde12345fghij67890",
"fingerprint": "FINGERPRINT"
}
},

View File

@@ -299227,8 +299227,17 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example",
"acceptHeader": "application/vnd.github.v3+json"
"description": "Create an authorization",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url",
"client_id": "abcde12345fghij67890",
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
}
},
"response": {
"statusCode": "201",
@@ -300057,13 +300066,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "<p>The client ID of the GitHub app.</p>",
"description": "<p>The client ID of the OAuth app.</p>",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
}
@@ -300140,10 +300149,18 @@
"key": "response-if-returning-an-existing-token",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 200",
"description": "Create an authorization for an app 1: Status Code 200",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766"
"client_id": "abcde12345fghij67890"
}
},
"response": {
@@ -300935,10 +300952,18 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 2: Status Code 201",
"description": "Create an authorization for an app 2: Status Code 201",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766"
"client_id": "abcde12345fghij67890"
}
},
"response": {
@@ -301768,13 +301793,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "<p>The client ID of the GitHub app.</p>",
"description": "<p>The client ID of the OAuth app.</p>",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
},
@@ -301850,10 +301875,18 @@
"key": "response-if-returning-an-existing-token",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 200",
"description": "Create an authorization for an app and fingerprint 1: Status Code 200",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766",
"client_id": "abcde12345fghij67890",
"fingerprint": "FINGERPRINT"
}
},
@@ -302646,10 +302679,18 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 2: Status Code 201",
"description": "Create an authorization for an app and fingerprint 2: Status Code 201",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766",
"client_id": "abcde12345fghij67890",
"fingerprint": "FINGERPRINT"
}
},

View File

@@ -319123,8 +319123,17 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example",
"acceptHeader": "application/vnd.github.v3+json"
"description": "Create an authorization",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url",
"client_id": "abcde12345fghij67890",
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
}
},
"response": {
"statusCode": "201",
@@ -319945,13 +319954,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "<p>The client ID of the GitHub app.</p>",
"description": "<p>The client ID of the OAuth app.</p>",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
}
@@ -320028,10 +320037,18 @@
"key": "response-if-returning-an-existing-token",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 200",
"description": "Create an authorization for an app 1: Status Code 200",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766"
"client_id": "abcde12345fghij67890"
}
},
"response": {
@@ -320815,10 +320832,18 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 2: Status Code 201",
"description": "Create an authorization for an app 2: Status Code 201",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766"
"client_id": "abcde12345fghij67890"
}
},
"response": {
@@ -321640,13 +321665,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "<p>The client ID of the GitHub app.</p>",
"description": "<p>The client ID of the OAuth app.</p>",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
},
@@ -321722,10 +321747,18 @@
"key": "response-if-returning-an-existing-token",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 200",
"description": "Create an authorization for an app and fingerprint 1: Status Code 200",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766",
"client_id": "abcde12345fghij67890",
"fingerprint": "FINGERPRINT"
}
},
@@ -322510,10 +322543,18 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 2: Status Code 201",
"description": "Create an authorization for an app and fingerprint 2: Status Code 201",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766",
"client_id": "abcde12345fghij67890",
"fingerprint": "FINGERPRINT"
}
},

View File

@@ -329120,8 +329120,17 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example",
"acceptHeader": "application/vnd.github.v3+json"
"description": "Create an authorization",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url",
"client_id": "abcde12345fghij67890",
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
}
},
"response": {
"statusCode": "201",
@@ -329942,13 +329951,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "<p>The client ID of the GitHub app.</p>",
"description": "<p>The client ID of the OAuth app.</p>",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
}
@@ -330025,10 +330034,18 @@
"key": "response-if-returning-an-existing-token",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 200",
"description": "Create an authorization for an app 1: Status Code 200",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766"
"client_id": "abcde12345fghij67890"
}
},
"response": {
@@ -330812,10 +330829,18 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 2: Status Code 201",
"description": "Create an authorization for an app 2: Status Code 201",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766"
"client_id": "abcde12345fghij67890"
}
},
"response": {
@@ -331637,13 +331662,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "<p>The client ID of the GitHub app.</p>",
"description": "<p>The client ID of the OAuth app.</p>",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
},
@@ -331719,10 +331744,18 @@
"key": "response-if-returning-an-existing-token",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 200",
"description": "Create an authorization for an app and fingerprint 1: Status Code 200",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766",
"client_id": "abcde12345fghij67890",
"fingerprint": "FINGERPRINT"
}
},
@@ -332507,10 +332540,18 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 2: Status Code 201",
"description": "Create an authorization for an app and fingerprint 2: Status Code 201",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766",
"client_id": "abcde12345fghij67890",
"fingerprint": "FINGERPRINT"
}
},

View File

@@ -12703,6 +12703,20 @@
"type": "string"
}
}
},
"examples": {
"default": {
"summary": "Create an authorization",
"value": {
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url",
"client_id": "abcde12345fghij67890",
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
}
}
}
}
}
@@ -13683,13 +13697,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "The client ID of the GitHub app.",
"description": "The client ID of the OAuth app.",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
}
@@ -13739,6 +13753,19 @@
"client_secret"
],
"type": "object"
},
"examples": {
"default": {
"summary": "Create an authorization for an app",
"value": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
}
}
}
}
}
@@ -15483,13 +15510,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "The client ID of the GitHub app.",
"description": "The client ID of the OAuth app.",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
},
@@ -15543,6 +15570,19 @@
"client_secret"
],
"type": "object"
},
"examples": {
"default": {
"summary": "Create an authorization for an app and fingerprint",
"value": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
}
}
}
}
}

View File

@@ -21242,6 +21242,20 @@
"type": "string"
}
}
},
"examples": {
"default": {
"summary": "Create an authorization",
"value": {
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url",
"client_id": "abcde12345fghij67890",
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
}
}
}
}
}
@@ -22230,13 +22244,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "The client ID of the GitHub app.",
"description": "The client ID of the OAuth app.",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
}
@@ -22286,6 +22300,19 @@
"client_secret"
],
"type": "object"
},
"examples": {
"default": {
"summary": "Create an authorization for an app",
"value": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
}
}
}
}
}
@@ -24046,13 +24073,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "The client ID of the GitHub app.",
"description": "The client ID of the OAuth app.",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
},
@@ -24106,6 +24133,19 @@
"client_secret"
],
"type": "object"
},
"examples": {
"default": {
"summary": "Create an authorization for an app and fingerprint",
"value": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
}
}
}
}
}

View File

@@ -21107,6 +21107,20 @@
"type": "string"
}
}
},
"examples": {
"default": {
"summary": "Create an authorization",
"value": {
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url",
"client_id": "abcde12345fghij67890",
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
}
}
}
}
}
@@ -22095,13 +22109,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "The client ID of the GitHub app.",
"description": "The client ID of the OAuth app.",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
}
@@ -22151,6 +22165,19 @@
"client_secret"
],
"type": "object"
},
"examples": {
"default": {
"summary": "Create an authorization for an app",
"value": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
}
}
}
}
}
@@ -23911,13 +23938,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "The client ID of the GitHub app.",
"description": "The client ID of the OAuth app.",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
},
@@ -23971,6 +23998,19 @@
"client_secret"
],
"type": "object"
},
"examples": {
"default": {
"summary": "Create an authorization for an app and fingerprint",
"value": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
}
}
}
}
}

View File

@@ -19158,6 +19158,20 @@
"type": "string"
}
}
},
"examples": {
"default": {
"summary": "Create an authorization",
"value": {
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url",
"client_id": "abcde12345fghij67890",
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
}
}
}
}
}
@@ -20138,13 +20152,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "The client ID of the GitHub app.",
"description": "The client ID of the OAuth app.",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
}
@@ -20194,6 +20208,19 @@
"client_secret"
],
"type": "object"
},
"examples": {
"default": {
"summary": "Create an authorization for an app",
"value": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
}
}
}
}
}
@@ -21938,13 +21965,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "The client ID of the GitHub app.",
"description": "The client ID of the OAuth app.",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
},
@@ -21998,6 +22025,19 @@
"client_secret"
],
"type": "object"
},
"examples": {
"default": {
"summary": "Create an authorization for an app and fingerprint",
"value": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
}
}
}
}
}

View File

@@ -19158,6 +19158,20 @@
"type": "string"
}
}
},
"examples": {
"default": {
"summary": "Create an authorization",
"value": {
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url",
"client_id": "abcde12345fghij67890",
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
}
}
}
}
}
@@ -20138,13 +20152,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "The client ID of the GitHub app.",
"description": "The client ID of the OAuth app.",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
}
@@ -20194,6 +20208,19 @@
"client_secret"
],
"type": "object"
},
"examples": {
"default": {
"summary": "Create an authorization for an app",
"value": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
}
}
}
}
}
@@ -21938,13 +21965,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "The client ID of the GitHub app.",
"description": "The client ID of the OAuth app.",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
},
@@ -21998,6 +22025,19 @@
"client_secret"
],
"type": "object"
},
"examples": {
"default": {
"summary": "Create an authorization for an app and fingerprint",
"value": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
}
}
}
}
}