Skip to main content
POST
/
subpage
Create a subpage
curl --request POST \
  --url https://api.liquidindex.dev/subpage \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "chunk_id": "<string>",
  "owner_id": "<string>",
  "varience": 123
}'
{
  "subpage_url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
chunk_id
string
required

The ID of the chunk to create a subpage for

owner_id
string
required

The project/customer ID to associate the subpage with

varience
number
required

Variance defines how many pages before and after a selected page are included to form the SubPage.

Response

Subpage created successfully

subpage_url
string

The URL of the subpage

I