Get the membership of a repository item

get/memberships/{membershipId}

Returns the membership of a repository item.

Request Samples

Response Samples

1{
2 "value": {
3 "version": 1,
4 "id": "8646b35d-5ee5-43cb-860d-12f66c0e7e56",
5 "typeId": "membership",
6 "contextTypeId": "project",
7 "createdBy": "sastest1",
8 "creationTimeStamp": "2023-09-28T01:15:49.143000Z",
9 "createdByDisplayName": "SAS Test User 1 (sastest1)",
10 "modifiedBy": "sastest1",
11 "modifiedTimeStamp": "2023-09-28T01:15:49.143000Z",
12 "modifiedByDisplayName": "SAS Test User 1 (sastest1)"
13 }
14}

Path Parameters

membershipId
string
true

The unique identifier for the repository item for which to retrieve the membership. If this is a context with membership capability, the members of the context are returned. If this is a file, folder, or non-membership context the members of the nearest membership context are returned.

Responses

StatusMeaningDescription
200OK

The request succeeded and the specified membership is returned.

HeadersSchema
404Not Found

The member could not be found.

Schema