curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/integration/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>"
}
},
"likes": [
"<string>"
],
"disableComments": true,
"disableLikes": true,
"displayBannerOnPost": true,
"status": "archived",
"tags": [
{
"id": "<string>",
"organisationId": "<string>",
"value": "<string>",
"config": {
"filtering": [
"achievement"
],
"display": [
"achievement"
],
"iconifyIcon": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"campaigns": [
{
"id": "<string>",
"organisationId": "<string>",
"name": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"status": "archived",
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"availableAsTemplateForOrganisations": [
"<string>"
],
"isGlobalTemplate": true,
"createdAt": "<string>",
"createdBy": "<string>",
"totalComments": 123,
"totalLikes": 123,
"content": "<string>",
"startsAt": "<string>",
"expiresAt": "<string>",
"featured": true,
"updatedAt": "<string>",
"updatedBy": "<string>"
}
]
}Retrieve a paginated list of posts.
Supported query parameters:
curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/integration/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>"
}
},
"likes": [
"<string>"
],
"disableComments": true,
"disableLikes": true,
"displayBannerOnPost": true,
"status": "archived",
"tags": [
{
"id": "<string>",
"organisationId": "<string>",
"value": "<string>",
"config": {
"filtering": [
"achievement"
],
"display": [
"achievement"
],
"iconifyIcon": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"campaigns": [
{
"id": "<string>",
"organisationId": "<string>",
"name": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"status": "archived",
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"availableAsTemplateForOrganisations": [
"<string>"
],
"isGlobalTemplate": true,
"createdAt": "<string>",
"createdBy": "<string>",
"totalComments": 123,
"totalLikes": 123,
"content": "<string>",
"startsAt": "<string>",
"expiresAt": "<string>",
"featured": true,
"updatedAt": "<string>",
"updatedBy": "<string>"
}
]
}The language to return the posts in. If not provided, the default language for the organisation will be used.
1 <= x <= 100x >= 0Successful response
Show child attributes
The id of the post
The organisation that the post belongs to
The community that the post belongs to
The details of this post such as title, description, bannerUrl, logoUrl
Show child attributes
The title of the entity
The description of the entity
Array of user IDs who liked this post
Whether comments are disabled on this post. Defaults to false.
Whether likes are disabled on this post. Defaults to false.
Whether to display a banner on this post. Defaults to false.
The status of the post
archived, draft, expired, live, scheduled The tags the post is linked to
Show child attributes
The id of the tag
The id of the organisation the tag belongs to
The value of the tag
1The configuration of a tag
Show child attributes
The filtering options for the tag
achievement, action, community, challenge, post, reward, reward-asset, reward-entry The display options for the tag
achievement, action, community, challenge, post, reward, reward-asset, reward-entry The iconify icon for the tag
The date the tag was created
The date the tag was last updated
The campaigns the post is linked to
Show child attributes
The id of the campaign
The id of the organisation the campaign belongs to
The name of the campaign
The start date of the campaign
The end date of the campaign
The status of the campaign
archived, draft, expired, live, scheduled The date the campaign was created
The date the campaign was last updated
The organisations that the post is available as a template for
Whether the post is a global template
The date when this post was created
The user who created this post
The total number of comments on this post
The total number of likes on this post
The content of the post in HTML. Example:
This is a placeholder post to demonstrate the capabilities of the editor. Feel free to explore and edit this content to see what you can do!
You can use bold, italic, underline, and strikethrough text to emphasize your content.
You can create a bullet list:
Item 1
Item 2
Item 3
Or a numberered list:
First Item
Second Item
Third Item
You can also add links to your content. For example, visit Example.com for more information.
Including images is simple. Here is an example image:
You can use blockquotes to highlight important quotes or information:
"This is a sample blockquote. It's great for highlighting quotes or important information in your post."
Feel free to edit this content and explore the various features of the editor. Happy posting!
The date when this post becomes visible.
The date when this post expires.
The date when this post was updated
The user who last updated this post
Was this page helpful?