WebApps

Retrieve all WebApp Items from an individual WebApp

get
Authorizations
Path parameters
webappstringRequired

The WebApp ID

Example: 1
Query parameters
itemsid · arrayOptional

A comma seperated list of item IDs to retrieve, leave empty to get all items

propertiesstring · arrayOptional

A comma seperated list of properties that you would like to retrieve, leave empty to get all properties

Example: name,slug,enabled
per_pageintegerOptional

Number of items to retireve, maximum of 500

Example: 20
sort_typestringOptional

Property by which to sort the results

Example: created_at
sort_orderstringOptional

Order of results (asc or desc)

Example: desc
pageintOptional

Page to retrieve number, to be used with per_page

Example: 1
Responses
200
OK
get
GET /api/site/v2/webapps/{webapp}/items HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Accept: */*

No content

Retrieve all data about an individual WebApp Item

get
Authorizations
Path parameters
webappstringRequired

The WebApp ID

Example: 1
idstring · idRequired

The ID of the WebApp item

Responses
200
OK
get
GET /api/site/v2/webapps/{webapp}/items/{id} HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Accept: */*

No content

Update a WebApp Item within an individual WebApp

put
Authorizations
Path parameters
webappstringRequired

The WebApp ID

Example: 1
idstringRequired

The WebApp Item ID

Example: 1
Body
namestringRequired
slugstringOptional
enabledstringRequired
webapp_field_1_1stringOptional
webapp_field_1_2stringOptional
Responses
200
OK
put
PUT /api/site/v2/webapps/{webapp}/items/{id} HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 98

{
  "name": "text",
  "slug": "text",
  "enabled": "text",
  "webapp_field_1_1": "text",
  "webapp_field_1_2": "text"
}

No content

Create a WebApp Items within an individual WebApp

post
Authorizations
Path parameters
webappstringRequired

The WebApp ID

Example: 1
Body
namestringRequired
slugstringOptional
enabledstringRequired
webapp_field_1_1stringOptional
webapp_field_1_2stringOptional
Responses
200
OK
post
POST /api/site/v2/webapps/{webapp}/create HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 98

{
  "name": "text",
  "slug": "text",
  "enabled": "text",
  "webapp_field_1_1": "text",
  "webapp_field_1_2": "text"
}

No content

Last updated

Was this helpful?