Страницы

Get Project Pages

get

Получение списка страниц проекта.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
project_idintegerRequired
Query parameters
skipintegerOptional

Количество пропускаемых записей

Default: 0
limitinteger · min: 1 · max: 100Optional

Максимальное количество записей

Default: 100
Responses
get
/api/projects/{project_id}/pages
GET /api/projects/{project_id}/pages HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "id": 1,
    "project_id": 1,
    "name": "text",
    "title": "text",
    "slug": "text",
    "icon": "text",
    "status": "draft",
    "created_at": "2025-12-08T00:08:05.874Z",
    "updated_at": "2025-12-08T00:08:05.874Z"
  }
]

Create Page

post

Создание новой страницы в проекте.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
project_idintegerRequired
Body

Схема для создания новой страницы

namestring · min: 1 · max: 255Required

Название страницы

titlestring · min: 1 · max: 255Required

Заголовок страницы

slugstring · min: 1 · max: 255Required

URL slug страницы

iconany ofOptional

Иконка страницы

string · max: 100Optional
or
nullOptional
Responses
201

Successful Response

application/json
post
/api/projects/{project_id}/pages
POST /api/projects/{project_id}/pages HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58

{
  "name": "text",
  "title": "text",
  "slug": "text",
  "icon": "text"
}
{
  "id": 1,
  "project_id": 1,
  "name": "text",
  "title": "text",
  "slug": "text",
  "icon": "text",
  "status": "draft",
  "created_at": "2025-12-08T00:08:05.874Z",
  "updated_at": "2025-12-08T00:08:05.874Z"
}

Check Slug Availability

get

Проверка доступности slug в рамках проекта.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
project_idintegerRequired
Query parameters
slugstring · min: 1 · max: 255Required
Responses
get
/api/projects/{project_id}/check-slug
GET /api/projects/{project_id}/check-slug?slug=text HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "slug": "text",
  "available": true,
  "message": "text"
}

Get Page

get

Получение страницы по ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
page_idintegerRequired
Responses
get
/api/pages/{page_id}
GET /api/pages/{page_id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": 1,
  "project_id": 1,
  "name": "text",
  "title": "text",
  "slug": "text",
  "icon": "text",
  "status": "draft",
  "created_at": "2025-12-08T00:08:05.874Z",
  "updated_at": "2025-12-08T00:08:05.874Z"
}

Delete Page

delete

Удаление страницы.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
page_idintegerRequired
Responses
delete
/api/pages/{page_id}
DELETE /api/pages/{page_id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Update Page

patch

Обновление страницы.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
page_idintegerRequired
Body

Схема для обновления страницы

nameany ofOptional

Название страницы

string · min: 1 · max: 255Optional
or
nullOptional
titleany ofOptional

Заголовок страницы

string · min: 1 · max: 255Optional
or
nullOptional
slugany ofOptional

URL slug страницы

string · min: 1 · max: 255Optional
or
nullOptional
iconany ofOptional

Иконка страницы

string · max: 100Optional
or
nullOptional
Responses
patch
/api/pages/{page_id}
PATCH /api/pages/{page_id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58

{
  "name": "text",
  "title": "text",
  "slug": "text",
  "icon": "text"
}
{
  "id": 1,
  "project_id": 1,
  "name": "text",
  "title": "text",
  "slug": "text",
  "icon": "text",
  "status": "draft",
  "created_at": "2025-12-08T00:08:05.874Z",
  "updated_at": "2025-12-08T00:08:05.874Z"
}

Update Page Status

patch

Обновление статуса страницы.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
page_idintegerRequired
Body

Схема для обновления статуса страницы

statusstring · enumRequired

Новый статус страницы

Possible values:
Responses
patch
/api/pages/{page_id}/status
PATCH /api/pages/{page_id}/status HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "status": "draft"
}
{
  "id": 1,
  "project_id": 1,
  "name": "text",
  "title": "text",
  "slug": "text",
  "icon": "text",
  "status": "draft",
  "created_at": "2025-12-08T00:08:05.874Z",
  "updated_at": "2025-12-08T00:08:05.874Z"
}

Последнее обновление