airbyte-source-github 1.5.7__py3-none-any.whl
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.
- airbyte_source_github-1.5.7.dist-info/METADATA +144 -0
- airbyte_source_github-1.5.7.dist-info/RECORD +88 -0
- airbyte_source_github-1.5.7.dist-info/WHEEL +5 -0
- airbyte_source_github-1.5.7.dist-info/entry_points.txt +2 -0
- airbyte_source_github-1.5.7.dist-info/top_level.txt +3 -0
- integration_tests/__init__.py +0 -0
- integration_tests/abnormal_state.json +237 -0
- integration_tests/acceptance.py +16 -0
- integration_tests/configured_catalog.json +435 -0
- integration_tests/configured_catalog_full_refresh_test.json +415 -0
- integration_tests/invalid_config.json +5 -0
- integration_tests/sample_config.json +5 -0
- integration_tests/sample_state.json +137 -0
- source_github/__init__.py +27 -0
- source_github/config_migrations.py +106 -0
- source_github/constants.py +9 -0
- source_github/github_schema.py +41034 -0
- source_github/graphql.py +327 -0
- source_github/run.py +17 -0
- source_github/schemas/assignees.json +63 -0
- source_github/schemas/branches.json +48 -0
- source_github/schemas/collaborators.json +80 -0
- source_github/schemas/comments.json +104 -0
- source_github/schemas/commit_comment_reactions.json +4 -0
- source_github/schemas/commit_comments.json +53 -0
- source_github/schemas/commits.json +126 -0
- source_github/schemas/contributor_activity.json +109 -0
- source_github/schemas/deployments.json +77 -0
- source_github/schemas/events.json +63 -0
- source_github/schemas/issue_comment_reactions.json +4 -0
- source_github/schemas/issue_events.json +335 -0
- source_github/schemas/issue_labels.json +30 -0
- source_github/schemas/issue_milestones.json +61 -0
- source_github/schemas/issue_reactions.json +28 -0
- source_github/schemas/issue_timeline_events.json +1056 -0
- source_github/schemas/issues.json +281 -0
- source_github/schemas/organizations.json +197 -0
- source_github/schemas/project_cards.json +50 -0
- source_github/schemas/project_columns.json +38 -0
- source_github/schemas/projects.json +50 -0
- source_github/schemas/projects_v2.json +80 -0
- source_github/schemas/pull_request_comment_reactions.json +28 -0
- source_github/schemas/pull_request_commits.json +122 -0
- source_github/schemas/pull_request_stats.json +84 -0
- source_github/schemas/pull_requests.json +363 -0
- source_github/schemas/releases.json +126 -0
- source_github/schemas/repositories.json +313 -0
- source_github/schemas/review_comments.json +118 -0
- source_github/schemas/reviews.json +69 -0
- source_github/schemas/shared/events/comment.json +188 -0
- source_github/schemas/shared/events/commented.json +118 -0
- source_github/schemas/shared/events/committed.json +56 -0
- source_github/schemas/shared/events/cross_referenced.json +784 -0
- source_github/schemas/shared/events/reviewed.json +139 -0
- source_github/schemas/shared/reaction.json +27 -0
- source_github/schemas/shared/reactions.json +35 -0
- source_github/schemas/shared/user.json +59 -0
- source_github/schemas/shared/user_graphql.json +26 -0
- source_github/schemas/stargazers.json +19 -0
- source_github/schemas/tags.json +32 -0
- source_github/schemas/team_members.json +66 -0
- source_github/schemas/team_memberships.json +24 -0
- source_github/schemas/teams.json +50 -0
- source_github/schemas/users.json +63 -0
- source_github/schemas/workflow_jobs.json +109 -0
- source_github/schemas/workflow_runs.json +449 -0
- source_github/schemas/workflows.json +41 -0
- source_github/source.py +339 -0
- source_github/spec.json +179 -0
- source_github/streams.py +1678 -0
- source_github/utils.py +152 -0
- unit_tests/__init__.py +3 -0
- unit_tests/conftest.py +29 -0
- unit_tests/projects_v2_pull_requests_query.json +3 -0
- unit_tests/pull_request_stats_query.json +3 -0
- unit_tests/responses/contributor_activity_response.json +33 -0
- unit_tests/responses/graphql_reviews_responses.json +405 -0
- unit_tests/responses/issue_timeline_events.json +166 -0
- unit_tests/responses/issue_timeline_events_response.json +170 -0
- unit_tests/responses/projects_v2_response.json +45 -0
- unit_tests/responses/pull_request_comment_reactions.json +744 -0
- unit_tests/responses/pull_request_stats_response.json +317 -0
- unit_tests/test_migrations/test_config.json +8 -0
- unit_tests/test_migrations/test_new_config.json +8 -0
- unit_tests/test_multiple_token_authenticator.py +160 -0
- unit_tests/test_source.py +326 -0
- unit_tests/test_stream.py +1471 -0
- unit_tests/utils.py +78 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"id": {
|
6
|
+
"type": ["null", "integer"]
|
7
|
+
},
|
8
|
+
"node_id": {
|
9
|
+
"type": ["null", "string"]
|
10
|
+
},
|
11
|
+
"content": {
|
12
|
+
"type": ["null", "string"]
|
13
|
+
},
|
14
|
+
"created_at": {
|
15
|
+
"type": "string",
|
16
|
+
"format": "date-time"
|
17
|
+
},
|
18
|
+
"user": {
|
19
|
+
"$ref": "user_graphql.json"
|
20
|
+
},
|
21
|
+
"repository": {
|
22
|
+
"type": "string"
|
23
|
+
},
|
24
|
+
"comment_id": {
|
25
|
+
"type": "integer"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,122 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"sha": {
|
6
|
+
"type": ["null", "string"]
|
7
|
+
},
|
8
|
+
"node_id": {
|
9
|
+
"type": ["null", "string"]
|
10
|
+
},
|
11
|
+
"commit": {
|
12
|
+
"type": "object",
|
13
|
+
"properties": {
|
14
|
+
"author": {
|
15
|
+
"type": "object",
|
16
|
+
"properties": {
|
17
|
+
"name": {
|
18
|
+
"type": ["null", "string"]
|
19
|
+
},
|
20
|
+
"email": {
|
21
|
+
"type": ["null", "string"]
|
22
|
+
},
|
23
|
+
"date": {
|
24
|
+
"type": "string",
|
25
|
+
"format": "date-time"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"committer": {
|
30
|
+
"type": "object",
|
31
|
+
"properties": {
|
32
|
+
"name": {
|
33
|
+
"type": ["null", "string"]
|
34
|
+
},
|
35
|
+
"email": {
|
36
|
+
"type": ["null", "string"]
|
37
|
+
},
|
38
|
+
"date": {
|
39
|
+
"type": "string",
|
40
|
+
"format": "date-time"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
},
|
44
|
+
"message": {
|
45
|
+
"type": ["null", "string"]
|
46
|
+
},
|
47
|
+
"tree": {
|
48
|
+
"type": "object",
|
49
|
+
"properties": {
|
50
|
+
"sha": {
|
51
|
+
"type": ["null", "string"]
|
52
|
+
},
|
53
|
+
"url": {
|
54
|
+
"type": ["null", "string"]
|
55
|
+
}
|
56
|
+
}
|
57
|
+
},
|
58
|
+
"url": {
|
59
|
+
"type": ["null", "string"]
|
60
|
+
},
|
61
|
+
"comment_count": {
|
62
|
+
"type": ["null", "integer"]
|
63
|
+
},
|
64
|
+
"verification": {
|
65
|
+
"type": "object",
|
66
|
+
"properties": {
|
67
|
+
"verified": {
|
68
|
+
"type": ["null", "boolean"]
|
69
|
+
},
|
70
|
+
"reason": {
|
71
|
+
"type": ["null", "string"]
|
72
|
+
},
|
73
|
+
"signature": {
|
74
|
+
"type": ["null", "string"]
|
75
|
+
},
|
76
|
+
"payload": {
|
77
|
+
"type": ["null", "string"]
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"url": {
|
84
|
+
"type": ["null", "string"]
|
85
|
+
},
|
86
|
+
"html_url": {
|
87
|
+
"type": ["null", "string"]
|
88
|
+
},
|
89
|
+
"comments_url": {
|
90
|
+
"type": ["null", "string"]
|
91
|
+
},
|
92
|
+
"author": {
|
93
|
+
"$ref": "user.json"
|
94
|
+
},
|
95
|
+
"committer": {
|
96
|
+
"$ref": "user.json"
|
97
|
+
},
|
98
|
+
"parents": {
|
99
|
+
"type": "array",
|
100
|
+
"items": {
|
101
|
+
"type": "object",
|
102
|
+
"properties": {
|
103
|
+
"sha": {
|
104
|
+
"type": ["null", "string"]
|
105
|
+
},
|
106
|
+
"url": {
|
107
|
+
"type": ["null", "string"]
|
108
|
+
},
|
109
|
+
"html_url": {
|
110
|
+
"type": ["null", "string"]
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
},
|
115
|
+
"repository": {
|
116
|
+
"type": "string"
|
117
|
+
},
|
118
|
+
"pull_number": {
|
119
|
+
"type": "integer"
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"repository": {
|
6
|
+
"type": "string"
|
7
|
+
},
|
8
|
+
"id": {
|
9
|
+
"type": ["null", "integer"]
|
10
|
+
},
|
11
|
+
"node_id": {
|
12
|
+
"type": ["null", "string"]
|
13
|
+
},
|
14
|
+
"number": {
|
15
|
+
"type": ["null", "integer"]
|
16
|
+
},
|
17
|
+
"merged": {
|
18
|
+
"type": ["null", "boolean"]
|
19
|
+
},
|
20
|
+
"mergeable": {
|
21
|
+
"type": ["null", "string"]
|
22
|
+
},
|
23
|
+
"can_be_rebased": {
|
24
|
+
"type": ["null", "boolean"]
|
25
|
+
},
|
26
|
+
"merge_state_status": {
|
27
|
+
"type": ["null", "string"]
|
28
|
+
},
|
29
|
+
"merged_by": {
|
30
|
+
"$ref": "user_graphql.json"
|
31
|
+
},
|
32
|
+
"merged_by": {
|
33
|
+
"type": ["null", "object"],
|
34
|
+
"properties": {
|
35
|
+
"login": {
|
36
|
+
"type": ["null", "string"]
|
37
|
+
},
|
38
|
+
"id": {
|
39
|
+
"type": ["null", "integer"]
|
40
|
+
},
|
41
|
+
"node_id": {
|
42
|
+
"type": ["null", "string"]
|
43
|
+
},
|
44
|
+
"avatar_url": {
|
45
|
+
"type": ["null", "string"]
|
46
|
+
},
|
47
|
+
"html_url": {
|
48
|
+
"type": ["null", "string"]
|
49
|
+
},
|
50
|
+
"type": {
|
51
|
+
"type": ["null", "string"]
|
52
|
+
},
|
53
|
+
"site_admin": {
|
54
|
+
"type": ["null", "boolean"]
|
55
|
+
}
|
56
|
+
}
|
57
|
+
},
|
58
|
+
"comments": {
|
59
|
+
"type": ["null", "integer"]
|
60
|
+
},
|
61
|
+
"review_comments": {
|
62
|
+
"type": ["null", "integer"]
|
63
|
+
},
|
64
|
+
"maintainer_can_modify": {
|
65
|
+
"type": ["null", "boolean"]
|
66
|
+
},
|
67
|
+
"commits": {
|
68
|
+
"type": ["null", "integer"]
|
69
|
+
},
|
70
|
+
"additions": {
|
71
|
+
"type": ["null", "integer"]
|
72
|
+
},
|
73
|
+
"deletions": {
|
74
|
+
"type": ["null", "integer"]
|
75
|
+
},
|
76
|
+
"changed_files": {
|
77
|
+
"type": ["null", "integer"]
|
78
|
+
},
|
79
|
+
"updated_at": {
|
80
|
+
"type": "string",
|
81
|
+
"format": "date-time"
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
@@ -0,0 +1,363 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://json-schema.org/draft-07/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"properties": {
|
5
|
+
"repository": {
|
6
|
+
"type": "string"
|
7
|
+
},
|
8
|
+
"url": {
|
9
|
+
"type": ["null", "string"]
|
10
|
+
},
|
11
|
+
"id": {
|
12
|
+
"type": ["null", "integer"]
|
13
|
+
},
|
14
|
+
"node_id": {
|
15
|
+
"type": ["null", "string"]
|
16
|
+
},
|
17
|
+
"html_url": {
|
18
|
+
"type": ["null", "string"]
|
19
|
+
},
|
20
|
+
"diff_url": {
|
21
|
+
"type": ["null", "string"]
|
22
|
+
},
|
23
|
+
"patch_url": {
|
24
|
+
"type": ["null", "string"]
|
25
|
+
},
|
26
|
+
"issue_url": {
|
27
|
+
"type": ["null", "string"]
|
28
|
+
},
|
29
|
+
"commits_url": {
|
30
|
+
"type": ["null", "string"]
|
31
|
+
},
|
32
|
+
"review_comments_url": {
|
33
|
+
"type": ["null", "string"]
|
34
|
+
},
|
35
|
+
"review_comment_url": {
|
36
|
+
"type": ["null", "string"]
|
37
|
+
},
|
38
|
+
"comments_url": {
|
39
|
+
"type": ["null", "string"]
|
40
|
+
},
|
41
|
+
"statuses_url": {
|
42
|
+
"type": ["null", "string"]
|
43
|
+
},
|
44
|
+
"number": {
|
45
|
+
"type": ["null", "integer"]
|
46
|
+
},
|
47
|
+
"state": {
|
48
|
+
"type": ["null", "string"]
|
49
|
+
},
|
50
|
+
"locked": {
|
51
|
+
"type": ["null", "boolean"]
|
52
|
+
},
|
53
|
+
"title": {
|
54
|
+
"type": ["null", "string"]
|
55
|
+
},
|
56
|
+
"user": {
|
57
|
+
"$ref": "user.json"
|
58
|
+
},
|
59
|
+
"body": {
|
60
|
+
"type": ["null", "string"]
|
61
|
+
},
|
62
|
+
"labels": {
|
63
|
+
"type": ["null", "array"],
|
64
|
+
"items": {
|
65
|
+
"type": ["null", "object"],
|
66
|
+
"properties": {
|
67
|
+
"id": {
|
68
|
+
"type": ["null", "integer"]
|
69
|
+
},
|
70
|
+
"node_id": {
|
71
|
+
"type": ["null", "string"]
|
72
|
+
},
|
73
|
+
"url": {
|
74
|
+
"type": ["null", "string"]
|
75
|
+
},
|
76
|
+
"name": {
|
77
|
+
"type": ["null", "string"]
|
78
|
+
},
|
79
|
+
"description": {
|
80
|
+
"type": ["null", "string"]
|
81
|
+
},
|
82
|
+
"color": {
|
83
|
+
"type": ["null", "string"]
|
84
|
+
},
|
85
|
+
"default": {
|
86
|
+
"type": ["null", "boolean"]
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
},
|
91
|
+
"milestone": {
|
92
|
+
"type": ["null", "object"],
|
93
|
+
"properties": {
|
94
|
+
"url": {
|
95
|
+
"type": ["null", "string"]
|
96
|
+
},
|
97
|
+
"html_url": {
|
98
|
+
"type": ["null", "string"]
|
99
|
+
},
|
100
|
+
"labels_url": {
|
101
|
+
"type": ["null", "string"]
|
102
|
+
},
|
103
|
+
"id": {
|
104
|
+
"type": ["null", "integer"]
|
105
|
+
},
|
106
|
+
"node_id": {
|
107
|
+
"type": ["null", "string"]
|
108
|
+
},
|
109
|
+
"number": {
|
110
|
+
"type": ["null", "integer"]
|
111
|
+
},
|
112
|
+
"state": {
|
113
|
+
"type": ["null", "string"]
|
114
|
+
},
|
115
|
+
"title": {
|
116
|
+
"type": ["null", "string"]
|
117
|
+
},
|
118
|
+
"description": {
|
119
|
+
"type": ["null", "string"]
|
120
|
+
},
|
121
|
+
"creator": {
|
122
|
+
"$ref": "user.json"
|
123
|
+
},
|
124
|
+
"open_issues": {
|
125
|
+
"type": ["null", "integer"]
|
126
|
+
},
|
127
|
+
"closed_issues": {
|
128
|
+
"type": ["null", "integer"]
|
129
|
+
},
|
130
|
+
"created_at": {
|
131
|
+
"type": "string",
|
132
|
+
"format": "date-time"
|
133
|
+
},
|
134
|
+
"updated_at": {
|
135
|
+
"type": "string",
|
136
|
+
"format": "date-time"
|
137
|
+
},
|
138
|
+
"closed_at": {
|
139
|
+
"type": ["null", "string"],
|
140
|
+
"format": "date-time"
|
141
|
+
},
|
142
|
+
"due_on": {
|
143
|
+
"type": ["null", "string"],
|
144
|
+
"format": "date-time"
|
145
|
+
}
|
146
|
+
}
|
147
|
+
},
|
148
|
+
"active_lock_reason": {
|
149
|
+
"type": ["null", "string"]
|
150
|
+
},
|
151
|
+
"created_at": {
|
152
|
+
"type": "string",
|
153
|
+
"format": "date-time"
|
154
|
+
},
|
155
|
+
"updated_at": {
|
156
|
+
"type": "string",
|
157
|
+
"format": "date-time"
|
158
|
+
},
|
159
|
+
"closed_at": {
|
160
|
+
"type": ["null", "string"],
|
161
|
+
"format": "date-time"
|
162
|
+
},
|
163
|
+
"merged_at": {
|
164
|
+
"type": ["null", "string"],
|
165
|
+
"format": "date-time"
|
166
|
+
},
|
167
|
+
"merge_commit_sha": {
|
168
|
+
"type": ["null", "string"]
|
169
|
+
},
|
170
|
+
"assignee": {
|
171
|
+
"$ref": "user.json"
|
172
|
+
},
|
173
|
+
"assignees": {
|
174
|
+
"type": ["null", "array"],
|
175
|
+
"items": {
|
176
|
+
"$ref": "user.json"
|
177
|
+
}
|
178
|
+
},
|
179
|
+
"requested_reviewers": {
|
180
|
+
"type": ["null", "array"],
|
181
|
+
"items": {
|
182
|
+
"$ref": "user.json"
|
183
|
+
}
|
184
|
+
},
|
185
|
+
"requested_teams": {
|
186
|
+
"type": ["null", "array"],
|
187
|
+
"items": {
|
188
|
+
"type": ["null", "object"],
|
189
|
+
"properties": {
|
190
|
+
"id": {
|
191
|
+
"type": ["null", "integer"]
|
192
|
+
},
|
193
|
+
"node_id": {
|
194
|
+
"type": ["null", "string"]
|
195
|
+
},
|
196
|
+
"url": {
|
197
|
+
"type": ["null", "string"]
|
198
|
+
},
|
199
|
+
"html_url": {
|
200
|
+
"type": ["null", "string"]
|
201
|
+
},
|
202
|
+
"name": {
|
203
|
+
"type": ["null", "string"]
|
204
|
+
},
|
205
|
+
"slug": {
|
206
|
+
"type": ["null", "string"]
|
207
|
+
},
|
208
|
+
"description": {
|
209
|
+
"type": ["null", "string"]
|
210
|
+
},
|
211
|
+
"privacy": {
|
212
|
+
"type": ["null", "string"]
|
213
|
+
},
|
214
|
+
"permission": {
|
215
|
+
"type": ["null", "string"]
|
216
|
+
},
|
217
|
+
"members_url": {
|
218
|
+
"type": ["null", "string"]
|
219
|
+
},
|
220
|
+
"repositories_url": {
|
221
|
+
"type": ["null", "string"]
|
222
|
+
},
|
223
|
+
"parent": {
|
224
|
+
"type": ["null", "object"],
|
225
|
+
"properties": {}
|
226
|
+
}
|
227
|
+
}
|
228
|
+
}
|
229
|
+
},
|
230
|
+
"head": {
|
231
|
+
"type": ["null", "object"],
|
232
|
+
"properties": {
|
233
|
+
"label": {
|
234
|
+
"type": ["null", "string"]
|
235
|
+
},
|
236
|
+
"ref": {
|
237
|
+
"type": ["null", "string"]
|
238
|
+
},
|
239
|
+
"sha": {
|
240
|
+
"type": ["null", "string"]
|
241
|
+
},
|
242
|
+
"user_id": {
|
243
|
+
"type": ["null", "integer"]
|
244
|
+
},
|
245
|
+
"repo_id": {
|
246
|
+
"type": ["null", "integer"]
|
247
|
+
}
|
248
|
+
}
|
249
|
+
},
|
250
|
+
"base": {
|
251
|
+
"type": ["null", "object"],
|
252
|
+
"properties": {
|
253
|
+
"label": {
|
254
|
+
"type": ["null", "string"]
|
255
|
+
},
|
256
|
+
"ref": {
|
257
|
+
"type": ["null", "string"]
|
258
|
+
},
|
259
|
+
"sha": {
|
260
|
+
"type": ["null", "string"]
|
261
|
+
},
|
262
|
+
"user_id": {
|
263
|
+
"type": ["null", "integer"]
|
264
|
+
},
|
265
|
+
"repo_id": {
|
266
|
+
"type": ["null", "integer"]
|
267
|
+
}
|
268
|
+
}
|
269
|
+
},
|
270
|
+
"_links": {
|
271
|
+
"type": ["null", "object"],
|
272
|
+
"properties": {
|
273
|
+
"self": {
|
274
|
+
"type": ["null", "object"],
|
275
|
+
"properties": {
|
276
|
+
"href": {
|
277
|
+
"type": ["null", "string"]
|
278
|
+
}
|
279
|
+
}
|
280
|
+
},
|
281
|
+
"html": {
|
282
|
+
"type": ["null", "object"],
|
283
|
+
"properties": {
|
284
|
+
"href": {
|
285
|
+
"type": ["null", "string"]
|
286
|
+
}
|
287
|
+
}
|
288
|
+
},
|
289
|
+
"issue": {
|
290
|
+
"type": ["null", "object"],
|
291
|
+
"properties": {
|
292
|
+
"href": {
|
293
|
+
"type": ["null", "string"]
|
294
|
+
}
|
295
|
+
}
|
296
|
+
},
|
297
|
+
"comments": {
|
298
|
+
"type": ["null", "object"],
|
299
|
+
"properties": {
|
300
|
+
"href": {
|
301
|
+
"type": ["null", "string"]
|
302
|
+
}
|
303
|
+
}
|
304
|
+
},
|
305
|
+
"review_comments": {
|
306
|
+
"type": ["null", "object"],
|
307
|
+
"properties": {
|
308
|
+
"href": {
|
309
|
+
"type": ["null", "string"]
|
310
|
+
}
|
311
|
+
}
|
312
|
+
},
|
313
|
+
"review_comment": {
|
314
|
+
"type": ["null", "object"],
|
315
|
+
"properties": {
|
316
|
+
"href": {
|
317
|
+
"type": ["null", "string"]
|
318
|
+
}
|
319
|
+
}
|
320
|
+
},
|
321
|
+
"commits": {
|
322
|
+
"type": ["null", "object"],
|
323
|
+
"properties": {
|
324
|
+
"href": {
|
325
|
+
"type": ["null", "string"]
|
326
|
+
}
|
327
|
+
}
|
328
|
+
},
|
329
|
+
"statuses": {
|
330
|
+
"type": ["null", "object"],
|
331
|
+
"properties": {
|
332
|
+
"href": {
|
333
|
+
"type": ["null", "string"]
|
334
|
+
}
|
335
|
+
}
|
336
|
+
}
|
337
|
+
}
|
338
|
+
},
|
339
|
+
"author_association": {
|
340
|
+
"type": ["null", "string"]
|
341
|
+
},
|
342
|
+
"auto_merge": {
|
343
|
+
"type": ["null", "object"],
|
344
|
+
"properties": {
|
345
|
+
"enabled_by": {
|
346
|
+
"$ref": "user.json"
|
347
|
+
},
|
348
|
+
"commit_title": {
|
349
|
+
"type": ["null", "string"]
|
350
|
+
},
|
351
|
+
"merge_method": {
|
352
|
+
"type": ["null", "string"]
|
353
|
+
},
|
354
|
+
"commit_message": {
|
355
|
+
"type": ["null", "string"]
|
356
|
+
}
|
357
|
+
}
|
358
|
+
},
|
359
|
+
"draft": {
|
360
|
+
"type": ["null", "boolean"]
|
361
|
+
}
|
362
|
+
}
|
363
|
+
}
|