-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub-gists-base-gist-structure.json
More file actions
125 lines (125 loc) · 2.73 KB
/
Copy pathgithub-gists-base-gist-structure.json
File metadata and controls
125 lines (125 loc) · 2.73 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-gists-base-gist-structure.json",
"name": "base-gist",
"description": "Base Gist",
"type": "object",
"properties": {
"url": {
"type": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"forks_url": {
"type": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"commits_url": {
"type": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"id": {
"type": "string",
"example": "12345678"
},
"node_id": {
"type": "string",
"example": "12345678"
},
"git_pull_url": {
"type": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"git_push_url": {
"type": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"html_url": {
"type": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"files": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"filename": {
"type": "string"
},
"type": {
"type": "string"
},
"language": {
"type": "string"
},
"raw_url": {
"type": "string"
},
"size": {
"type": "integer"
}
}
}
},
"public": {
"type": "boolean",
"example": true
},
"created_at": {
"type": "datetime",
"example": "2026-04-17T12:00:00Z"
},
"updated_at": {
"type": "datetime",
"example": "2026-04-17T12:00:00Z"
},
"description": {
"type": "string",
"nullable": true,
"example": "This is an example repository"
},
"comments": {
"type": "int32",
"example": 42
},
"user": {
"$ref": "#/components/schemas/nullable-simple-user"
},
"comments_url": {
"type": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"owner": {
"$ref": "#/components/schemas/simple-user"
},
"truncated": {
"type": "boolean",
"example": true
},
"forks": {
"type": "array",
"items": {}
},
"history": {
"type": "array",
"items": {}
}
},
"required": [
"id",
"node_id",
"url",
"forks_url",
"commits_url",
"git_pull_url",
"git_push_url",
"html_url",
"comments_url",
"public",
"description",
"comments",
"user",
"files",
"created_at",
"updated_at"
]
}