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

Modules

Retrieve all Module Items from an individual Module

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
modulestringRequired

The Module 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. module_field_3_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/modules/{module}/items
GET /api/site/v2/modules/{module}/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 Module 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
modulestringRequired

The Module ID

Example: 1
idstringRequired

The ID of the Module item

Responses
200

OK

No content

get/modules/{module}/items/{id}
GET /api/site/v2/modules/{module}/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 Module Item within an individual Module

put

To see the Module's fields and the value each one takes, first get its fields (GET /modules/{module}/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
modulestringRequired

The Module ID

Example: 1
idstringRequired

The Module Item ID

Example: 1
Body
namestringRequired
slugstringOptional
enabledstringRequired
module_field_3_1stringOptional
module_field_custom_3_2stringOptional
Responses
200

OK

No content

put/modules/{module}/items/{id}
PUT /api/site/v2/modules/{module}/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: 105

{
  "name": "text",
  "slug": "text",
  "enabled": "text",
  "module_field_3_1": "text",
  "module_field_custom_3_2": "text"
}

No content

Create a Module Items within an individual Module

post

To see the Module's fields and the value each one takes, first get its fields (GET /modules/{module}/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
modulestringRequired

The Module ID

Example: 1
Body
namestringRequired
slugstringOptional
enabledstringRequired
module_field_3_1stringOptional
module_field_custom_3_2stringOptional
Responses
200

OK

No content

post/modules/{module}/create
POST /api/site/v2/modules/{module}/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: 105

{
  "name": "text",
  "slug": "text",
  "enabled": "text",
  "module_field_3_1": "text",
  "module_field_custom_3_2": "text"
}

No content

Last updated