Skip to main content
POST
/
pages
/
faq
Create Faq Page
curl --request POST \
  --url http://localhost:8080/pages/faq \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "content": "<string>",
  "language": "ru",
  "display_order": 1,
  "is_active": true
}
'
{
  "id": 123,
  "language": "<string>",
  "title": "<string>",
  "content": "<string>",
  "display_order": 123,
  "is_active": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "content_pages": [
    "<string>"
  ]
}

Body

application/json
title
string
required
Required string length: 1 - 255
content
string
required
language
string
default:ru

Язык создаваемой страницы

Required string length: 2 - 10
display_order
integer | null

Порядок отображения (если не указан — будет рассчитан автоматически)

Required range: x >= 0
is_active
boolean | null
default:true

Начальный статус активности страницы

Response

Successful Response

id
integer
required
language
string
required
title
string
required
content
string
required
display_order
integer
required
is_active
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
content_pages
string[]