dev.gitosphere.repository.mergePullRequest
Schema Diff
+28 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 8 non-breaking changes.
Non-Breaking Changes (8)
- AddedVertex AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult" }
- AddedVertex AddedVertex { vertex_id: "dev.gitosphere.repository.mergePullRequest:output.issueCloseResults" }
- AddedVertex AddedVertex { vertex_id: "dev.gitosphere.repository.mergePullRequest:output.issueCloseResults:items" }
- AddedVertex AddedVertex { vertex_id: "dev.gitosphere.repository.mergePullRequest:output.issueCloseVersion" }
- AddedEdge AddedEdge { src: "dev.gitosphere.repository.mergePullRequest:output", tgt: "dev.gitosphere.repository.mergePullRequest:output.issueCloseResults", kind: "prop", name: Some("issueCloseResults") }
- AddedEdge AddedEdge { src: "dev.gitosphere.repository.mergePullRequest:output", tgt: "dev.gitosphere.repository.mergePullRequest:output.issueCloseVersion", kind: "prop", name: Some("issueCloseVersion") }
- AddedEdge AddedEdge { src: "dev.gitosphere.repository.mergePullRequest:output.issueCloseResults", tgt: "dev.gitosphere.repository.mergePullRequest:output.issueCloseResults:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "dev.gitosphere.repository.mergePullRequest:output.issueCloseResults:items", tgt: "dev.gitosphere.defs#pullRequestIssueCloseResult", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.gitosphere.defs#pullRequestIssueCloseResult" }AddedVertex { vertex_id: "dev.gitosphere.repository.mergePullRequest:output.issueCloseResults" }AddedVertex { vertex_id: "dev.gitosphere.repository.mergePullRequest:output.issueCloseResults:items" }AddedVertex { vertex_id: "dev.gitosphere.repository.mergePullRequest:output.issueCloseVersion" }
Additional Notes
- Non-breaking: AddedEdge { src: "dev.gitosphere.repository.mergePullRequest:output", tgt: "dev.gitosphere.repository.mergePullRequest:output.issueCloseResults", kind: "prop", name: Some("issueCloseResults") }
- Non-breaking: AddedEdge { src: "dev.gitosphere.repository.mergePullRequest:output", tgt: "dev.gitosphere.repository.mergePullRequest:output.issueCloseVersion", kind: "prop", name: Some("issueCloseVersion") }
- Non-breaking: AddedEdge { src: "dev.gitosphere.repository.mergePullRequest:output.issueCloseResults", tgt: "dev.gitosphere.repository.mergePullRequest:output.issueCloseResults:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "dev.gitosphere.repository.mergePullRequest:output.issueCloseResults:items", tgt: "dev.gitosphere.defs#pullRequestIssueCloseResult", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"errors": [
6
6
{
7
+
"description": "The operation was rejected because it exceeds a usage limit.",
8
+
"name": "QuotaExceeded"
9
+
},
10
+
{
7
11
"name": "InvalidRequest"
8
12
},
9
13
{
10
14
"name": "ValidationFailed"
11
15
},
12
16
{
13
17
"name": "AuthenticationRequired"
14
18
},
15
19
{
16
20
"name": "AccessDenied"
17
21
},
18
22
{
19
23
"name": "ResourceNotFound"
20
24
},
21
25
{
22
26
"name": "Conflict"
23
27
},
24
28
{
25
29
"name": "IdempotencyConflict"
26
30
},
27
31
{
28
32
"name": "DependencyUnavailable"
33
+
},
34
+
{
35
+
"description": "An invitation is required to use this service.",
36
+
"name": "InvitationRequired"
37
+
},
38
+
{
39
+
"description": "Service access for this DID is suspended.",
40
+
"name": "AccountSuspended"
41
+
},
42
+
{
43
+
"description": "An administrator has paused new requests for this target.",
44
+
"name": "ServicePaused"
29
45
}
30
46
],
31
47
"input": {
32
48
"encoding": "application/json",
33
49
"schema": {
34
50
"properties": {
35
51
"dryRun": {
36
52
"type": "boolean"
37
53
},
38
54
"idempotencyKey": {
39
55
"ref": "dev.gitosphere.defs#idempotencyKey",
40
56
"type": "ref"
41
57
},
42
58
"matchHeadCommit": {
43
59
"maxLength": 64,
44
60
"minLength": 40,
45
61
"type": "string"
46
62
},
47
63
"number": {
48
64
"maximum": 9007199254740991,
49
65
"minimum": 1,
50
66
"type": "integer"
51
67
},
52
68
"realmId": {
53
69
"ref": "dev.gitosphere.defs#realmId",
54
70
"type": "ref"
55
71
},
56
72
"repositoryId": {
57
73
"ref": "dev.gitosphere.defs#repositoryId",
58
74
"type": "ref"
59
75
}
60
76
},
61
77
"required": [
62
78
"realmId",
63
79
"repositoryId",
64
80
"number",
65
81
"matchHeadCommit",
66
82
"idempotencyKey"
67
83
],
68
84
"type": "object"
69
85
}
70
86
},
71
87
"output": {
72
88
"encoding": "application/json",
73
89
"schema": {
74
90
"properties": {
75
91
"baseCommit": {
76
92
"maxLength": 64,
77
93
"minLength": 40,
78
94
"type": "string"
79
95
},
80
96
"dryRun": {
81
97
"type": "boolean"
82
98
},
83
99
"headCommit": {
84
100
"maxLength": 64,
85
101
"minLength": 40,
86
102
"type": "string"
87
103
},
88
104
"idempotency": {
89
105
"ref": "dev.gitosphere.defs#idempotencyResult",
90
106
"type": "ref"
91
107
},
108
+
"issueCloseResults": {
109
+
"items": {
110
+
"ref": "dev.gitosphere.defs#pullRequestIssueCloseResult",
111
+
"type": "ref"
112
+
},
113
+
"type": "array"
114
+
},
115
+
"issueCloseVersion": {
116
+
"maximum": 1,
117
+
"minimum": 0,
118
+
"type": "integer"
119
+
},
92
120
"mergeCommit": {
93
121
"maxLength": 64,
94
122
"minLength": 40,
95
123
"type": "string"
96
124
},
97
125
"pullRequest": {
98
126
"ref": "dev.gitosphere.defs#pullRequestView",
99
127
"type": "ref"
100
128
}
101
129
},
102
130
"required": [
103
131
"pullRequest",
104
132
"baseCommit",
105
133
"headCommit",
106
134
"idempotency",
107
135
"dryRun"
108
136
],
109
137
"type": "object"
110
138
}
111
139
},
112
140
"type": "procedure"
113
141
}
114
142
},
115
143
"description": "Merges one reviewed native Pull Request through the server-authoritative Git transaction boundary.",
116
144
"id": "dev.gitosphere.repository.mergePullRequest",
117
145
"lexicon": 1
118
146
}