Modules
The Module ID
1A comma seperated list of item IDs to retrieve, leave empty to get all items
A comma seperated list of properties that you would like to retrieve, leave empty to get all properties
name,slug,enabledNumber of items to retireve, maximum of 500
20Property by which to sort the results
created_atOrder of results (asc or desc)
descPage to retrieve number, to be used with per_page
1OK
No content
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Not Found - Module does not exist or contains no Items
Unprocessable Entity - Required data missing or data invalid
GET /api/site/v2/modules/{module}/items HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
x-site-id: YOUR_API_KEY
Accept: */*
No content
The Module ID
1The ID of the Module item
OK
No content
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Not Found - Module Item does not exist
Unprocessable Entity - Required data missing or data invalid
GET /api/site/v2/modules/{module}/items/{id} HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
x-site-id: YOUR_API_KEY
Accept: */*
No content
The Module ID
1The Module 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/modules/{module}/items/{id} HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
x-site-id: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"name": "text",
"slug": "text",
"enabled": "text",
"module_field_3_1": "text",
"module_field_custom_3_2": "text"
}No content
The Module 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/modules/{module}/create HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
x-site-id: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"name": "text",
"slug": "text",
"enabled": "text",
"module_field_3_1": "text",
"module_field_custom_3_2": "text"
}No content
Last updated
Was this helpful?

