Modifying the Extraction Settings for Apps and Binaries
POST /edit/app/<app name>
Creates a new setting to override the extraction path for a specific app:
curl -k -XPOST https://<SBM_HOST>:7769/edit/app/<app name> \
-u "login:password" \
-H "Content-Type: application/json" \
-d '{ "unpackDirectory": "/custom/path/app/<app name>"}'
Input Parameters (Headers)
| Name | Type | Description |
|---|---|---|
| Authorization | string | Login and password in Base64 format for SAF Beat Manager authorization |
Input Parameters (Body)
| Name | Type | Description |
|---|---|---|
| newname | string | App name |
| path | string | Extraction path |
Supported Errors
| Status | Error Content | Description |
|---|---|---|
| 400 | A app named <app> already exists | The app name received in the request already exists |
| 500 | <error writing response to request> | Internal SAF Beat Manager error |
Examples
Output parameters example:
Success add app
PUT /edit/app/<app name>
Modifies an existing setting to override the extraction path for a specific app:
curl -k -XPUT https://<SBM_HOST>:7769/edit/app/<app name> \
-u "login:password" \
-H "Content-Type: application/json" \
-d '{ "unpackDirectory": "/custom/path/app/<app name>"}'
Input Parameters (Headers)
| Name | Type | Description |
|---|---|---|
| Authorization | string | Login and password in Base64 format for SAF Beat Manager authorization |
Input Parameters (Body)
| Name | Type | Description |
|---|---|---|
| newname | string | App name |
| path | string | Extraction path |
Supported Errors
| Status | Error Content | Description |
|---|---|---|
| 400 | No app named <app> | The app name received in the request does not exist |
| 500 | <error writing response to request> | Internal SAF Beat Manager error |
Examples
Output parameters example:
Success update app
DELETE /edit/app/<app name>
Deletes a setting that overrides the extraction path for a specific app:
curl -k -XDELETE https://<SBM_HOST>:7769/edit/app/<app name> \
-u "login:password" \
-H "Accept: application/json"
Input Parameters (Headers)
| Name | Type | Description |
|---|---|---|
| Authorization | string | Login and password in Base64 format for SAF Beat Manager authorization |
Supported Errors
| Status | Error Content | Description |
|---|---|---|
| 400 | No app named <app> | The app name received in the request does not exist |
| 500 | <error writing response to request> | Internal SAF Beat Manager error |
Examples
Output parameters example:
Success delete app