Skip to content

Commit e2c2c4a

Browse files
erwinvanhunenVesaJuvonen
authored andcommitted
Removed small typos from code snippets (SharePoint#1264)
* Removed unneeded quotes and semicolons * cleaned up * removed incorrect quote
1 parent 0458943 commit e2c2c4a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

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

3535
```
36-
/_api/web/tenantappcatalog/Add(overwrite=true, url='test.txt')";
36+
url: /_api/web/tenantappcatalog/Add(overwrite=true, url='test.txt')
3737
method: POST
3838
binaryStringRequestBody: true
3939
body: 'byte array of the file'
@@ -44,7 +44,7 @@ body: 'byte array of the file'
4444
Enable solution to be available to install to specific sites. This API is designed to be executed in the context of the tenant app catalog site.
4545

4646
```
47-
/_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Deploy";
47+
url: /_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Deploy
4848
```
4949

5050
> [!NOTE]
@@ -55,7 +55,7 @@ Enable solution to be available to install to specific sites. This API is design
5555
Retract solution to be available from the sites. This API is designed to be executed in the context of the tenant app catalog site.
5656

5757
```
58-
/_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Retract";
58+
url: /_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Retract
5959
```
6060

6161
> [!NOTE]
@@ -66,7 +66,7 @@ Retract solution to be available from the sites. This API is designed to be exec
6666
Remove the solution package from the tenant app catalog. This API is designed to be executed in the context of the tenant app catalog site.
6767

6868
```
69-
/_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Remove";
69+
url: /_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Remove
7070
```
7171

7272
> [!NOTE]
@@ -95,7 +95,7 @@ method: GET
9595
Install a solution package with specific identifier from tenant app catalog to the site based on URL context. This REST call can be executed in the context of the site where the install operation should happen.
9696

9797
```
98-
url: /_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Install";
98+
url: /_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Install
9999
method: POST
100100
```
101101

@@ -104,7 +104,7 @@ method: POST
104104
Upgrade a solution package from the site to a newer version available in the tenant app catalog. This REST call can be executed in the context of the site where the upgrade operation should happen.
105105

106106
```
107-
url: /_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Upgrade";
107+
url: /_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Upgrade
108108
method: POST
109109
```
110110

@@ -113,7 +113,7 @@ method: POST
113113
Uninstall a solution package from the site. This REST call can be executed in the context of the site where the uninstall operation should happen.
114114

115115
```
116-
url: /_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Uninstall";
116+
url: /_api/web/tenantappcatalog/AvailableApps/GetById('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx')/Uninstall
117117
method: POST
118118
```
119119
> [!NOTE]
@@ -128,7 +128,7 @@ Using [PnP PowerShell](https://msdn.microsoft.com/en-us/pnp_powershell/pnp-power
128128
Adding your app (.sppkg file, .app file) to the tenant app catalog is a per-requisite to later on make your app available for use in your SharePoint sites. Doing so can be done using below simple cmdlet:
129129

130130
```PowerShell
131-
Add-PnPApp -Path ./myapp.sppkg"
131+
Add-PnPApp -Path ./myapp.sppkg
132132
```
133133

134134
Once added you'll need to continue with publishing your app, effectively making the app available to be used by the users of your tenant. Below PnP PowerShell cmdlets shows how this can be done:

0 commit comments

Comments
 (0)