-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub-app-api-application-grant-structure.json
More file actions
64 lines (64 loc) · 1.32 KB
/
github-app-api-application-grant-structure.json
File metadata and controls
64 lines (64 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-app-api-application-grant-structure.json",
"name": "application-grant",
"description": "The authorization associated with an OAuth Access.",
"type": "object",
"properties": {
"id": {
"type": "int32",
"example": 1
},
"url": {
"type": "uri",
"example": "https://api.github.com/applications/grants/1"
},
"app": {
"type": "object",
"properties": {
"client_id": {
"type": "string"
},
"name": {
"type": "string"
},
"url": {
"type": "uri"
}
},
"required": [
"client_id",
"name",
"url"
]
},
"created_at": {
"type": "datetime",
"example": "2011-09-06T17:26:27Z"
},
"updated_at": {
"type": "datetime",
"example": "2011-09-06T20:39:23Z"
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"example": [
"public_repo"
]
},
"user": {
"$ref": "#/components/schemas/nullable-simple-user"
}
},
"required": [
"app",
"id",
"scopes",
"url",
"created_at",
"updated_at"
]
}