@@ -42,15 +42,15 @@ 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
- | 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 .
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. Maximum size is 500. |
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. Maximum size is 500. |
49
+ When urls is not null, serverRelativeUrls will be disregarded .
50
50
51
51
### Responses
52
52
53
- | Name | Type | Description |
53
+ | Name | Type | Description |
54
54
| -----------------------------| --------------------------------| --------------------------------------------------------------------------------------|
55
55
| addins | SPAddinInstanceInfo[ ] | Available Add-in instance object. |
56
56
| errorsWithServerRelativeUrl | SPErrorWithServerRelativeUrl[ ] | Server relative urls that failed to get available add-ins and corresponding reasons. |
@@ -118,10 +118,10 @@ POST {adminSiteUrl}/_api/web/AddinPermissions
118
118
| serverRelativeUrl | string | The server relative url of the site collection. |
119
119
| url | string | The url of the site collection, both server relative url and absolute url are acceptable. |
120
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.
121
+ The serverRelativeUrl and url can't be both null . If both serverRelativeUrl and url are provided, the url will be used.
122
122
123
123
### Responses
124
-
124
+ ``
125
125
| Name | Type | Description |
126
126
| ------------------| -------------------------------| -----------------------------------------------------------------------|
127
127
| addinPermissions | SPAddinPermissionInfo[ ] | The returned permissions. |
@@ -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
- | 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 .
218
+ | Name | Required | Type | Description |
219
+ | --------------------| ----------| ----------| ------------------------------------------------------------------------------------------------------------ |
220
+ | serverRelativeUrls | no | string[ ] | List site collections' server relative url. Maximum size is 500. |
221
+ | urls | no | string[ ] | List site collections' url, both server relative url and absolute url are acceptable. Maximum size is 500. |
222
+ When urls is not null, serverRelativeUrls will be disregarded .
223
223
224
224
### Responses
225
225
@@ -270,7 +270,7 @@ POST {adminSiteUrl}/_api/web/UninstallAddins
270
270
| serverRelativeUrl | string | The site's server relative url. |
271
271
| url | string | The site's url, both server relative url and absolute url are acceptable. |
272
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.
273
+ The serverRelativeUrl and url can't be both null . If both serverRelativeUrl and url are provided, the url will be used.
274
274
275
275
### Responses
276
276
@@ -317,7 +317,7 @@ POST {adminSiteUrl}/_api/web/GetAddinUninstallJobDetail
317
317
| jobId | yes | Guid | This uninstall job id. |
318
318
| serverRelativeUrl | no | string | The site's server relative url. |
319
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.
320
+ The serverRelativeUrl and url can't be both null . If both serverRelativeUrl and url are provided, the url will be used.
321
321
322
322
### Responses
323
323
0 commit comments