Skip to content

Get page

GET
/api/pages/{page}

Get page by slug. If admin role, all pages are shown, otherwise only visible pages.

Authorizations

bearerAuth

Bearer token using a JWT

Type
HTTP (Bearer)

Parameters

Path Parameters

page*
Type
string
Required
Example"more-info"

Responses

The page with slug 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
Variables
Key
Value

Samples

Powered by VitePress OpenAPI