Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

WebApps

Retrieve all WebApp Items from an individual WebApp

get
Authorizations
x-api-keystringRequired

Your Siteglide API key

x-site-idstringRequired

The ID of the Siteglide site you are working with (not an API key — just the numeric site ID)

Path parameters
webappstringRequired

The WebApp ID

Example: 1
Query parameters
per_pageintegerOptional

Number of items to retrieve, maximum of 500

Example: 20
sort_typestringOptional

Field by which to sort the results. Use id, created_at, or updated_at for system fields, or a custom field ID (e.g. webapp_field_1_1).

Example: created_at
sort_orderstring · enumOptional

Order of results

Default: descPossible values:
pageintegerOptional

Page to retrieve number, to be used with per_page

Example: 1
Responses
200

OK

No content

get/webapps/{webapp}/items
GET /api/site/v2/webapps/{webapp}/items HTTP/1.1
Host: www.my-site.com
x-api-key: YOUR_API_KEY
x-site-id: YOUR_API_KEY
Accept: */*

No content

Retrieve all data about an individual WebApp Item

get
Authorizations
x-api-keystringRequired

Your Siteglide API key

x-site-idstringRequired

The ID of the Siteglide site you are working with (not an API key — just the numeric site ID)

Path parameters
webappstringRequired

The WebApp ID

Example: 1
idstringRequired

The ID of the WebApp item

Responses
200

OK

No content

get/webapps/{webapp}/items/{id}
GET /api/site/v2/webapps/{webapp}/items/{id} HTTP/1.1
Host: www.my-site.com
x-api-key: YOUR_API_KEY
x-site-id: YOUR_API_KEY
Accept: */*

No content

Update a WebApp Item within an individual WebApp

put

To see the WebApp's fields and the value each one takes, first get its fields (GET /webapps/{webapp}/fields).

Authorizations
x-api-keystringRequired

Your Siteglide API key

x-site-idstringRequired

The ID of the Siteglide site you are working with (not an API key — just the numeric site ID)

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

No content

put/webapps/{webapp}/items/{id}
PUT /api/site/v2/webapps/{webapp}/items/{id} HTTP/1.1
Host: www.my-site.com
x-api-key: YOUR_API_KEY
x-site-id: 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

To see the WebApp's fields and the value each one takes, first get its fields (GET /webapps/{webapp}/fields).

Authorizations
x-api-keystringRequired

Your Siteglide API key

x-site-idstringRequired

The ID of the Siteglide site you are working with (not an API key — just the numeric site ID)

Path parameters
webappstringRequired

The WebApp ID

Example: 1
Body
namestringRequired
slugstringOptional
enabledstringRequired
webapp_field_1_1stringOptional
webapp_field_1_2stringOptional
Responses
200

OK

No content

post/webapps/{webapp}/create
POST /api/site/v2/webapps/{webapp}/create HTTP/1.1
Host: www.my-site.com
x-api-key: YOUR_API_KEY
x-site-id: 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