Skip to main content
POST
/
news
/
commands
/
add-news
cURL
curl --request POST \
  --url https://api.example.com/news/commands/add-news \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "global": true,
  "demoUrl": "<string>"
}
'
{
  "id": "<string>",
  "title": "<string>",
  "description": "<string>",
  "date": "<string>",
  "demoUrl": "<string>"
}

Body

application/json
title
string
required
description
string
required
global
boolean
required
demoUrl
string | null

Response

200 - application/json

addNews 200 response

id
string
required
title
string
required
description
string
required
date
string
required
demoUrl
string | null