Перейти к основному содержанию
POST
/
v1
/
plus
/
manage
/
articles
cURL
curl --request POST \
  --url https://api.example.com/v1/plus/manage/articles/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "order": 1073741823,
  "body": "<string>",
  "active": true,
  "expire_at": "2023-11-07T05:31:56Z",
  "image": "<string>",
  "background": "<string>",
  "extra": "<unknown>"
}
'
{
  "id": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "title": "<string>",
  "order": 1073741823,
  "body": "<string>",
  "active": true,
  "expire_at": "2023-11-07T05:31:56Z",
  "image": "<string>",
  "background": "<string>",
  "extra": "<unknown>"
}

Тело

title
string
обязательно
Maximum string length: 5196
order
integer
Требуемый диапазон: 0 <= x <= 2147483647
body
string | null
active
boolean
expire_at
string<date-time> | null
image
string<uri> | null
background
string<uri> | null
extra
any

Ответ

201 - application/json
id
integer
обязательно
created_at
string<date-time>
обязательно
updated_at
string<date-time>
обязательно
title
string
обязательно
Maximum string length: 5196
order
integer
Требуемый диапазон: 0 <= x <= 2147483647
body
string | null
active
boolean
expire_at
string<date-time> | null
image
string<uri> | null
background
string<uri> | null
extra
any