Get the set of valid roles for a project
get/roles
Returns the set of valid roles for participants of a project. The media type of the returned collection items is application/vnd.sas.project.role. Default sorting for this collection is name:ascending. HEAD is also supported and returns status and headers only.
1{2 "name": "string",3 "start": 0,4 "limit": 0,5 "count": 0,6 "accept": "string",7 "links": [8 {9 "method": "string",10 "rel": "string",11 "uri": "string",12 "href": "string",13 "title": "string",14 "type": "string",15 "itemType": "string",16 "responseType": "string",17 "responseItemType": "string"18 }19 ],20 "version": 0,21 "items": [22 {23 "id": "string",24 "name": "string",25 "description": "string",26 "version": 027 }28 ]29}
Name | Type | Required | Description |
---|---|---|---|
limit | integer<int64> | false | Maximum number of roles to return. The default is 20. |
sortBy | string<sort-criteria> | false | The criteria for sorting the activities. See Sorting in REST APIs. |
start | integer<int64> | false | The offset of the first role to return. The default is 0. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. The set of valid roles for participants of a project was returned. | Schema |