Get all shares for an automation project
get/projects/{projectId}/shares
Retrieve a collection of shares for the specified automation project. This endpoint returns users and groups that have been granted access to the project.
1{2 "name": "shares",3 "accept": "application/vnd.sas.collection+json",4 "count": 2,5 "start": 0,6 "limit": 0,7 "version": 6,8 "links": [9 {10 "method": "GET",11 "rel": "up",12 "href": "/mlPipelineAutomation/projects/project-123",13 "uri": "/mlPipelineAutomation/projects/project-123",14 "type": "application/vnd.sas.analytics.ml.pipeline.automation.project"15 },16 {17 "method": "GET",18 "rel": "self",19 "href": "/mlPipelineAutomation/projects/project-123/shares",20 "uri": "/mlPipelineAutomation/projects/project-123/shares",21 "type": "application/vnd.sas.collection+json"22 },23 {24 "method": "POST",25 "rel": "createShare",26 "href": "/mlPipelineAutomation/projects/project-123/shares",27 "uri": "/mlPipelineAutomation/projects/project-123/shares",28 "type": "application/vnd.sas.analytics.ml.pipeline.automation.project.share"29 }30 ],31 "items": [32 {33 "id": "share-456",34 "projectId": "project-123",35 "shareType": "readEditShare",36 "sharedWith": "username2",37 "sharedWithType": "user",38 "createdBy": "username1",39 "modifiedBy": "username1",40 "creationTimeStamp": "2024-08-28T10:30:00.000Z",41 "modifiedTimeStamp": "2024-08-28T10:30:00.000Z",42 "links": [43 {44 "method": "GET",45 "rel": "self",46 "href": "/mlPipelineAutomation/projects/project-123/shares/share-456",47 "uri": "/mlPipelineAutomation/projects/project-123/shares/share-456",48 "type": "application/vnd.sas.analytics.ml.pipeline.automation.project.share"49 },50 {51 "method": "GET",52 "rel": "up",53 "href": "/mlPipelineAutomation/projects/project-123/shares",54 "uri": "/mlPipelineAutomation/projects/project-123/shares",55 "type": "application/vnd.sas.collection"56 },57 {58 "method": "GET",59 "rel": "project",60 "href": "/mlPipelineAutomation/projects/project-123",61 "uri": "/mlPipelineAutomation/projects/project-123",62 "type": "application/vnd.sas.analytics.ml.pipeline.automation.project"63 },64 {65 "method": "PUT",66 "rel": "update",67 "href": "/mlPipelineAutomation/projects/project-123/shares/share-456",68 "uri": "/mlPipelineAutomation/projects/project-123/shares/share-456",69 "type": "application/vnd.sas.analytics.ml.pipeline.automation.project.share"70 },71 {72 "method": "DELETE",73 "rel": "delete",74 "href": "/mlPipelineAutomation/projects/project-123/shares/share-456",75 "uri": "/mlPipelineAutomation/projects/project-123/shares/share-456"76 }77 ]78 }79 ]80}