Application Packages

Get

Retrieve application package settings.

GET/api/AppPackageSettings
Query parameters
Response

Success

Body
siteIdinteger (int32)

ID of the Site for application packages settings

enabledboolean

Whether the application packages feature is enabled or not

tagsnullable array of AppVersionTag (object)

Application version tags

provisionPackageCertificatesAutomaticallyboolean

Provision package certificates automatically

Request
const response = await fetch('/api/AppPackageSettings', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "enabled": false,
  "tags": [
    {
      "name": "text"
    }
  ],
  "provisionPackageCertificatesAutomatically": false
}

Update

Modify application package settings.

PUT/api/AppPackageSettings
Query parameters
Body

Application package settings.

enablednullable boolean

Enable or disable the application packages.

provisionPackageCertificatesAutomaticallynullable boolean

Enable or Disable automatic provision of application package certificates.

Response

No Content

Request
const response = await fetch('/api/AppPackageSettings', {
    method: 'PUT',
    headers: {
      "Content-Type": "application/json; api-version=1.0"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "type": "text",
  "title": "text",
  "detail": "text",
  "instance": "text"
}

Last updated

Other Resources

Feedback

© 2024 Parallels International GmbH. All rights reserved.