WebApps
Your Siteglide API key
The ID of the Siteglide site you are working with (not an API key — just the numeric site ID)
The WebApp ID
1Number of items to retrieve, maximum of 500
20Field 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).
created_atOrder of results
descPossible values: Page to retrieve number, to be used with per_page
1OK
No content
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Not Found - WebApp does not exist
Unprocessable Entity - Required data missing or data invalid
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
Your Siteglide API key
The ID of the Siteglide site you are working with (not an API key — just the numeric site ID)
The WebApp ID
1The ID of the WebApp item
OK
No content
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Not Found - WebApp Item does not exist
Unprocessable Entity - Required data missing or data invalid
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
To see the WebApp's fields and the value each one takes, first get its fields (GET /webapps/{webapp}/fields).
Your Siteglide API key
The ID of the Siteglide site you are working with (not an API key — just the numeric site ID)
The WebApp ID
1The WebApp Item ID
1OK
No content
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Unprocessable Entity - Required data missing or data invalid
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
To see the WebApp's fields and the value each one takes, first get its fields (GET /webapps/{webapp}/fields).
Your Siteglide API key
The ID of the Siteglide site you are working with (not an API key — just the numeric site ID)
The WebApp ID
1OK
No content
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Unprocessable Entity - Required data missing or data invalid
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

