Skip to content

Commit 86ed647

Browse files
estruyfVesaJuvonen
authored andcommitted
Updated the API URL to add a solution package (SharePoint#1065)
The API URL to add a solution package seems to only be called with `tenantappcatalog/Add` instead of `AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Add`.
1 parent 277c631 commit 86ed647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/apis/alm-api-for-spfx-add-ins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ALM APIs are natively provided using REST APIs, but there is also additional CSO
2323
Adding solution to the tenant app catalog. This API is designed to be executed in the context of the tenant app catalog site.
2424

2525
```
26-
/_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Add(overwrite=true, url='test.txt')";
26+
/_api/web/tenantappcatalog/Add(overwrite=true, url='test.txt')";
2727
method: POST
2828
binaryStringRequestBody: true
2929
body: 'byte array of the file'
@@ -173,4 +173,4 @@ Getting a list of apps that can be added to the site is possible using:
173173

174174
```PowerShell
175175
Get-PnPAvailableApp
176-
```
176+
```

0 commit comments

Comments
 (0)