GET /v1/pages
Service: content · operationId: (none)
Required scopes
(no scope declared — review service config)
Query parameters
brandId(string) —status(string) —page(number,null) —limit(number,null) —
Responses
200 List of pages
{
"type": "object",
"properties": {
"docs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"title": {
"type": "string"
},
"slug": {
"type": "string"
},
"brandId": {
"type": "string"
},
"status": {
"type": "string"
},
"excerpt": {
"type": [
"string",
"null"
]
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"title",
"slug",
"brandId",
"status",
"createdAt",
"updatedAt"
]
}
},
"totalDocs": {
"type": "number"
},
"page": {
"type": "number"
},
"totalPages": {
"type": "number"
},
"hasNextPage": {
"type": "boolean"
},
"hasPrevPage": {
"type": "boolean"
}
},
"required": [
"docs",
"totalDocs",
"hasNextPage",
"hasPrevPage"
]
}Example
curl -X GET https://content.platform.loop.health/v1/pages \
-H "Authorization: Bearer $ACCESS_TOKEN"Related
services/content— service overview- All endpoints — directory across services
- Auth model — how scopes are enforced