Pages

Manage system pages. Ability to create, edit, view, and delete content pages.

Available Endpoints

Method Path Description
GET /api/pages List pages
GET /api/pages/{id} View page details
POST /api/pages Create new page
PUT /api/pages/{id} Full update of a page
PATCH /api/pages/{id} Partial update of a page
DELETE /api/pages/{id} Delete a page

Example Request

curl -X GET "https://example.com/api/pages" \
  -H "Authorization: Bearer {token}"

Success Response (200)

{
  "records": [],
  "meta": {
    "total": 0,
    "current_page": 1,
    "per_page": 20
  }
}

Errors

Code Description
401 Invalid token
403 Access denied
404 Record not found
422 Validation error
Type to search...