Get list consumers
get/lists/{listId}/consumers
Gets the consumers of a list.
1{2 "consumerCount": 3,3 "consumers": [4 {5 "relationshipId": "00eda357-74bf-4ff3-b8ce-791b282ba4b2,",6 "relationshipUri": "/catalog/instances/00eda357-74bf-4ff3-b8ce-791b282ba4b2,",7 "relationshipDefinitionId": "c525acd7-5c99-4929-ae1e-f75733034b8c,",8 "consumerId": "04ecad55-b9c1-4d63-8cfa-f72782798b0c,",9 "consumerUri": "/catalog/instances/04ecad55-b9c1-4d63-8cfa-f72782798b0c"10 },11 {12 "relationshipId": "5832f54b-4117-4793-81f7-3c4a507528d1,",13 "relationshipUri": "/catalog/instances/5832f54b-4117-4793-81f7-3c4a507528d1,",14 "relationshipDefinitionId": "c525acd7-5c99-4929-ae1e-f75733034b8c,",15 "consumerId": "9de13858-6bed-49e4-aae7-7298e819a4cb,",16 "consumerUri": "/catalog/instances/9de13858-6bed-49e4-aae7-7298e819a4cb"17 },18 {19 "relationshipId": "51eedf3f-7306-4956-af99-5d05fa6fdd37",20 "relationshipUri": "/catalog/instances/51eedf3f-7306-4956-af99-5d05fa6fdd37",21 "relationshipDefinitionId": "2eb6ed06-25b3-467b-b92e-6f18e9dd0627",22 "consumerId": "01991936-cec2-42e7-8b73-a0c3d777631f,",23 "consumerUri": "/catalog/instances/01991936-cec2-42e7-8b73-a0c3d777631f"24 }25 ],26 "links": [27 {28 "method": "GET,",29 "rel": "self,",30 "href": "/listData/lists/2c22d72a-b30b-453a-aa05-c9a77f0a7747/consumers",31 "uri": "/listData/lists/2c22d72a-b30b-453a-aa05-c9a77f0a7747/consumers",32 "responseType": "application/vnd.sas.listdata.consumers+json"33 }34 ]35}
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
403 | Forbidden | The user did not have the necessary permissions. | Schema | |
404 | Not Found | No item exists at the requested path. | Schema | |
500 | Internal Server Error | The request could not be fulfilled because of an unexpected server error. | Schema |