List all members
get
/swm/rs/v1/spaces/{spaceId}/members
Get the list of user members of a space, including the
owner member (the user who created the space).
For each member listed, the userId and profile image mediaUrl is returned.
If the space is Private, the API user can only retrieve the list for the space of which he/she is also a member.
For each member listed, the userId and profile image mediaUrl is returned.
If the space is Private, the API user can only retrieve the list for the space of which he/she is also a member.
Request
Supported Media Types
- application/json
Path Parameters
-
spaceId: string
The ID of the space
Response
Supported Media Types
- application/json; charset=UTF-8
200 Response
member resource found
404 Response
member resource not found
Examples
Sample Request:
GET swm/rs/v1/spaces/7go4VjU2dK5MkTfHWQHV1l39/members
Sample Response:
{"response":{"code":"200.0","developerMessage":"member resource found" }, "items": [ { "firstName": "Bill", "lastName": "Creator", "userId": "4NoPbTtpr3aODIBj", "mediaUrl": "" }, { "firstName": "John", "lastName": "Doe", "userId": "HPybeVQn86WSRkc9", "mediaUrl": "" } ] }
Possible Error Codes:
{ "code":"403.1","developerMessage":"not space memeber" }