Get the membership of a repository item

get/memberships/{membershipId}
Internal-Use Only

Returns the membership of a repository item.

Request Samples

1

Response Samples

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

Path Parameters

NameTypeRequiredDescription
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
200OKThe request succeeded and the specified membership is returned.Schema