@@ -42,9 +42,11 @@ POST {adminSiteUrl}/_api/web/AvailableAddIns
42
42
43
43
### Request body
44
44
45
- | Name | Required | Type | Description |
46
- | --------------------| ----------| ----------| -------------------------------------------------------------------------------------------------------|
47
- | serverRelativeUrls | yes | string[ ] | List of the server relative url of sites that want to get the available Add-ins. Maximum size is 500. |
45
+ | Name | Required | Type | Description |
46
+ | --------------------| ----------| ----------| ----------------------------------------------------------------------------------|
47
+ | serverRelativeUrls | no | string[ ] | List of the server relative url of sites that want to get the available Add-ins. |
48
+ | fullUrls | no | string[ ] | List of the full url of sites that want to get the available Add-ins. |
49
+ Max total count for serverRelativeUrls and fullUrls is 500. And they can't be both empty.
48
50
49
51
### Responses
50
52
@@ -88,7 +90,7 @@ POST {adminSiteUrl}/_api/web/AvailableAddIns
88
90
89
91
| Name | Type | Description |
90
92
| -------------------| --------| --------------------------------------------------------|
91
- | serverRelativeUrl | string | The serverRelativeUrl in the request body. |
93
+ | serverRelativeUrl | string | The serverRelativeUrl or fullUrl in the request body. |
92
94
| errorMessage | string | The error message why fetch the site's Add-ins failed. |
93
95
94
96
## Get Add-in permissions in site collections
@@ -114,6 +116,7 @@ POST {adminSiteUrl}/_api/web/AddinPermissions
114
116
| Name | Type | Description |
115
117
| -------------------| ----------| --------------------------------------------------------------------------------------------------------------------------------|
116
118
| serverRelativeUrl | string | The server relative url of the site collection. It will return site collection scope permissions of the given site collection. |
119
+ | fullUrl | string | The full url of the site collection. It will return site collection scope permissions of the given site collection. |
117
120
| appIdentifiers | string[ ] | The identifier list of the Add-ins. |
118
121
119
122
### Responses
@@ -131,6 +134,7 @@ POST {adminSiteUrl}/_api/web/AddinPermissions
131
134
| siteCollectionScopedPermissions | SPSiteCollectionScopedPermissionInfo[ ] | This is the permissions grant in site collection scope level. |
132
135
| appIdentifier | string | The identifier of the Add-in. |
133
136
| serverRelativeUrl | string | The server relative url of the site collection. |
137
+ | fullUrl | string | The full url of the site collection. |
134
138
| allowAppOnly | bool | This identifies if the Add-in allows app only mode. For more information, see [ Add-in authorization policy types in SharePoint] ( ../sp-add-ins/add-in-authorization-policy-types-in-sharepoint.md ) . |
135
139
136
140
#### SPTenantScopedPermissionInfo
@@ -155,11 +159,11 @@ POST {adminSiteUrl}/_api/web/AddinPermissions
155
159
156
160
#### SPAddinPermissionFailedInfo
157
161
158
- | Name | Type | Description |
159
- | -------------------| --------| -----------------------------------------------------------|
160
- | serverRelativeUrl | string | The server relative url of the site collection. |
161
- | appIdentifier | string | The identifier list of the Add-in. |
162
- | errorMessage | string | The error message why fetch the Add-in permission failed. |
162
+ | Name | Type | Description |
163
+ | -------------------| --------| ------------------------------------------------------------- |
164
+ | serverRelativeUrl | string | The server relative url or full url of the site collection. |
165
+ | appIdentifier | string | The identifier list of the Add-in. |
166
+ | errorMessage | string | The error message why fetch the Add-in permission failed. |
163
167
164
168
## Get tenant ACS service principals
165
169
@@ -210,9 +214,11 @@ POST {adminSiteUrl}/_api/web/GetAddinPrincipalsHavingPermissionsInSites
210
214
211
215
### Request body
212
216
213
- | Name | Required | Type | Description |
214
- | --------------------| ----------| ----------| -------------------------------------------------------------------|
215
- | serverRelativeUrls | yes | string[ ] | List site collections' server relative url. Maximum size is 500. |
217
+ | Name | Required | Type | Description |
218
+ | --------------------| ----------| ----------| ---------------------------------------------|
219
+ | serverRelativeUrls | no | string[ ] | List site collections' server relative url. |
220
+ | fullUrls | no | string[ ] | List site collections' full url. |
221
+ Max total count for serverRelativeUrls and fullUrls is 500. And they can't be both empty.
216
222
217
223
### Responses
218
224
@@ -228,13 +234,14 @@ POST {adminSiteUrl}/_api/web/GetAddinPrincipalsHavingPermissionsInSites
228
234
| title | string | The title of the Add-in. |
229
235
| appIdentifier | string | The app identifier. |
230
236
| serverRelativeUrl | string | The server relative url of the site collection. |
237
+ | fullUrl | string | The full url of the site collection. |
231
238
232
239
233
240
#### SPErrorWithServerRelativeUrl
234
241
235
242
| Name | Type | Description |
236
243
| -------------------| --------| ----------------------------------------------------------|
237
- | serverRelativeUrl | string | The site collection's server relative url. |
244
+ | serverRelativeUrl | string | The site collection's server relative url or full url. |
238
245
| errorMessage | string | The error message why fetch the Add-in principal failed. |
239
246
240
247
## Uninstall Add-ins
@@ -260,7 +267,9 @@ POST {adminSiteUrl}/_api/web/UninstallAddins
260
267
| Name | Type | Description |
261
268
| -------------------| --------| ----------------------------------|
262
269
| serverRelativeUrl | string | The site's server relative url. |
270
+ | fullUrl | string | The site's full url. |
263
271
| appInstanceIds | Guid[ ] | The instance ids of the Add-ins. |
272
+ The serverRelativeUrl and fullUrl can't be both empty.
264
273
265
274
### Responses
266
275
@@ -275,6 +284,7 @@ POST {adminSiteUrl}/_api/web/UninstallAddins
275
284
| -------------------| --------| ---------------------------------|
276
285
| appInstanceId | Guid | The instance id of the Add-in. |
277
286
| serverRelativeUrl | string | The site's server relative url. |
287
+ | fullUrl | string | The site's full url. |
278
288
| uninstallJobId | Guid | The triggered uninstall job id. |
279
289
280
290
#### SPFailToTriggerUninstallAddinJobResponse
@@ -304,13 +314,16 @@ POST {adminSiteUrl}/_api/web/GetAddinUninstallJobDetail
304
314
| Name | Required | Type | Description |
305
315
| -------------------| ----------| --------| ---------------------------------|
306
316
| jobId | yes | Guid | This uninstall job id. |
307
- | serverRelativeUrl | yes | string | The site's server relative url. |
317
+ | serverRelativeUrl | no | string | The site's server relative url. |
318
+ | fullUrl | no | string | The site's full url. |
319
+ The serverRelativeUrl and fullUrl can't be both empty.
308
320
309
321
### Responses
310
322
311
323
| Name | Type | Description |
312
324
| -------------------| -------------------------------| --------------------------------------------------|
313
325
| serverRelativeUrl | string | The site's server relative url. |
326
+ | fullUrl | string | The site's full url. |
314
327
| taskStartTime | DateTime | The time when the task starts executing. |
315
328
| jobId | Guid | The uninstall job id. |
316
329
| siteId | Guid | The site collection id. |
0 commit comments