headless lms

One space as a member sees it

GET /api/member/communities/{communityId}/spaces/{spaceId}. One space as a member sees it. Headless LMS Communities API reference.

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

For a member of the community: the space with its topics, links, settings and where the viewer stands. A space the viewer cannot open comes back locked, without its content. 404 when the viewer is not a member, the space is not in the community, or it is a by-invite space the viewer is not invited to or a member of.

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"
{  "id": "string",  "name": "string",  "memberCount": -9007199254740991,  "accessRule": "all_members",  "standing": "open",  "locked": true}
{  "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"}