🔗WebApps

Retrieve all WebApp Items from an individual WebApp

GET/api/public/site/webapps/{webapp}/items
Authorization
Path parameters
webapp*string

The WebApp ID

Example: 1
Query parameters
Response

OK

Request
const response = await fetch('/api/public/site/webapps/{webapp}/items', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

Retrieve all data about an individual WebApp Item

GET/api/public/site/webapps/{webapp}/items/{id}
Authorization
Path parameters
webapp*string

The WebApp ID

Example: 1
id*string (id)

The ID of the WebApp item

Response

OK

Request
const response = await fetch('/api/public/site/webapps/{webapp}/items/{id}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();

Update a WebApp Item within an individual WebApp

PUT/api/public/site/webapps/{webapp}/items/{id}
Authorization
Path parameters
webapp*string

The WebApp ID

Example: 1
id*string

The WebApp Item ID

Example: 1
Body

Your WebApp custom fields as a JSON object

name*string
slugstring
enabled*string
webapp_field_1_1string
webapp_field_1_2string
Response

OK

Request
const response = await fetch('/api/public/site/webapps/{webapp}/items/{id}', {
    method: 'PUT',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "name": "text",
      "enabled": "text"
    }),
});
const data = await response.json();

Create a WebApp Items within an individual WebApp

POST/api/public/site/webapps/{webapp}/create
Authorization
Path parameters
webapp*string

The WebApp ID

Example: 1
Body

Your WebApp custom fields as a JSON object

name*string
slugstring
enabled*string
webapp_field_1_1string
webapp_field_1_2string
Response

OK

Request
const response = await fetch('/api/public/site/webapps/{webapp}/create', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "name": "text",
      "enabled": "text"
    }),
});
const data = await response.json();

Last updated