List Pages
Changed onReturns the tree view of custom pages that have been created for this portal. The full tree is returned in one response; this endpoint is not paginated.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/portals/{portalId}/pages
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Path parameters
ID of the portal.
Query parameters
Sorts a collection of portal pages. Supported sort attributes are:
- created_at
- updated_at
- slug
- title
- visibility
Filter pages returned in the response.
{
"created_at": {
"eq": "2022-03-30T07:20:50Z"
},
"updated_at": {
"eq": "2022-03-30T07:20:50Z"
}
}Response
Tree of custom pages in a portal (nested children). Not paginated.
Example response
{
"data": [
{
"id": "437c7192-fea0-4f35-8478-c8d57783f8c1",
"slug": "/my-page",
"title": "My Page",
"visibility": "public",
"status": "unpublished",
"description": "A custom page",
"created_at": "2021-01-01T00:00:00Z",
"updated_at": "2021-01-01T00:00:00Z",
"parent_page_id": null,
"children": []
}
]
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
404.00enum value to theresponse property for the response status
- warning