Authorizations
Headers
The language to return the posts in. If not provided, the default language for the organisation will be used.
Query Parameters
Required range:
1 <= x <= 100
Required range:
x >= 0
curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/posts \
--header 'x-api-token: <api-key>'
{
"totalCount": 123,
"edges": [
{
"id": "<string>",
"organisationId": "<string>",
"communityId": "<string>",
"details": {
"title": "<string>",
"description": "<string>",
"light": {
"primaryImageUrl": "<string>",
"secondaryImageUrl": "<string>"
},
"dark": {
"primaryImageUrl": "<string>",
"secondaryImageUrl": "<string>"
}
},
"content": "<string>",
"likes": [
"<string>"
],
"disableComments": true,
"disableLikes": true,
"displayBannerOnPost": true,
"status": "archived",
"startsAt": "<string>",
"expiresAt": "<string>",
"featured": true,
"tags": [
"<string>"
],
"campaigns": [
"<string>"
],
"availableAsTemplateForOrganisations": [
"<string>"
],
"isGlobalTemplate": true,
"createdAt": "<string>",
"createdBy": "<string>",
"updatedAt": "<string>",
"updatedBy": "<string>",
"isEditing": true
}
]
}
Retrieve a paginated list of posts.
curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/posts \
--header 'x-api-token: <api-key>'
{
"totalCount": 123,
"edges": [
{
"id": "<string>",
"organisationId": "<string>",
"communityId": "<string>",
"details": {
"title": "<string>",
"description": "<string>",
"light": {
"primaryImageUrl": "<string>",
"secondaryImageUrl": "<string>"
},
"dark": {
"primaryImageUrl": "<string>",
"secondaryImageUrl": "<string>"
}
},
"content": "<string>",
"likes": [
"<string>"
],
"disableComments": true,
"disableLikes": true,
"displayBannerOnPost": true,
"status": "archived",
"startsAt": "<string>",
"expiresAt": "<string>",
"featured": true,
"tags": [
"<string>"
],
"campaigns": [
"<string>"
],
"availableAsTemplateForOrganisations": [
"<string>"
],
"isGlobalTemplate": true,
"createdAt": "<string>",
"createdBy": "<string>",
"updatedAt": "<string>",
"updatedBy": "<string>",
"isEditing": true
}
]
}
The language to return the posts in. If not provided, the default language for the organisation will be used.
1 <= x <= 100
x >= 0
Was this page helpful?