The moderation queue of a space (staff)
GET /api/communities/{communityId}/spaces/{spaceId}/queue. The moderation queue of a space (staff). Headless LMS Communities API reference.
Staff only (owner, admin, instructor). 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
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/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"}Remove a person from a space (staff) POST
POST /api/communities/{communityId}/spaces/{spaceId}/members/{orgUserId}/removal. Remove a person from a space (staff). Headless LMS Communities API reference.
Publish a post that is awaiting review (staff) POST
POST /api/communities/{communityId}/posts/{postId}/approval. Publish a post that is awaiting review (staff). Headless LMS Communities API reference.