Skip to content

Create page

POST
/api/pages

Create page. Admin role is required.

Authorizations

bearerAuth

Bearer token using a JWT

Type
HTTP (Bearer)

Request Body

application/json
JSON
{
  
"title": "More info",
  
"content": "More info about Gancio.",
  
"visible": true
}

Responses

Created page.

application/json
JSON
{
  
"id": 3,
  
"title": "More info",
  
"content": "More info about Gancio.",
  
"visible": true,
  
"slug": "more-info",
  
"createdAt": "2020-01-29T18:10:16.630Z",
  
"updatedAt": "2020-01-30T22:42:14.789Z"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI