headless lms

The moderation queue of a space you moderate

GET /api/member/communities/{communityId}/spaces/{spaceId}/queue. The moderation queue of a space you moderate. Headless LMS Posts API reference.

GET
/api/member/communities/{communityId}/spaces/{spaceId}/queue

For a moderator who can open the space. Posts awaiting review, and the open flags on posts and on comments in the space. Each list holds at most the 100 oldest entries: pending posts by creation, flags by when they were raised; working the queue brings in the next ones.

Path Parameters

communityId*string
spaceId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/member/communities/string/spaces/string/queue"
{  "pending": [    {      "orgId": "string",      "id": "string",      "communityId": "string",      "spaceId": "string",      "orgUserId": "string",      "topicId": "string",      "title": "string",      "body": "string",      "extra": null,      "coverAssetId": "string",      "status": "draft",      "scheduledAt": "2019-08-24T14:15:22Z",      "publishedAt": "2019-08-24T14:15:22Z",      "removedBy": "string",      "pinned": true,      "commentsClosed": true,      "reactionsEnabled": true,      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "coverUrl": "string",      "author": {        "id": "string",        "firstName": "string",        "lastName": "string",        "displayName": "string",        "headline": "string",        "image": "string",        "imageAssetId": "string",        "imageUrl": "string",        "role": "owner"      },      "reactions": {        "property1": 0,        "property2": 0      },      "viewerReaction": "string",      "commentCount": 0,      "following": true,      "bookmarked": true    }  ],  "flags": [    {      "orgId": "string",      "id": "string",      "postId": "string",      "orgUserId": "string",      "reason": "string",      "resolvedAt": "2019-08-24T14:15:22Z",      "resolution": "dismissed",      "resolvedBy": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "commentFlags": [    {      "id": "string",      "orgId": "string",      "commentId": "string",      "orgUserId": "string",      "reason": "string",      "resolvedAt": "2019-08-24T14:15:22Z",      "resolution": "dismissed",      "resolvedBy": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "comment": {        "id": "string",        "postId": "string",        "body": "string",        "orgUserId": "string",        "status": "pending"      }    }  ]}
{  "error": "string",  "message": "string",  "requestId": "string",  "issues": [    {      "path": "string",      "message": "string"    }  ]}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}
{  "error": "string",  "message": "string",  "requestId": "string"}