@@ -42,11 +42,11 @@ POST {adminSiteUrl}/_api/web/AvailableAddIns
42
42
43
43
### Request body
44
44
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
- | absoluteUrls | no | string[ ] | List of the absolute url of sites that want to get the available Add-ins. |
49
- Max total count for serverRelativeUrls and absoluteUrls is 500. And they can't be both empty.
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
+ | urls | no | string[ ] | List of the url of sites that want to get the available Add-ins, both server relative url and absolute url are acceptable. |
49
+ Max total count for serverRelativeUrls and urls is 500. And they can't be both empty.
50
50
51
51
### Responses
52
52
@@ -88,10 +88,10 @@ Max total count for serverRelativeUrls and absoluteUrls is 500. And they can't b
88
88
89
89
### SPErrorWithServerRelativeUrl
90
90
91
- | Name | Type | Description |
92
- | -------------------| --------| ----------------------------------------------------------- |
93
- | serverRelativeUrl | string | The serverRelativeUrl or absoluteUrl in the request body. |
94
- | errorMessage | string | The error message why fetch the site's Add-ins failed. |
91
+ | Name | Type | Description |
92
+ | -------------------| --------| --------------------------------------------------------|
93
+ | serverRelativeUrl | string | The serverRelativeUrl or url in the request body. |
94
+ | errorMessage | string | The error message why fetch the site's Add-ins failed. |
95
95
96
96
## Get Add-in permissions in site collections
97
97
@@ -113,12 +113,12 @@ POST {adminSiteUrl}/_api/web/AddinPermissions
113
113
114
114
#### SPAddinPermissionRequest
115
115
116
- | Name | Type | Description |
117
- | -------------------| ----------| -------------------------------------------------------------------------------------------------------------------------------- |
118
- | serverRelativeUrl | string | The server relative url of the site collection. It will return site collection scope permissions of the given site collection. |
119
- | absoluteUrl | string | The absolute url of the site collection. It will return site collection scope permissions of the given site collection. |
120
- | appIdentifiers | string[ ] | The identifier list of the Add-ins. |
121
- The serverRelativeUrl and absoluteUrl can't be both empty. If both serverRelativeUrl and absoluteUrl are provided, the absoluteUrl will be used.
116
+ | Name | Type | Description |
117
+ | -------------------| ----------| -------------------------------------------------------------------------------------------|
118
+ | serverRelativeUrl | string | The server relative url of the site collection. |
119
+ | url | string | The url of the site collection, both server relative url and absolute url are acceptable. |
120
+ | appIdentifiers | string[ ] | The identifier list of the Add-ins. |
121
+ The serverRelativeUrl and url can't be both empty. If both serverRelativeUrl and url are provided, the url will be used.
122
122
123
123
### Responses
124
124
@@ -215,11 +215,11 @@ POST {adminSiteUrl}/_api/web/GetAddinPrincipalsHavingPermissionsInSites
215
215
216
216
### Request body
217
217
218
- | Name | Required | Type | Description |
219
- | --------------------| ----------| ----------| ---------------------------------------------|
220
- | serverRelativeUrls | no | string[ ] | List site collections' server relative url. |
221
- | absoluteUrls | no | string[ ] | List site collections' absolute url. |
222
- Max total count for serverRelativeUrls and absoluteUrls is 500. And they can't be both empty.
218
+ | Name | Required | Type | Description |
219
+ | --------------------| ----------| ----------| --------------------------------------------------------------------------------------- |
220
+ | serverRelativeUrls | no | string[ ] | List site collections' server relative url. |
221
+ | urls | no | string[ ] | List site collections' url, both server relative url and absolute url are acceptable. |
222
+ Max total count for serverRelativeUrls and urls is 500. And they can't be both empty.
223
223
224
224
### Responses
225
225
@@ -265,12 +265,12 @@ POST {adminSiteUrl}/_api/web/UninstallAddins
265
265
266
266
#### SPUninstallAddinRequest
267
267
268
- | Name | Type | Description |
269
- | -------------------| --------| ----------------------------------|
270
- | serverRelativeUrl | string | The site's server relative url. |
271
- | absoluteUrl | string | The site's absolute url. |
272
- | appInstanceIds | Guid[ ] | The instance ids of the Add-ins. |
273
- The serverRelativeUrl and absoluteUrl can't be both empty. If both serverRelativeUrl and absoluteUrl are provided, the absoluteUrl will be used.
268
+ | Name | Type | Description |
269
+ | -------------------| --------| --------------------------------------------------------------------------- |
270
+ | serverRelativeUrl | string | The site's server relative url. |
271
+ | url | string | The site's url, both server relative url and absolute url are acceptable. |
272
+ | appInstanceIds | Guid[ ] | The instance ids of the Add-ins. |
273
+ The serverRelativeUrl and url can't be both empty. If both serverRelativeUrl and url are provided, the url will be used.
274
274
275
275
### Responses
276
276
@@ -312,12 +312,12 @@ POST {adminSiteUrl}/_api/web/GetAddinUninstallJobDetail
312
312
313
313
### Request body
314
314
315
- | Name | Required | Type | Description |
316
- | -------------------| ----------| --------| ---------------------------------|
317
- | jobId | yes | Guid | This uninstall job id. |
318
- | serverRelativeUrl | no | string | The site's server relative url. |
319
- | absoluteUrl | no | string | The site's absolute url. |
320
- The serverRelativeUrl and absoluteUrl can't be both empty. If both serverRelativeUrl and absoluteUrl are provided, the absoluteUrl will be used.
315
+ | Name | Required | Type | Description |
316
+ | -------------------| ----------| --------| ---------------------------------------------------------------------------- |
317
+ | jobId | yes | Guid | This uninstall job id. |
318
+ | serverRelativeUrl | no | string | The site's server relative url. |
319
+ | url | no | string | The site's url, both server relative url and absolute url are acceptable. |
320
+ The serverRelativeUrl and url can't be both empty. If both serverRelativeUrl and url are provided, the url will be used.
321
321
322
322
### Responses
323
323
0 commit comments