Ghost
List Ghost Posts and Pages
Find drafts and published posts or pages on your connected Ghost site.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| typestring · optional | string | optional | One of: |
| pagenumber · optional | number | optional | — |
| limitnumber · optional | number | optional | — |
| statusstring · optional | string | optional | One of: |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"elements",
"returned",
"pagination"
],
"properties": {
"elements": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"id",
"title",
"slug",
"status",
"html",
"meta_title",
"meta_description",
"updated_at",
"url",
"publicUrl"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": [
"string",
"null"
]
},
"html": {
"type": [
"string",
"null"
]
},
"slug": {
"type": [
"string",
"null"
]
},
"type": {
"enum": [
"posts",
"pages"
],
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"publicUrl": {
"type": [
"string",
"null"
]
},
"meta_title": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": "string"
},
"meta_description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"returned": {
"type": "number"
},
"pagination": {
"type": "object",
"required": [
"page",
"limit",
"pages",
"total",
"next",
"prev"
],
"properties": {
"next": {
"type": [
"number",
"null"
]
},
"page": {
"type": "number"
},
"prev": {
"type": [
"number",
"null"
]
},
"limit": {
"type": "number"
},
"pages": {
"type": "number"
},
"total": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}