Get a share

get/shares/{shareId}
Internal-Use Only

Retrieves a specified share.

Request Samples

1

Response Samples

1{
2 "type": "read",
3 "sharedWith": "testUser",
4 "sharedWithType": "user",
5 "sharedBy": "currentUser",
6 "resourceUri": "/files/files/4288b305-981f-4b8d-b440-0911eabe3faf",
7 "name": "test file",
8 "enabled": true,
9 "version": 3,
10 "links": [
11 {
12 "method": "GET",
13 "rel": "self",
14 "href": "/authorization/shares/3288b305-981f-4b8d-b440-0911eabc3fac",
15 "uri": "/authorization/shares/3288b305-981f-4b8d-b440-0911eabc3fac",
16 "type": "application/vnd.sas.authorization.share"
17 },
18 {
19 "method": "PUT",
20 "rel": "update",
21 "href": "/authorization/shares/3288b305-981f-4b8d-b440-0911eabc3fac",
22 "uri": "/authorization/shares/3288b305-981f-4b8d-b440-0911eabc3fac",
23 "type": "application/vnd.sas.authorization.share",
24 "responseType": "application/vnd.sas.authorization.share"
25 },
26 {
27 "method": "DELETE",
28 "rel": "delete",
29 "href": "/authorization/shares/3288b305-981f-4b8d-b440-0911eabc3fac",
30 "uri": "/authorization/shares/3288b305-981f-4b8d-b440-0911eabc3fac"
31 }
32 ],
33 "id": "3288b305-981f-4b8d-b440-0911eabc3fac",
34 "modifiedTimestamp": "2016-08-27T04:09:42.150Z",
35 "createdTimestamp": "2016-08-27T04:09:42.150Z",
36 "createdBy": "currentUser",
37 "modifiedBy": "currentUser"
38}

Path Parameters

NameTypeRequiredDescription
shareId
string
true

The ID of the share to retrieve.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundNo share with the specified ID was found.Schema