Categories
Last updated
Was this helpful?
Last updated
Was this helpful?
Number of items to retireve, maximum of 500
20
Property by which to sort the results
created_at
Order of results (asc or desc)
desc
Page to retrieve number, to be used with per_page
1
GET /api/public/site/categories HTTP/1.1
Host:
authorization: YOUR_API_KEY
Accept: */*
No content
The ID of the category
1234
GET /api/public/site/categories/{id} HTTP/1.1
Host:
authorization: YOUR_API_KEY
Accept: */*
No content
The Category ID
1
PUT /api/public/site/categories/{id} HTTP/1.1
Host:
authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 231
{
"name": "text",
"slug": "text",
"enabled": "text",
"weighting": "text",
"meta_title": "text",
"meta_desc": "text",
"og_title": "text",
"og_desc": "text",
"og_image": "text",
"og_type": "text",
"twitter_type": "text",
"image_alt": "text",
"parent": "text"
}
No content
POST /api/public/site/categories/create HTTP/1.1
Host:
authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 231
{
"name": "text",
"slug": "text",
"enabled": "text",
"weighting": "text",
"meta_title": "text",
"meta_desc": "text",
"og_title": "text",
"og_desc": "text",
"og_image": "text",
"og_type": "text",
"twitter_type": "text",
"image_alt": "text",
"parent": "text"
}
No content