@itentialopensource/adapter-azure_devops 0.1.11 → 0.2.1
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.
- package/AUTH.md +11 -13
- package/CALLS.md +797 -22
- package/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +1 -160
- package/ENHANCE.md +2 -2
- package/README.md +32 -23
- package/SYSTEMINFO.md +13 -5
- package/adapter.js +162 -333
- package/adapterBase.js +549 -879
- package/changelogs/CHANGELOG.md +88 -0
- package/metadata.json +73 -0
- package/package.json +24 -25
- package/pronghorn.json +980 -641
- package/propertiesSchema.json +431 -31
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +29422 -0
- package/report/adapter-openapi.yaml +10963 -0
- package/report/adapterInfo.json +8 -8
- package/report/updateReport1691507719192.json +120 -0
- package/report/updateReport1692202716318.json +120 -0
- package/report/updateReport1694455416503.json +120 -0
- package/report/updateReport1694457083247.json +120 -0
- package/report/updateReport1694462876098.json +120 -0
- package/report/updateReport1698421291981.json +120 -0
- package/sampleProperties.json +63 -2
- package/test/integration/adapterTestBasicGet.js +2 -4
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +130 -2
- package/test/unit/adapterBaseTestUnit.js +388 -313
- package/test/unit/adapterTestUnit.js +338 -112
- package/utils/adapterInfo.js +1 -1
- package/utils/addAuth.js +1 -1
- package/utils/artifactize.js +1 -1
- package/utils/checkMigrate.js +1 -1
- package/utils/entitiesToDB.js +2 -2
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +13 -15
- package/utils/packModificationScript.js +1 -1
- package/utils/pre-commit.sh +2 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +89 -34
- package/utils/tbUtils.js +41 -21
- package/utils/testRunner.js +1 -1
- package/utils/troubleshootingAdapter.js +9 -6
- package/workflows/README.md +0 -3
package/CALLS.md
CHANGED
|
@@ -19,7 +19,7 @@ These are adapter methods that IAP or you might use. There are some other method
|
|
|
19
19
|
</tr>
|
|
20
20
|
<tr>
|
|
21
21
|
<td style="padding:15px">healthCheck(callback)</td>
|
|
22
|
-
<td style="padding:15px">This call ensures that the adapter can communicate with Microsoft Azure DevOps. The actual call that is used is defined in the adapter properties and .system entities action.json file.</td>
|
|
22
|
+
<td style="padding:15px">This call ensures that the adapter can communicate with Adapter for Microsoft Azure DevOps. The actual call that is used is defined in the adapter properties and .system entities action.json file.</td>
|
|
23
23
|
<td style="padding:15px">No</td>
|
|
24
24
|
</tr>
|
|
25
25
|
<tr>
|
|
@@ -29,7 +29,7 @@ These are adapter methods that IAP or you might use. There are some other method
|
|
|
29
29
|
</tr>
|
|
30
30
|
<tr>
|
|
31
31
|
<td style="padding:15px">encryptProperty(property, technique, callback)</td>
|
|
32
|
-
<td style="padding:15px">This call will take the provided property and technique, and return the property encrypted with the technique. This allows the property to be used in the adapterProps section for the credential password so that the password does not have to be in clear text. The adapter will decrypt the property as needed for communications with Microsoft Azure DevOps.</td>
|
|
32
|
+
<td style="padding:15px">This call will take the provided property and technique, and return the property encrypted with the technique. This allows the property to be used in the adapterProps section for the credential password so that the password does not have to be in clear text. The adapter will decrypt the property as needed for communications with Adapter for Microsoft Azure DevOps.</td>
|
|
33
33
|
<td style="padding:15px">No</td>
|
|
34
34
|
</tr>
|
|
35
35
|
<tr>
|
|
@@ -37,11 +37,6 @@ These are adapter methods that IAP or you might use. There are some other method
|
|
|
37
37
|
<td style="padding:15px">This call provides the ability to update the adapter configuration from IAP - includes actions, schema, mockdata and other configurations.</td>
|
|
38
38
|
<td style="padding:15px">Yes</td>
|
|
39
39
|
</tr>
|
|
40
|
-
<tr>
|
|
41
|
-
<td style="padding:15px">iapFindAdapterPath(apiPath, callback)</td>
|
|
42
|
-
<td style="padding:15px">This call provides the ability to see if a particular API path is supported by the adapter.</td>
|
|
43
|
-
<td style="padding:15px">Yes</td>
|
|
44
|
-
</tr>
|
|
45
40
|
<tr>
|
|
46
41
|
<td style="padding:15px">iapSuspendAdapter(mode, callback)</td>
|
|
47
42
|
<td style="padding:15px">This call provides the ability to suspend the adapter and either have requests rejected or put into a queue to be processed after the adapter is resumed.</td>
|
|
@@ -57,12 +52,16 @@ These are adapter methods that IAP or you might use. There are some other method
|
|
|
57
52
|
<td style="padding:15px">This call will return the requests that are waiting in the queue if throttling is enabled.</td>
|
|
58
53
|
<td style="padding:15px">Yes</td>
|
|
59
54
|
</tr>
|
|
55
|
+
<tr>
|
|
56
|
+
<td style="padding:15px">iapFindAdapterPath(apiPath, callback)</td>
|
|
57
|
+
<td style="padding:15px">This call provides the ability to see if a particular API path is supported by the adapter.</td>
|
|
58
|
+
<td style="padding:15px">Yes</td>
|
|
59
|
+
</tr>
|
|
60
60
|
<tr>
|
|
61
61
|
<td style="padding:15px">iapTroubleshootAdapter(props, persistFlag, adapter, callback)</td>
|
|
62
62
|
<td style="padding:15px">This call can be used to check on the performance of the adapter - it checks connectivity, healthcheck and basic get calls.</td>
|
|
63
63
|
<td style="padding:15px">Yes</td>
|
|
64
64
|
</tr>
|
|
65
|
-
|
|
66
65
|
<tr>
|
|
67
66
|
<td style="padding:15px">iapRunAdapterHealthcheck(adapter, callback)</td>
|
|
68
67
|
<td style="padding:15px">This call will return the results of a healthcheck.</td>
|
|
@@ -83,6 +82,21 @@ These are adapter methods that IAP or you might use. There are some other method
|
|
|
83
82
|
<td style="padding:15px">This call will push the adapter configuration from the entities directory into the Adapter or IAP Database.</td>
|
|
84
83
|
<td style="padding:15px">Yes</td>
|
|
85
84
|
</tr>
|
|
85
|
+
<tr>
|
|
86
|
+
<td style="padding:15px">iapDeactivateTasks(tasks, callback)</td>
|
|
87
|
+
<td style="padding:15px">This call provides the ability to remove tasks from the adapter.</td>
|
|
88
|
+
<td style="padding:15px">Yes</td>
|
|
89
|
+
</tr>
|
|
90
|
+
<tr>
|
|
91
|
+
<td style="padding:15px">iapActivateTasks(tasks, callback)</td>
|
|
92
|
+
<td style="padding:15px">This call provides the ability to add deactivated tasks back into the adapter.</td>
|
|
93
|
+
<td style="padding:15px">Yes</td>
|
|
94
|
+
</tr>
|
|
95
|
+
<tr>
|
|
96
|
+
<td style="padding:15px">iapExpandedGenericAdapterRequest(metadata, uriPath, restMethod, pathVars, queryData, requestBody, addlHeaders, callback)</td>
|
|
97
|
+
<td style="padding:15px">This is an expanded Generic Call. The metadata object allows us to provide many new capabilities within the generic request.</td>
|
|
98
|
+
<td style="padding:15px">Yes</td>
|
|
99
|
+
</tr>
|
|
86
100
|
<tr>
|
|
87
101
|
<td style="padding:15px">genericAdapterRequest(uriPath, restMethod, queryData, requestBody, addlHeaders, callback)</td>
|
|
88
102
|
<td style="padding:15px">This call allows you to provide the path to have the adapter call. It is an easy way to incorporate paths that have not been built into the adapter yet.</td>
|
|
@@ -94,19 +108,42 @@ These are adapter methods that IAP or you might use. There are some other method
|
|
|
94
108
|
<td style="padding:15px">Yes</td>
|
|
95
109
|
</tr>
|
|
96
110
|
<tr>
|
|
97
|
-
<td style="padding:15px">
|
|
98
|
-
<td style="padding:15px">
|
|
99
|
-
<td style="padding:15px">
|
|
111
|
+
<td style="padding:15px">iapRunAdapterLint(callback)</td>
|
|
112
|
+
<td style="padding:15px">Runs lint on the addapter and provides the information back.</td>
|
|
113
|
+
<td style="padding:15px">Yes</td>
|
|
100
114
|
</tr>
|
|
101
115
|
<tr>
|
|
102
|
-
<td style="padding:15px">
|
|
103
|
-
<td style="padding:15px">
|
|
104
|
-
<td style="padding:15px">
|
|
116
|
+
<td style="padding:15px">iapRunAdapterTests(callback)</td>
|
|
117
|
+
<td style="padding:15px">Runs baseunit and unit tests on the adapter and provides the information back.</td>
|
|
118
|
+
<td style="padding:15px">Yes</td>
|
|
105
119
|
</tr>
|
|
106
120
|
<tr>
|
|
107
|
-
<td style="padding:15px">
|
|
108
|
-
<td style="padding:15px">This call
|
|
109
|
-
<td style="padding:15px">
|
|
121
|
+
<td style="padding:15px">iapGetAdapterInventory(callback)</td>
|
|
122
|
+
<td style="padding:15px">This call provides some inventory related information about the adapter.</td>
|
|
123
|
+
<td style="padding:15px">Yes</td>
|
|
124
|
+
</tr>
|
|
125
|
+
</table>
|
|
126
|
+
<br>
|
|
127
|
+
|
|
128
|
+
### Adapter Cache Calls
|
|
129
|
+
|
|
130
|
+
These are adapter methods that are used for adapter caching. If configured, the adapter will cache based on the interval provided. However, you can force a population of the cache manually as well.
|
|
131
|
+
|
|
132
|
+
<table border="1" class="bordered-table">
|
|
133
|
+
<tr>
|
|
134
|
+
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Method Signature</span></th>
|
|
135
|
+
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
136
|
+
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
|
|
137
|
+
</tr>
|
|
138
|
+
<tr>
|
|
139
|
+
<td style="padding:15px">iapPopulateEntityCache(entityTypes, callback)</td>
|
|
140
|
+
<td style="padding:15px">This call populates the adapter cache.</td>
|
|
141
|
+
<td style="padding:15px">Yes</td>
|
|
142
|
+
</tr>
|
|
143
|
+
<tr>
|
|
144
|
+
<td style="padding:15px">iapRetrieveEntitiesCache(entityType, options, callback)</td>
|
|
145
|
+
<td style="padding:15px">This call retrieves the specific items from the adapter cache.</td>
|
|
146
|
+
<td style="padding:15px">Yes</td>
|
|
110
147
|
</tr>
|
|
111
148
|
</table>
|
|
112
149
|
<br>
|
|
@@ -129,27 +166,27 @@ These are adapter methods that are used to integrate to IAP Brokers. This adapte
|
|
|
129
166
|
<tr>
|
|
130
167
|
<td style="padding:15px">getDevice(deviceName, callback)</td>
|
|
131
168
|
<td style="padding:15px">This call returns the details of the requested device.</td>
|
|
132
|
-
<td style="padding:15px">
|
|
169
|
+
<td style="padding:15px">No</td>
|
|
133
170
|
</tr>
|
|
134
171
|
<tr>
|
|
135
172
|
<td style="padding:15px">getDevicesFiltered(options, callback)</td>
|
|
136
173
|
<td style="padding:15px">This call returns the list of devices that match the criteria provided in the options filter.</td>
|
|
137
|
-
<td style="padding:15px">
|
|
174
|
+
<td style="padding:15px">No</td>
|
|
138
175
|
</tr>
|
|
139
176
|
<tr>
|
|
140
177
|
<td style="padding:15px">isAlive(deviceName, callback)</td>
|
|
141
178
|
<td style="padding:15px">This call returns whether the device status is active</td>
|
|
142
|
-
<td style="padding:15px">
|
|
179
|
+
<td style="padding:15px">No</td>
|
|
143
180
|
</tr>
|
|
144
181
|
<tr>
|
|
145
182
|
<td style="padding:15px">getConfig(deviceName, format, callback)</td>
|
|
146
183
|
<td style="padding:15px">This call returns the configuration for the selected device.</td>
|
|
147
|
-
<td style="padding:15px">
|
|
184
|
+
<td style="padding:15px">No</td>
|
|
148
185
|
</tr>
|
|
149
186
|
<tr>
|
|
150
187
|
<td style="padding:15px">iapGetDeviceCount(callback)</td>
|
|
151
188
|
<td style="padding:15px">This call returns the count of devices.</td>
|
|
152
|
-
<td style="padding:15px">
|
|
189
|
+
<td style="padding:15px">No</td>
|
|
153
190
|
</tr>
|
|
154
191
|
</table>
|
|
155
192
|
<br>
|
|
@@ -165,5 +202,743 @@ Specific adapter calls are built based on the API of the Microsoft Azure DevOps.
|
|
|
165
202
|
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Path</span></th>
|
|
166
203
|
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
|
|
167
204
|
</tr>
|
|
205
|
+
<tr>
|
|
206
|
+
<td style="padding:15px">pipelinesCreate(organization, body, project, apiVersion, callback)</td>
|
|
207
|
+
<td style="padding:15px">Create a pipeline.</td>
|
|
208
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines?{query}</td>
|
|
209
|
+
<td style="padding:15px">Yes</td>
|
|
210
|
+
</tr>
|
|
211
|
+
<tr>
|
|
212
|
+
<td style="padding:15px">pipelinesList(organization, project, orderBy, top, continuationToken, apiVersion, callback)</td>
|
|
213
|
+
<td style="padding:15px">Get a list of pipelines.</td>
|
|
214
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines?{query}</td>
|
|
215
|
+
<td style="padding:15px">Yes</td>
|
|
216
|
+
</tr>
|
|
217
|
+
<tr>
|
|
218
|
+
<td style="padding:15px">pipelinesGet(organization, project, pipelineId, pipelineVersion, apiVersion, callback)</td>
|
|
219
|
+
<td style="padding:15px">Gets a pipeline, optionally at the specified version</td>
|
|
220
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines/{pathv3}?{query}</td>
|
|
221
|
+
<td style="padding:15px">Yes</td>
|
|
222
|
+
</tr>
|
|
223
|
+
<tr>
|
|
224
|
+
<td style="padding:15px">previewPreview(organization, body, project, pipelineId, pipelineVersion, apiVersion, callback)</td>
|
|
225
|
+
<td style="padding:15px">Queues a dry run of the pipeline and returns an object containing the final yaml.</td>
|
|
226
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines/{pathv3}/preview?{query}</td>
|
|
227
|
+
<td style="padding:15px">Yes</td>
|
|
228
|
+
</tr>
|
|
229
|
+
<tr>
|
|
230
|
+
<td style="padding:15px">runsList(organization, project, pipelineId, apiVersion, callback)</td>
|
|
231
|
+
<td style="padding:15px">Gets top 10000 runs for a particular pipeline.</td>
|
|
232
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines/{pathv3}/runs?{query}</td>
|
|
233
|
+
<td style="padding:15px">Yes</td>
|
|
234
|
+
</tr>
|
|
235
|
+
<tr>
|
|
236
|
+
<td style="padding:15px">runsRunPipeline(organization, body, project, pipelineId, pipelineVersion, apiVersion, callback)</td>
|
|
237
|
+
<td style="padding:15px">Runs a pipeline.</td>
|
|
238
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines/{pathv3}/runs?{query}</td>
|
|
239
|
+
<td style="padding:15px">Yes</td>
|
|
240
|
+
</tr>
|
|
241
|
+
<tr>
|
|
242
|
+
<td style="padding:15px">runsGet(organization, project, pipelineId, runId, apiVersion, callback)</td>
|
|
243
|
+
<td style="padding:15px">Gets a run for a particular pipeline.</td>
|
|
244
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines/{pathv3}/runs/{pathv4}?{query}</td>
|
|
245
|
+
<td style="padding:15px">Yes</td>
|
|
246
|
+
</tr>
|
|
247
|
+
<tr>
|
|
248
|
+
<td style="padding:15px">artifactsGet(organization, project, pipelineId, runId, artifactName, expand = 'none', apiVersion, callback)</td>
|
|
249
|
+
<td style="padding:15px">Get a specific artifact from a pipeline run</td>
|
|
250
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines/{pathv3}/runs/{pathv4}/artifacts?{query}</td>
|
|
251
|
+
<td style="padding:15px">Yes</td>
|
|
252
|
+
</tr>
|
|
253
|
+
<tr>
|
|
254
|
+
<td style="padding:15px">logsList(organization, project, pipelineId, runId, expand = 'none', apiVersion, callback)</td>
|
|
255
|
+
<td style="padding:15px">Get a list of logs from a pipeline run.</td>
|
|
256
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines/{pathv3}/runs/{pathv4}/logs?{query}</td>
|
|
257
|
+
<td style="padding:15px">Yes</td>
|
|
258
|
+
</tr>
|
|
259
|
+
<tr>
|
|
260
|
+
<td style="padding:15px">logsGet(organization, project, pipelineId, runId, logId, expand = 'none', apiVersion, callback)</td>
|
|
261
|
+
<td style="padding:15px">Get a specific log from a pipeline run</td>
|
|
262
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/pipelines/{pathv3}/runs/{pathv4}/logs/{pathv5}?{query}</td>
|
|
263
|
+
<td style="padding:15px">Yes</td>
|
|
264
|
+
</tr>
|
|
265
|
+
<tr>
|
|
266
|
+
<td style="padding:15px">repositoriesGetDeletedRepositories(organization, project, apiVersion, callback)</td>
|
|
267
|
+
<td style="padding:15px">Retrieve deleted git repositories.</td>
|
|
268
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/deletedrepositories?{query}</td>
|
|
269
|
+
<td style="padding:15px">Yes</td>
|
|
270
|
+
</tr>
|
|
271
|
+
<tr>
|
|
272
|
+
<td style="padding:15px">repositoriesGetRecycleBinRepositories(organization, project, apiVersion, callback)</td>
|
|
273
|
+
<td style="padding:15px">Retrieve soft-deleted git repositories from the recycle bin.</td>
|
|
274
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/recycleBin/repositories?{query}</td>
|
|
275
|
+
<td style="padding:15px">Yes</td>
|
|
276
|
+
</tr>
|
|
277
|
+
<tr>
|
|
278
|
+
<td style="padding:15px">repositoriesDeleteRepositoryFromRecycleBin(organization, project, repositoryId, apiVersion, callback)</td>
|
|
279
|
+
<td style="padding:15px">Destroy (hard delete) a soft-deleted Git repository.</td>
|
|
280
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/recycleBin/repositories/{pathv3}?{query}</td>
|
|
281
|
+
<td style="padding:15px">Yes</td>
|
|
282
|
+
</tr>
|
|
283
|
+
<tr>
|
|
284
|
+
<td style="padding:15px">repositoriesRestoreRepositoryFromRecycleBin(organization, body, project, repositoryId, apiVersion, callback)</td>
|
|
285
|
+
<td style="padding:15px">Recover a soft-deleted Git repository. Recently deleted repositories go into a soft-delete state fo</td>
|
|
286
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/recycleBin/repositories/{pathv3}?{query}</td>
|
|
287
|
+
<td style="padding:15px">Yes</td>
|
|
288
|
+
</tr>
|
|
289
|
+
<tr>
|
|
290
|
+
<td style="padding:15px">repositoriesCreate(organization, body, project, sourceRef, apiVersion, callback)</td>
|
|
291
|
+
<td style="padding:15px">Create a git repository in a team project.</td>
|
|
292
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories?{query}</td>
|
|
293
|
+
<td style="padding:15px">Yes</td>
|
|
294
|
+
</tr>
|
|
295
|
+
<tr>
|
|
296
|
+
<td style="padding:15px">repositoriesList(organization, project, includeLinks, includeAllUrls, includeHidden, apiVersion, callback)</td>
|
|
297
|
+
<td style="padding:15px">Retrieve git repositories.</td>
|
|
298
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories?{query}</td>
|
|
299
|
+
<td style="padding:15px">Yes</td>
|
|
300
|
+
</tr>
|
|
301
|
+
<tr>
|
|
302
|
+
<td style="padding:15px">repositoriesDelete(organization, repositoryId, project, apiVersion, callback)</td>
|
|
303
|
+
<td style="padding:15px">Delete a git repository</td>
|
|
304
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}?{query}</td>
|
|
305
|
+
<td style="padding:15px">Yes</td>
|
|
306
|
+
</tr>
|
|
307
|
+
<tr>
|
|
308
|
+
<td style="padding:15px">repositoriesGetRepository(organization, repositoryId, project, apiVersion, callback)</td>
|
|
309
|
+
<td style="padding:15px">Retrieve a git repository.</td>
|
|
310
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}?{query}</td>
|
|
311
|
+
<td style="padding:15px">Yes</td>
|
|
312
|
+
</tr>
|
|
313
|
+
<tr>
|
|
314
|
+
<td style="padding:15px">repositoriesUpdate(organization, body, repositoryId, project, apiVersion, callback)</td>
|
|
315
|
+
<td style="padding:15px">Updates the Git repository with either a new repo name or a new default branch.</td>
|
|
316
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}?{query}</td>
|
|
317
|
+
<td style="padding:15px">Yes</td>
|
|
318
|
+
</tr>
|
|
319
|
+
<tr>
|
|
320
|
+
<td style="padding:15px">refsFavoritesCreate(organization, body, project, apiVersion, callback)</td>
|
|
321
|
+
<td style="padding:15px">Creates a ref favorite</td>
|
|
322
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/favorites/refs?{query}</td>
|
|
323
|
+
<td style="padding:15px">Yes</td>
|
|
324
|
+
</tr>
|
|
325
|
+
<tr>
|
|
326
|
+
<td style="padding:15px">refsFavoritesList(organization, project, repositoryId, identityId, apiVersion, callback)</td>
|
|
327
|
+
<td style="padding:15px">Gets the refs favorites for a repo and an identity.</td>
|
|
328
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/favorites/refs?{query}</td>
|
|
329
|
+
<td style="padding:15px">Yes</td>
|
|
330
|
+
</tr>
|
|
331
|
+
<tr>
|
|
332
|
+
<td style="padding:15px">refsFavoritesDelete(organization, project, favoriteId, apiVersion, callback)</td>
|
|
333
|
+
<td style="padding:15px">Deletes the refs favorite specified</td>
|
|
334
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/favorites/refs/{pathv3}?{query}</td>
|
|
335
|
+
<td style="padding:15px">Yes</td>
|
|
336
|
+
</tr>
|
|
337
|
+
<tr>
|
|
338
|
+
<td style="padding:15px">refsFavoritesGet(organization, project, favoriteId, apiVersion, callback)</td>
|
|
339
|
+
<td style="padding:15px">Gets the refs favorite for a favorite Id.</td>
|
|
340
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/favorites/refs/{pathv3}?{query}</td>
|
|
341
|
+
<td style="padding:15px">Yes</td>
|
|
342
|
+
</tr>
|
|
343
|
+
<tr>
|
|
344
|
+
<td style="padding:15px">policyConfigurationsGet(organization, project, repositoryId, refName, policyType, top, continuationToken, apiVersion, callback)</td>
|
|
345
|
+
<td style="padding:15px">Retrieve a list of policy configurations by a given set of scope/filtering criteria.
|
|
346
|
+
|
|
347
|
+
Below is a sh</td>
|
|
348
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/policy/configurations?{query}</td>
|
|
349
|
+
<td style="padding:15px">Yes</td>
|
|
350
|
+
</tr>
|
|
351
|
+
<tr>
|
|
352
|
+
<td style="padding:15px">pullRequestsGetPullRequestsByProject(organization, project, searchCriteriaCreatorId, searchCriteriaIncludeLinks, searchCriteriaRepositoryId, searchCriteriaReviewerId, searchCriteriaSourceRefName, searchCriteriaSourceRepositoryId, searchCriteriaStatus = 'notSet', searchCriteriaTargetRefName, maxCommentLength, skip, top, apiVersion, callback)</td>
|
|
353
|
+
<td style="padding:15px">Retrieve all pull requests matching a specified criteria.
|
|
354
|
+
|
|
355
|
+
Please note that description field will</td>
|
|
356
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/pullrequests?{query}</td>
|
|
357
|
+
<td style="padding:15px">Yes</td>
|
|
358
|
+
</tr>
|
|
359
|
+
<tr>
|
|
360
|
+
<td style="padding:15px">pullRequestsGetPullRequestById(organization, pullRequestId, project, apiVersion, callback)</td>
|
|
361
|
+
<td style="padding:15px">Retrieve a pull request.</td>
|
|
362
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/pullrequests/{pathv3}?{query}</td>
|
|
363
|
+
<td style="padding:15px">Yes</td>
|
|
364
|
+
</tr>
|
|
365
|
+
<tr>
|
|
366
|
+
<td style="padding:15px">pullRequestsCreate(organization, body, repositoryId, project, supportsIterations, apiVersion, callback)</td>
|
|
367
|
+
<td style="padding:15px">Create a pull request.</td>
|
|
368
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullrequests?{query}</td>
|
|
369
|
+
<td style="padding:15px">Yes</td>
|
|
370
|
+
</tr>
|
|
371
|
+
<tr>
|
|
372
|
+
<td style="padding:15px">pullRequestsGetPullRequests(organization, repositoryId, project, searchCriteriaCreatorId, searchCriteriaIncludeLinks, searchCriteriaRepositoryId, searchCriteriaReviewerId, searchCriteriaSourceRefName, searchCriteriaSourceRepositoryId, searchCriteriaStatus = 'notSet', searchCriteriaTargetRefName, maxCommentLength, skip, top, apiVersion, callback)</td>
|
|
373
|
+
<td style="padding:15px">Retrieve all pull requests matching a specified criteria.
|
|
374
|
+
|
|
375
|
+
Please note that description field will</td>
|
|
376
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullrequests?{query}</td>
|
|
377
|
+
<td style="padding:15px">Yes</td>
|
|
378
|
+
</tr>
|
|
379
|
+
<tr>
|
|
380
|
+
<td style="padding:15px">pullRequestsGetPullRequest(organization, repositoryId, pullRequestId, project, maxCommentLength, skip, top, includeCommits, includeWorkItemRefs, apiVersion, callback)</td>
|
|
381
|
+
<td style="padding:15px">Retrieve a pull request.</td>
|
|
382
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullrequests/{pathv4}?{query}</td>
|
|
383
|
+
<td style="padding:15px">Yes</td>
|
|
384
|
+
</tr>
|
|
385
|
+
<tr>
|
|
386
|
+
<td style="padding:15px">pullRequestsUpdate(organization, body, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
387
|
+
<td style="padding:15px">Update a pull request
|
|
388
|
+
|
|
389
|
+
These are the properties that can be updated with the API:
|
|
390
|
+
- Status
|
|
391
|
+
- Titl</td>
|
|
392
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullrequests/{pathv4}?{query}</td>
|
|
393
|
+
<td style="padding:15px">Yes</td>
|
|
394
|
+
</tr>
|
|
395
|
+
<tr>
|
|
396
|
+
<td style="padding:15px">annotatedTagsCreate(organization, body, project, repositoryId, apiVersion, callback)</td>
|
|
397
|
+
<td style="padding:15px">Create an annotated tag.
|
|
398
|
+
|
|
399
|
+
Repositories have both a name and an identifier. Identifiers are globally</td>
|
|
400
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/annotatedtags?{query}</td>
|
|
401
|
+
<td style="padding:15px">Yes</td>
|
|
402
|
+
</tr>
|
|
403
|
+
<tr>
|
|
404
|
+
<td style="padding:15px">annotatedTagsGet(organization, project, repositoryId, objectId, apiVersion, callback)</td>
|
|
405
|
+
<td style="padding:15px">Get an annotated tag.
|
|
406
|
+
|
|
407
|
+
Repositories have both a name and an identifier. Identifiers are globally un</td>
|
|
408
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/annotatedtags/{pathv4}?{query}</td>
|
|
409
|
+
<td style="padding:15px">Yes</td>
|
|
410
|
+
</tr>
|
|
411
|
+
<tr>
|
|
412
|
+
<td style="padding:15px">blobsGetBlobsZip(organization, body, repositoryId, project, filename, apiVersion, callback)</td>
|
|
413
|
+
<td style="padding:15px">Gets one or more blobs in a zip file download.</td>
|
|
414
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/blobs?{query}</td>
|
|
415
|
+
<td style="padding:15px">Yes</td>
|
|
416
|
+
</tr>
|
|
417
|
+
<tr>
|
|
418
|
+
<td style="padding:15px">blobsGetBlob(organization, repositoryId, sha1, project, download, fileName, format, resolveLfs, apiVersion, callback)</td>
|
|
419
|
+
<td style="padding:15px">Get a single blob.
|
|
420
|
+
|
|
421
|
+
Repositories have both a name and an identifier. Identifiers are globally uniqu</td>
|
|
422
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/blobs/{pathv4}?{query}</td>
|
|
423
|
+
<td style="padding:15px">Yes</td>
|
|
424
|
+
</tr>
|
|
425
|
+
<tr>
|
|
426
|
+
<td style="padding:15px">cherryPicksCreate(organization, body, project, repositoryId, apiVersion, callback)</td>
|
|
427
|
+
<td style="padding:15px">Cherry pick a specific commit or commits that are associated to a pull request into a new branch.</td>
|
|
428
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/cherryPicks?{query}</td>
|
|
429
|
+
<td style="padding:15px">Yes</td>
|
|
430
|
+
</tr>
|
|
431
|
+
<tr>
|
|
432
|
+
<td style="padding:15px">cherryPicksGetCherryPickForRefName(organization, project, repositoryId, refName, apiVersion, callback)</td>
|
|
433
|
+
<td style="padding:15px">Retrieve information about a cherry pick operation for a specific branch. This operation is expensi</td>
|
|
434
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/cherryPicks?{query}</td>
|
|
435
|
+
<td style="padding:15px">Yes</td>
|
|
436
|
+
</tr>
|
|
437
|
+
<tr>
|
|
438
|
+
<td style="padding:15px">cherryPicksGetCherryPick(organization, project, cherryPickId, repositoryId, apiVersion, callback)</td>
|
|
439
|
+
<td style="padding:15px">Retrieve information about a cherry pick operation by cherry pick Id.</td>
|
|
440
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/cherryPicks/{pathv4}?{query}</td>
|
|
441
|
+
<td style="padding:15px">Yes</td>
|
|
442
|
+
</tr>
|
|
443
|
+
<tr>
|
|
444
|
+
<td style="padding:15px">commitsGetPushCommits(organization, repositoryId, pushId, project, top, skip, includeLinks, apiVersion, callback)</td>
|
|
445
|
+
<td style="padding:15px">Retrieve a list of commits associated with a particular push.</td>
|
|
446
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/commits?{query}</td>
|
|
447
|
+
<td style="padding:15px">Yes</td>
|
|
448
|
+
</tr>
|
|
449
|
+
<tr>
|
|
450
|
+
<td style="padding:15px">commitsGet(organization, commitId, repositoryId, project, changeCount, apiVersion, callback)</td>
|
|
451
|
+
<td style="padding:15px">Retrieve a particular commit.</td>
|
|
452
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/commits/{pathv4}?{query}</td>
|
|
453
|
+
<td style="padding:15px">Yes</td>
|
|
454
|
+
</tr>
|
|
455
|
+
<tr>
|
|
456
|
+
<td style="padding:15px">commitsGetChanges(organization, commitId, repositoryId, project, top, skip, apiVersion, callback)</td>
|
|
457
|
+
<td style="padding:15px">Retrieve changes for a particular commit.</td>
|
|
458
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/commits/{pathv4}/changes?{query}</td>
|
|
459
|
+
<td style="padding:15px">Yes</td>
|
|
460
|
+
</tr>
|
|
461
|
+
<tr>
|
|
462
|
+
<td style="padding:15px">commitsGetCommits(organization, repositoryId, project, skip, top, searchCriteriaAuthor, searchCriteriaCompareVersionVersion, searchCriteriaCompareVersionVersionOptions, searchCriteriaCompareVersionVersionType, searchCriteriaExcludeDeletes, searchCriteriaFromCommitId, searchCriteriaFromDate, searchCriteriaHistoryMode, searchCriteriaIds, searchCriteriaIncludeLinks, searchCriteriaIncludePushData, searchCriteriaIncludeUserImageUrl, searchCriteriaIncludeWorkItems, searchCriteriaItemPath, searchCriteriaItemVersionVersion, searchCriteriaItemVersionVersionOptions, searchCriteriaItemVersionVersionType, searchCriteriaShowOldestCommitsFirst, searchCriteriaToCommitId, searchCriteriaToDate, searchCriteriaUser, apiVersion, callback)</td>
|
|
463
|
+
<td style="padding:15px">Retrieve git commits for a project.</td>
|
|
464
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/commits?{query}</td>
|
|
465
|
+
<td style="padding:15px">Yes</td>
|
|
466
|
+
</tr>
|
|
467
|
+
<tr>
|
|
468
|
+
<td style="padding:15px">commitsGetCommitsBatch(organization, body, repositoryId, project, skip, top, includeStatuses, apiVersion, callback)</td>
|
|
469
|
+
<td style="padding:15px">Retrieve git commits for a project matching the search criteria</td>
|
|
470
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/commitsbatch?{query}</td>
|
|
471
|
+
<td style="padding:15px">Yes</td>
|
|
472
|
+
</tr>
|
|
473
|
+
<tr>
|
|
474
|
+
<td style="padding:15px">statusesCreate(organization, body, commitId, repositoryId, project, apiVersion, callback)</td>
|
|
475
|
+
<td style="padding:15px">Create Git commit status.</td>
|
|
476
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/commits/{pathv4}/statuses?{query}</td>
|
|
477
|
+
<td style="padding:15px">Yes</td>
|
|
478
|
+
</tr>
|
|
479
|
+
<tr>
|
|
480
|
+
<td style="padding:15px">statusesList(organization, commitId, repositoryId, project, top, skip, latestOnly, apiVersion, callback)</td>
|
|
481
|
+
<td style="padding:15px">Get statuses associated with the Git commit.</td>
|
|
482
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/commits/{pathv4}/statuses?{query}</td>
|
|
483
|
+
<td style="padding:15px">Yes</td>
|
|
484
|
+
</tr>
|
|
485
|
+
<tr>
|
|
486
|
+
<td style="padding:15px">diffsGet(organization, repositoryId, project, diffCommonCommit, top, skip, baseVersion, baseVersionOptions = 'none', baseVersionType = 'branch', targetVersion, targetVersionOptions = 'none', targetVersionType = 'branch', apiVersion, callback)</td>
|
|
487
|
+
<td style="padding:15px">Find the closest common commit (the merge base) between base and target commits, and get the diff b</td>
|
|
488
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/diffs/commits?{query}</td>
|
|
489
|
+
<td style="padding:15px">Yes</td>
|
|
490
|
+
</tr>
|
|
491
|
+
<tr>
|
|
492
|
+
<td style="padding:15px">importRequestsCreate(organization, body, project, repositoryId, apiVersion, callback)</td>
|
|
493
|
+
<td style="padding:15px">Create an import request.</td>
|
|
494
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/importRequests?{query}</td>
|
|
495
|
+
<td style="padding:15px">Yes</td>
|
|
496
|
+
</tr>
|
|
497
|
+
<tr>
|
|
498
|
+
<td style="padding:15px">importRequestsQuery(organization, project, repositoryId, includeAbandoned, apiVersion, callback)</td>
|
|
499
|
+
<td style="padding:15px">Retrieve import requests for a repository.</td>
|
|
500
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/importRequests?{query}</td>
|
|
501
|
+
<td style="padding:15px">Yes</td>
|
|
502
|
+
</tr>
|
|
503
|
+
<tr>
|
|
504
|
+
<td style="padding:15px">importRequestsGet(organization, project, repositoryId, importRequestId, apiVersion, callback)</td>
|
|
505
|
+
<td style="padding:15px">Retrieve a particular import request.</td>
|
|
506
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/importRequests/{pathv4}?{query}</td>
|
|
507
|
+
<td style="padding:15px">Yes</td>
|
|
508
|
+
</tr>
|
|
509
|
+
<tr>
|
|
510
|
+
<td style="padding:15px">importRequestsUpdate(organization, body, project, repositoryId, importRequestId, apiVersion, callback)</td>
|
|
511
|
+
<td style="padding:15px">Retry or abandon a failed import request.
|
|
512
|
+
|
|
513
|
+
There can only be one active import request associated w</td>
|
|
514
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/importRequests/{pathv4}?{query}</td>
|
|
515
|
+
<td style="padding:15px">Yes</td>
|
|
516
|
+
</tr>
|
|
517
|
+
<tr>
|
|
518
|
+
<td style="padding:15px">itemsList(organization, repositoryId, project, itemPath, scopePath, recursionLevel = 'none', includeContentMetadata, latestProcessedChange, download, includeLinks, includeContent, resolveLfs, format, versionDescriptorVersion, versionDescriptorVersionOptions = 'none', versionDescriptorVersionType = 'branch', apiVersion, callback)</td>
|
|
519
|
+
<td style="padding:15px">Get Item Metadata and/or Content for a collection of items. The download parameter is to indicate w</td>
|
|
520
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/items?{query}</td>
|
|
521
|
+
<td style="padding:15px">Yes</td>
|
|
522
|
+
</tr>
|
|
523
|
+
<tr>
|
|
524
|
+
<td style="padding:15px">itemsGetItemsBatch(organization, body, repositoryId, project, apiVersion, callback)</td>
|
|
525
|
+
<td style="padding:15px">Post for retrieving a creating a batch out of a set of items in a repo / project given a list of pa</td>
|
|
526
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/itemsbatch?{query}</td>
|
|
527
|
+
<td style="padding:15px">Yes</td>
|
|
528
|
+
</tr>
|
|
529
|
+
<tr>
|
|
530
|
+
<td style="padding:15px">pullRequestQueryGet(organization, body, repositoryId, project, apiVersion, callback)</td>
|
|
531
|
+
<td style="padding:15px">This API is used to find what pull requests are related to a given commit. It can be used to eithe</td>
|
|
532
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullrequestquery?{query}</td>
|
|
533
|
+
<td style="padding:15px">Yes</td>
|
|
534
|
+
</tr>
|
|
535
|
+
<tr>
|
|
536
|
+
<td style="padding:15px">pullRequestAttachmentsList(organization, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
537
|
+
<td style="padding:15px">Get a list of files attached to a given pull request.</td>
|
|
538
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/attachments?{query}</td>
|
|
539
|
+
<td style="padding:15px">Yes</td>
|
|
540
|
+
</tr>
|
|
541
|
+
<tr>
|
|
542
|
+
<td style="padding:15px">pullRequestAttachmentsCreate(organization, body, fileName, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
543
|
+
<td style="padding:15px">Attach a new file to a pull request.</td>
|
|
544
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/attachments/{pathv5}?{query}</td>
|
|
545
|
+
<td style="padding:15px">Yes</td>
|
|
546
|
+
</tr>
|
|
547
|
+
<tr>
|
|
548
|
+
<td style="padding:15px">pullRequestAttachmentsDelete(organization, fileName, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
549
|
+
<td style="padding:15px">Delete a pull request attachment.</td>
|
|
550
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/attachments/{pathv5}?{query}</td>
|
|
551
|
+
<td style="padding:15px">Yes</td>
|
|
552
|
+
</tr>
|
|
553
|
+
<tr>
|
|
554
|
+
<td style="padding:15px">pullRequestAttachmentsGet(organization, fileName, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
555
|
+
<td style="padding:15px">Get the file content of a pull request attachment.</td>
|
|
556
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/attachments/{pathv5}?{query}</td>
|
|
557
|
+
<td style="padding:15px">Yes</td>
|
|
558
|
+
</tr>
|
|
559
|
+
<tr>
|
|
560
|
+
<td style="padding:15px">pullRequestCommitsGetPullRequestCommits(organization, repositoryId, pullRequestId, project, top, continuationToken, apiVersion, callback)</td>
|
|
561
|
+
<td style="padding:15px">Get the commits for the specified pull request.</td>
|
|
562
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/commits?{query}</td>
|
|
563
|
+
<td style="padding:15px">Yes</td>
|
|
564
|
+
</tr>
|
|
565
|
+
<tr>
|
|
566
|
+
<td style="padding:15px">pullRequestCommitsGetPullRequestIterationCommits(organization, repositoryId, pullRequestId, iterationId, project, top, skip, apiVersion, callback)</td>
|
|
567
|
+
<td style="padding:15px">Get the commits for the specified iteration of a pull request.</td>
|
|
568
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/iterations/{pathv5}/commits?{query}</td>
|
|
569
|
+
<td style="padding:15px">Yes</td>
|
|
570
|
+
</tr>
|
|
571
|
+
<tr>
|
|
572
|
+
<td style="padding:15px">pullRequestIterationsList(organization, repositoryId, pullRequestId, project, includeCommits, apiVersion, callback)</td>
|
|
573
|
+
<td style="padding:15px">Get the list of iterations for the specified pull request.</td>
|
|
574
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/iterations?{query}</td>
|
|
575
|
+
<td style="padding:15px">Yes</td>
|
|
576
|
+
</tr>
|
|
577
|
+
<tr>
|
|
578
|
+
<td style="padding:15px">pullRequestIterationsGet(organization, repositoryId, pullRequestId, iterationId, project, apiVersion, callback)</td>
|
|
579
|
+
<td style="padding:15px">Get the specified iteration for a pull request.</td>
|
|
580
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/iterations/{pathv5}?{query}</td>
|
|
581
|
+
<td style="padding:15px">Yes</td>
|
|
582
|
+
</tr>
|
|
583
|
+
<tr>
|
|
584
|
+
<td style="padding:15px">pullRequestIterationChangesGet(organization, repositoryId, pullRequestId, iterationId, project, top, skip, compareTo, apiVersion, callback)</td>
|
|
585
|
+
<td style="padding:15px">Retrieve the changes made in a pull request between two iterations.</td>
|
|
586
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/iterations/{pathv5}/changes?{query}</td>
|
|
587
|
+
<td style="padding:15px">Yes</td>
|
|
588
|
+
</tr>
|
|
589
|
+
<tr>
|
|
590
|
+
<td style="padding:15px">pullRequestIterationStatusesCreate(organization, body, repositoryId, pullRequestId, iterationId, project, apiVersion, callback)</td>
|
|
591
|
+
<td style="padding:15px">Create a pull request status on the iteration. This operation will have the same result as Create s</td>
|
|
592
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/iterations/{pathv5}/statuses?{query}</td>
|
|
593
|
+
<td style="padding:15px">Yes</td>
|
|
594
|
+
</tr>
|
|
595
|
+
<tr>
|
|
596
|
+
<td style="padding:15px">pullRequestIterationStatusesList(organization, repositoryId, pullRequestId, iterationId, project, apiVersion, callback)</td>
|
|
597
|
+
<td style="padding:15px">Get all the statuses associated with a pull request iteration.</td>
|
|
598
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/iterations/{pathv5}/statuses?{query}</td>
|
|
599
|
+
<td style="padding:15px">Yes</td>
|
|
600
|
+
</tr>
|
|
601
|
+
<tr>
|
|
602
|
+
<td style="padding:15px">pullRequestIterationStatusesUpdate(organization, body, repositoryId, pullRequestId, iterationId, project, apiVersion, callback)</td>
|
|
603
|
+
<td style="padding:15px">Update pull request iteration statuses collection. The only supported operation type is `remove`.
|
|
604
|
+
|
|
605
|
+
</td>
|
|
606
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/iterations/{pathv5}/statuses?{query}</td>
|
|
607
|
+
<td style="padding:15px">Yes</td>
|
|
608
|
+
</tr>
|
|
609
|
+
<tr>
|
|
610
|
+
<td style="padding:15px">pullRequestIterationStatusesDelete(organization, repositoryId, pullRequestId, iterationId, statusId, project, apiVersion, callback)</td>
|
|
611
|
+
<td style="padding:15px">Delete pull request iteration status.
|
|
612
|
+
|
|
613
|
+
You can remove multiple statuses in one call by using Update</td>
|
|
614
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/iterations/{pathv5}/statuses/{pathv6}?{query}</td>
|
|
615
|
+
<td style="padding:15px">Yes</td>
|
|
616
|
+
</tr>
|
|
617
|
+
<tr>
|
|
618
|
+
<td style="padding:15px">pullRequestIterationStatusesGet(organization, repositoryId, pullRequestId, iterationId, statusId, project, apiVersion, callback)</td>
|
|
619
|
+
<td style="padding:15px">Get the specific pull request iteration status by ID. The status ID is unique within the pull reque</td>
|
|
620
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/iterations/{pathv5}/statuses/{pathv6}?{query}</td>
|
|
621
|
+
<td style="padding:15px">Yes</td>
|
|
622
|
+
</tr>
|
|
623
|
+
<tr>
|
|
624
|
+
<td style="padding:15px">pullRequestLabelsCreate(organization, body, repositoryId, pullRequestId, project, projectId, apiVersion, callback)</td>
|
|
625
|
+
<td style="padding:15px">Create a label for a specified pull request. The only required field is the name of the new label.</td>
|
|
626
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/labels?{query}</td>
|
|
627
|
+
<td style="padding:15px">Yes</td>
|
|
628
|
+
</tr>
|
|
629
|
+
<tr>
|
|
630
|
+
<td style="padding:15px">pullRequestLabelsList(organization, repositoryId, pullRequestId, project, projectId, apiVersion, callback)</td>
|
|
631
|
+
<td style="padding:15px">Get all the labels assigned to a pull request.</td>
|
|
632
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/labels?{query}</td>
|
|
633
|
+
<td style="padding:15px">Yes</td>
|
|
634
|
+
</tr>
|
|
635
|
+
<tr>
|
|
636
|
+
<td style="padding:15px">pullRequestLabelsDelete(organization, repositoryId, pullRequestId, labelIdOrName, project, projectId, apiVersion, callback)</td>
|
|
637
|
+
<td style="padding:15px">Removes a label from the set of those assigned to the pull request.</td>
|
|
638
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/labels/{pathv5}?{query}</td>
|
|
639
|
+
<td style="padding:15px">Yes</td>
|
|
640
|
+
</tr>
|
|
641
|
+
<tr>
|
|
642
|
+
<td style="padding:15px">pullRequestLabelsGet(organization, repositoryId, pullRequestId, labelIdOrName, project, projectId, apiVersion, callback)</td>
|
|
643
|
+
<td style="padding:15px">Retrieves a single label that has been assigned to a pull request.</td>
|
|
644
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/labels/{pathv5}?{query}</td>
|
|
645
|
+
<td style="padding:15px">Yes</td>
|
|
646
|
+
</tr>
|
|
647
|
+
<tr>
|
|
648
|
+
<td style="padding:15px">pullRequestPropertiesList(organization, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
649
|
+
<td style="padding:15px">Get external properties of the pull request.</td>
|
|
650
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/properties?{query}</td>
|
|
651
|
+
<td style="padding:15px">Yes</td>
|
|
652
|
+
</tr>
|
|
653
|
+
<tr>
|
|
654
|
+
<td style="padding:15px">pullRequestPropertiesUpdate(organization, body, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
655
|
+
<td style="padding:15px">Create or update pull request external properties. The patch operation can be `add`, `replace` or `</td>
|
|
656
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/properties?{query}</td>
|
|
657
|
+
<td style="padding:15px">Yes</td>
|
|
658
|
+
</tr>
|
|
659
|
+
<tr>
|
|
660
|
+
<td style="padding:15px">pullRequestReviewersCreatePullRequestReviewers(organization, body, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
661
|
+
<td style="padding:15px">Add reviewers to a pull request.</td>
|
|
662
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/reviewers?{query}</td>
|
|
663
|
+
<td style="padding:15px">Yes</td>
|
|
664
|
+
</tr>
|
|
665
|
+
<tr>
|
|
666
|
+
<td style="padding:15px">pullRequestReviewersCreateUnmaterializedPullRequestReviewer(organization, body, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
667
|
+
<td style="padding:15px">Add an unmaterialized identity to the reviewers of a pull request.</td>
|
|
668
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/reviewers?{query}</td>
|
|
669
|
+
<td style="padding:15px">Yes</td>
|
|
670
|
+
</tr>
|
|
671
|
+
<tr>
|
|
672
|
+
<td style="padding:15px">pullRequestReviewersList(organization, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
673
|
+
<td style="padding:15px">Retrieve the reviewers for a pull request</td>
|
|
674
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/reviewers?{query}</td>
|
|
675
|
+
<td style="padding:15px">Yes</td>
|
|
676
|
+
</tr>
|
|
677
|
+
<tr>
|
|
678
|
+
<td style="padding:15px">pullRequestReviewersUpdatePullRequestReviewers(organization, body, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
679
|
+
<td style="padding:15px">Reset the votes of multiple reviewers on a pull request. NOTE: This endpoint only supports updatin</td>
|
|
680
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/reviewers?{query}</td>
|
|
681
|
+
<td style="padding:15px">Yes</td>
|
|
682
|
+
</tr>
|
|
683
|
+
<tr>
|
|
684
|
+
<td style="padding:15px">pullRequestReviewersCreatePullRequestReviewer(organization, body, repositoryId, pullRequestId, reviewerId, project, apiVersion, callback)</td>
|
|
685
|
+
<td style="padding:15px">Add a reviewer to a pull request or cast a vote.</td>
|
|
686
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/reviewers/{pathv5}?{query}</td>
|
|
687
|
+
<td style="padding:15px">Yes</td>
|
|
688
|
+
</tr>
|
|
689
|
+
<tr>
|
|
690
|
+
<td style="padding:15px">pullRequestReviewersDelete(organization, repositoryId, pullRequestId, reviewerId, project, apiVersion, callback)</td>
|
|
691
|
+
<td style="padding:15px">Remove a reviewer from a pull request.</td>
|
|
692
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/reviewers/{pathv5}?{query}</td>
|
|
693
|
+
<td style="padding:15px">Yes</td>
|
|
694
|
+
</tr>
|
|
695
|
+
<tr>
|
|
696
|
+
<td style="padding:15px">pullRequestReviewersGet(organization, repositoryId, pullRequestId, reviewerId, project, apiVersion, callback)</td>
|
|
697
|
+
<td style="padding:15px">Retrieve information about a particular reviewer on a pull request</td>
|
|
698
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/reviewers/{pathv5}?{query}</td>
|
|
699
|
+
<td style="padding:15px">Yes</td>
|
|
700
|
+
</tr>
|
|
701
|
+
<tr>
|
|
702
|
+
<td style="padding:15px">pullRequestReviewersUpdatePullRequestReviewer(organization, body, repositoryId, pullRequestId, reviewerId, project, apiVersion, callback)</td>
|
|
703
|
+
<td style="padding:15px">Edit a reviewer entry. These fields are patchable: isFlagged, hasDeclined</td>
|
|
704
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/reviewers/{pathv5}?{query}</td>
|
|
705
|
+
<td style="padding:15px">Yes</td>
|
|
706
|
+
</tr>
|
|
707
|
+
<tr>
|
|
708
|
+
<td style="padding:15px">pullRequestShareSharePullRequest(organization, body, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
709
|
+
<td style="padding:15px">Sends an e-mail notification about a specific pull request to a set of recipients</td>
|
|
710
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/share?{query}</td>
|
|
711
|
+
<td style="padding:15px">Yes</td>
|
|
712
|
+
</tr>
|
|
713
|
+
<tr>
|
|
714
|
+
<td style="padding:15px">pullRequestStatusesCreate(organization, body, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
715
|
+
<td style="padding:15px">Create a pull request status.
|
|
716
|
+
|
|
717
|
+
The only required field for the status is `Context.Name` that unique</td>
|
|
718
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/statuses?{query}</td>
|
|
719
|
+
<td style="padding:15px">Yes</td>
|
|
720
|
+
</tr>
|
|
721
|
+
<tr>
|
|
722
|
+
<td style="padding:15px">pullRequestStatusesList(organization, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
723
|
+
<td style="padding:15px">Get all the statuses associated with a pull request.</td>
|
|
724
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/statuses?{query}</td>
|
|
725
|
+
<td style="padding:15px">Yes</td>
|
|
726
|
+
</tr>
|
|
727
|
+
<tr>
|
|
728
|
+
<td style="padding:15px">pullRequestStatusesUpdate(organization, body, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
729
|
+
<td style="padding:15px">Update pull request statuses collection. The only supported operation type is `remove`.
|
|
730
|
+
|
|
731
|
+
This opera</td>
|
|
732
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/statuses?{query}</td>
|
|
733
|
+
<td style="padding:15px">Yes</td>
|
|
734
|
+
</tr>
|
|
735
|
+
<tr>
|
|
736
|
+
<td style="padding:15px">pullRequestStatusesDelete(organization, repositoryId, pullRequestId, statusId, project, apiVersion, callback)</td>
|
|
737
|
+
<td style="padding:15px">Delete pull request status.
|
|
738
|
+
|
|
739
|
+
You can remove multiple statuses in one call by using Update operation.</td>
|
|
740
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/statuses/{pathv5}?{query}</td>
|
|
741
|
+
<td style="padding:15px">Yes</td>
|
|
742
|
+
</tr>
|
|
743
|
+
<tr>
|
|
744
|
+
<td style="padding:15px">pullRequestStatusesGet(organization, repositoryId, pullRequestId, statusId, project, apiVersion, callback)</td>
|
|
745
|
+
<td style="padding:15px">Get the specific pull request status by ID. The status ID is unique within the pull request across</td>
|
|
746
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/statuses/{pathv5}?{query}</td>
|
|
747
|
+
<td style="padding:15px">Yes</td>
|
|
748
|
+
</tr>
|
|
749
|
+
<tr>
|
|
750
|
+
<td style="padding:15px">pullRequestThreadsCreate(organization, body, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
751
|
+
<td style="padding:15px">Create a thread in a pull request.</td>
|
|
752
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/threads?{query}</td>
|
|
753
|
+
<td style="padding:15px">Yes</td>
|
|
754
|
+
</tr>
|
|
755
|
+
<tr>
|
|
756
|
+
<td style="padding:15px">pullRequestThreadsList(organization, repositoryId, pullRequestId, project, iteration, baseIteration, apiVersion, callback)</td>
|
|
757
|
+
<td style="padding:15px">Retrieve all threads in a pull request.</td>
|
|
758
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/threads?{query}</td>
|
|
759
|
+
<td style="padding:15px">Yes</td>
|
|
760
|
+
</tr>
|
|
761
|
+
<tr>
|
|
762
|
+
<td style="padding:15px">pullRequestThreadsGet(organization, repositoryId, pullRequestId, threadId, project, iteration, baseIteration, apiVersion, callback)</td>
|
|
763
|
+
<td style="padding:15px">Retrieve a thread in a pull request.</td>
|
|
764
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/threads/{pathv5}?{query}</td>
|
|
765
|
+
<td style="padding:15px">Yes</td>
|
|
766
|
+
</tr>
|
|
767
|
+
<tr>
|
|
768
|
+
<td style="padding:15px">pullRequestThreadsUpdate(organization, body, repositoryId, pullRequestId, threadId, project, apiVersion, callback)</td>
|
|
769
|
+
<td style="padding:15px">Update a thread in a pull request.</td>
|
|
770
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/threads/{pathv5}?{query}</td>
|
|
771
|
+
<td style="padding:15px">Yes</td>
|
|
772
|
+
</tr>
|
|
773
|
+
<tr>
|
|
774
|
+
<td style="padding:15px">pullRequestThreadCommentsCreate(organization, body, repositoryId, pullRequestId, threadId, project, apiVersion, callback)</td>
|
|
775
|
+
<td style="padding:15px">Create a comment on a specific thread in a pull request (up to 500 comments can be created per thre</td>
|
|
776
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/threads/{pathv5}/comments?{query}</td>
|
|
777
|
+
<td style="padding:15px">Yes</td>
|
|
778
|
+
</tr>
|
|
779
|
+
<tr>
|
|
780
|
+
<td style="padding:15px">pullRequestThreadCommentsList(organization, repositoryId, pullRequestId, threadId, project, apiVersion, callback)</td>
|
|
781
|
+
<td style="padding:15px">Retrieve all comments associated with a specific thread in a pull request.</td>
|
|
782
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/threads/{pathv5}/comments?{query}</td>
|
|
783
|
+
<td style="padding:15px">Yes</td>
|
|
784
|
+
</tr>
|
|
785
|
+
<tr>
|
|
786
|
+
<td style="padding:15px">pullRequestThreadCommentsDelete(organization, repositoryId, pullRequestId, threadId, commentId, project, apiVersion, callback)</td>
|
|
787
|
+
<td style="padding:15px">Delete a comment associated with a specific thread in a pull request.</td>
|
|
788
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/threads/{pathv5}/comments/{pathv6}?{query}</td>
|
|
789
|
+
<td style="padding:15px">Yes</td>
|
|
790
|
+
</tr>
|
|
791
|
+
<tr>
|
|
792
|
+
<td style="padding:15px">pullRequestThreadCommentsGet(organization, repositoryId, pullRequestId, threadId, commentId, project, apiVersion, callback)</td>
|
|
793
|
+
<td style="padding:15px">Retrieve a comment associated with a specific thread in a pull request.</td>
|
|
794
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/threads/{pathv5}/comments/{pathv6}?{query}</td>
|
|
795
|
+
<td style="padding:15px">Yes</td>
|
|
796
|
+
</tr>
|
|
797
|
+
<tr>
|
|
798
|
+
<td style="padding:15px">pullRequestThreadCommentsUpdate(organization, body, repositoryId, pullRequestId, threadId, commentId, project, apiVersion, callback)</td>
|
|
799
|
+
<td style="padding:15px">Update a comment associated with a specific thread in a pull request.</td>
|
|
800
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/threads/{pathv5}/comments/{pathv6}?{query}</td>
|
|
801
|
+
<td style="padding:15px">Yes</td>
|
|
802
|
+
</tr>
|
|
803
|
+
<tr>
|
|
804
|
+
<td style="padding:15px">pullRequestCommentLikesCreate(organization, repositoryId, pullRequestId, threadId, commentId, project, apiVersion, callback)</td>
|
|
805
|
+
<td style="padding:15px">Add a like on a comment.</td>
|
|
806
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/threads/{pathv5}/comments/{pathv6}/likes?{query}</td>
|
|
807
|
+
<td style="padding:15px">Yes</td>
|
|
808
|
+
</tr>
|
|
809
|
+
<tr>
|
|
810
|
+
<td style="padding:15px">pullRequestCommentLikesDelete(organization, repositoryId, pullRequestId, threadId, commentId, project, apiVersion, callback)</td>
|
|
811
|
+
<td style="padding:15px">Delete a like on a comment.</td>
|
|
812
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/threads/{pathv5}/comments/{pathv6}/likes?{query}</td>
|
|
813
|
+
<td style="padding:15px">Yes</td>
|
|
814
|
+
</tr>
|
|
815
|
+
<tr>
|
|
816
|
+
<td style="padding:15px">pullRequestCommentLikesList(organization, repositoryId, pullRequestId, threadId, commentId, project, apiVersion, callback)</td>
|
|
817
|
+
<td style="padding:15px">Get likes for a comment.</td>
|
|
818
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/threads/{pathv5}/comments/{pathv6}/likes?{query}</td>
|
|
819
|
+
<td style="padding:15px">Yes</td>
|
|
820
|
+
</tr>
|
|
821
|
+
<tr>
|
|
822
|
+
<td style="padding:15px">pullRequestWorkItemsList(organization, repositoryId, pullRequestId, project, apiVersion, callback)</td>
|
|
823
|
+
<td style="padding:15px">Retrieve a list of work items associated with a pull request.</td>
|
|
824
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pullRequests/{pathv4}/workitems?{query}</td>
|
|
825
|
+
<td style="padding:15px">Yes</td>
|
|
826
|
+
</tr>
|
|
827
|
+
<tr>
|
|
828
|
+
<td style="padding:15px">pushesCreate(organization, body, repositoryId, project, apiVersion, callback)</td>
|
|
829
|
+
<td style="padding:15px">Push changes to the repository.</td>
|
|
830
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pushes?{query}</td>
|
|
831
|
+
<td style="padding:15px">Yes</td>
|
|
832
|
+
</tr>
|
|
833
|
+
<tr>
|
|
834
|
+
<td style="padding:15px">pushesList(organization, repositoryId, project, skip, top, searchCriteriaFromDate, searchCriteriaIncludeLinks, searchCriteriaIncludeRefUpdates, searchCriteriaPusherId, searchCriteriaRefName, searchCriteriaToDate, apiVersion, callback)</td>
|
|
835
|
+
<td style="padding:15px">Retrieves pushes associated with the specified repository.</td>
|
|
836
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pushes?{query}</td>
|
|
837
|
+
<td style="padding:15px">Yes</td>
|
|
838
|
+
</tr>
|
|
839
|
+
<tr>
|
|
840
|
+
<td style="padding:15px">pushesGet(organization, repositoryId, pushId, project, includeCommits, includeRefUpdates, apiVersion, callback)</td>
|
|
841
|
+
<td style="padding:15px">Retrieves a particular push.</td>
|
|
842
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/pushes/{pathv4}?{query}</td>
|
|
843
|
+
<td style="padding:15px">Yes</td>
|
|
844
|
+
</tr>
|
|
845
|
+
<tr>
|
|
846
|
+
<td style="padding:15px">refsList(organization, repositoryId, project, filter, includeLinks, includeStatuses, includeMyBranches, latestStatusesOnly, peelTags, filterContains, top, continuationToken, apiVersion, callback)</td>
|
|
847
|
+
<td style="padding:15px">Queries the provided repository for its refs and returns them.</td>
|
|
848
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/refs?{query}</td>
|
|
849
|
+
<td style="padding:15px">Yes</td>
|
|
850
|
+
</tr>
|
|
851
|
+
<tr>
|
|
852
|
+
<td style="padding:15px">refsUpdateRef(organization, body, repositoryId, filter, project, projectId, apiVersion, callback)</td>
|
|
853
|
+
<td style="padding:15px">Lock or Unlock a branch.</td>
|
|
854
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/refs?{query}</td>
|
|
855
|
+
<td style="padding:15px">Yes</td>
|
|
856
|
+
</tr>
|
|
857
|
+
<tr>
|
|
858
|
+
<td style="padding:15px">refsUpdateRefs(organization, body, repositoryId, project, projectId, apiVersion, callback)</td>
|
|
859
|
+
<td style="padding:15px">Creating, updating, or deleting refs(branches).
|
|
860
|
+
|
|
861
|
+
Updating a ref means making it point at a differen</td>
|
|
862
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/refs?{query}</td>
|
|
863
|
+
<td style="padding:15px">Yes</td>
|
|
864
|
+
</tr>
|
|
865
|
+
<tr>
|
|
866
|
+
<td style="padding:15px">revertsCreate(organization, body, project, repositoryId, apiVersion, callback)</td>
|
|
867
|
+
<td style="padding:15px">Starts the operation to create a new branch which reverts changes introduced by either a specific c</td>
|
|
868
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/reverts?{query}</td>
|
|
869
|
+
<td style="padding:15px">Yes</td>
|
|
870
|
+
</tr>
|
|
871
|
+
<tr>
|
|
872
|
+
<td style="padding:15px">revertsGetRevertForRefName(organization, project, repositoryId, refName, apiVersion, callback)</td>
|
|
873
|
+
<td style="padding:15px">Retrieve information about a revert operation for a specific branch.</td>
|
|
874
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/reverts?{query}</td>
|
|
875
|
+
<td style="padding:15px">Yes</td>
|
|
876
|
+
</tr>
|
|
877
|
+
<tr>
|
|
878
|
+
<td style="padding:15px">revertsGetRevert(organization, project, revertId, repositoryId, apiVersion, callback)</td>
|
|
879
|
+
<td style="padding:15px">Retrieve information about a revert operation by revert Id.</td>
|
|
880
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/reverts/{pathv4}?{query}</td>
|
|
881
|
+
<td style="padding:15px">Yes</td>
|
|
882
|
+
</tr>
|
|
883
|
+
<tr>
|
|
884
|
+
<td style="padding:15px">statsList(organization, repositoryId, project, baseVersionDescriptorVersion, baseVersionDescriptorVersionOptions = 'none', baseVersionDescriptorVersionType = 'branch', apiVersion, callback)</td>
|
|
885
|
+
<td style="padding:15px">Retrieve statistics about all branches within a repository.</td>
|
|
886
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/stats/branches?{query}</td>
|
|
887
|
+
<td style="padding:15px">Yes</td>
|
|
888
|
+
</tr>
|
|
889
|
+
<tr>
|
|
890
|
+
<td style="padding:15px">suggestionsList(organization, repositoryId, project, apiVersion, callback)</td>
|
|
891
|
+
<td style="padding:15px">Retrieve a pull request suggestion for a particular repository or team project.</td>
|
|
892
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/suggestions?{query}</td>
|
|
893
|
+
<td style="padding:15px">Yes</td>
|
|
894
|
+
</tr>
|
|
895
|
+
<tr>
|
|
896
|
+
<td style="padding:15px">treesGet(organization, repositoryId, sha1, project, projectId, recursive, fileName, format, apiVersion, callback)</td>
|
|
897
|
+
<td style="padding:15px">The Tree endpoint returns the collection of objects underneath the specified tree. Trees are folder</td>
|
|
898
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/trees/{pathv4}?{query}</td>
|
|
899
|
+
<td style="padding:15px">Yes</td>
|
|
900
|
+
</tr>
|
|
901
|
+
<tr>
|
|
902
|
+
<td style="padding:15px">mergeBasesList(organization, repositoryNameOrId, commitId, otherCommitId, project, otherCollectionId, otherRepositoryId, apiVersion, callback)</td>
|
|
903
|
+
<td style="padding:15px">Find the merge bases of two commits, optionally across forks. If otherRepositoryId is not specified</td>
|
|
904
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/commits/{pathv4}/mergebases?{query}</td>
|
|
905
|
+
<td style="padding:15px">Yes</td>
|
|
906
|
+
</tr>
|
|
907
|
+
<tr>
|
|
908
|
+
<td style="padding:15px">forksList(organization, repositoryNameOrId, collectionId, project, includeLinks, apiVersion, callback)</td>
|
|
909
|
+
<td style="padding:15px">Retrieve all forks of a repository in the collection.</td>
|
|
910
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/forks/{pathv4}?{query}</td>
|
|
911
|
+
<td style="padding:15px">Yes</td>
|
|
912
|
+
</tr>
|
|
913
|
+
<tr>
|
|
914
|
+
<td style="padding:15px">forksCreateForkSyncRequest(organization, body, repositoryNameOrId, project, includeLinks, apiVersion, callback)</td>
|
|
915
|
+
<td style="padding:15px">Request that another repository's refs be fetched into this one. It syncs two existing forks. To cr</td>
|
|
916
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/forkSyncRequests?{query}</td>
|
|
917
|
+
<td style="padding:15px">Yes</td>
|
|
918
|
+
</tr>
|
|
919
|
+
<tr>
|
|
920
|
+
<td style="padding:15px">forksGetForkSyncRequests(organization, repositoryNameOrId, project, includeAbandoned, includeLinks, apiVersion, callback)</td>
|
|
921
|
+
<td style="padding:15px">Retrieve all requested fork sync operations on this repository.</td>
|
|
922
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/forkSyncRequests?{query}</td>
|
|
923
|
+
<td style="padding:15px">Yes</td>
|
|
924
|
+
</tr>
|
|
925
|
+
<tr>
|
|
926
|
+
<td style="padding:15px">forksGetForkSyncRequest(organization, repositoryNameOrId, forkSyncOperationId, project, includeLinks, apiVersion, callback)</td>
|
|
927
|
+
<td style="padding:15px">Get a specific fork sync operation's details.</td>
|
|
928
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/forkSyncRequests/{pathv4}?{query}</td>
|
|
929
|
+
<td style="padding:15px">Yes</td>
|
|
930
|
+
</tr>
|
|
931
|
+
<tr>
|
|
932
|
+
<td style="padding:15px">mergesCreate(organization, body, project, repositoryNameOrId, includeLinks, apiVersion, callback)</td>
|
|
933
|
+
<td style="padding:15px">Request a git merge operation. Currently we support merging only 2 commits.</td>
|
|
934
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/merges?{query}</td>
|
|
935
|
+
<td style="padding:15px">Yes</td>
|
|
936
|
+
</tr>
|
|
937
|
+
<tr>
|
|
938
|
+
<td style="padding:15px">mergesGet(organization, project, repositoryNameOrId, mergeOperationId, includeLinks, apiVersion, callback)</td>
|
|
939
|
+
<td style="padding:15px">Get a specific merge operation's details.</td>
|
|
940
|
+
<td style="padding:15px">{base_path}/{version}/{pathv1}/{pathv2}/_apis/git/repositories/{pathv3}/merges/{pathv4}?{query}</td>
|
|
941
|
+
<td style="padding:15px">Yes</td>
|
|
942
|
+
</tr>
|
|
168
943
|
</table>
|
|
169
944
|
<br>
|