Get project resources

get/projects/{projectId}/resources
Internal-Use Only

Returns a list of project resources. Standard paging, filtering, and sorting options are available. The media type of the returned collection items is application/vnd.sas.project.resource. Default sorting for this collection is name:ascending. HEAD is also supported and returns status and headers only.

Request Samples

1

Response Samples

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 "resourceUri": "http://example.com",
24 "version": 0,
25 "properties": {
26 "property1": "string",
27 "property2": "string"
28 },
29 "id": "string",
30 "name": "string",
31 "description": "string",
32 "contentType": "string",
33 "statusCode": 0,
34 "errorMessage": "string",
35 "createdBy": "string",
36 "creationTimeStamp": "2019-08-24T14:15:22Z",
37 "modifiedBy": "string",
38 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
39 "links": [
40 {
41 "method": "string",
42 "rel": "string",
43 "uri": "string",
44 "href": "string",
45 "title": "string",
46 "type": "string",
47 "itemType": "string",
48 "responseType": "string",
49 "responseItemType": "string"
50 }
51 ]
52 }
53 ]
54}

Path Parameters

NameTypeRequiredDescription
projectId
string<object-id>
true

The identifier of a specific project.

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

The criteria for filtering the resources. See Filtering in REST APIs.

limit
integer<int64>
false

Maximum number of resources to return. The default is 20.

sortBy
string<sort-criteria>
false

The criteria for sorting the resources. See Sorting in REST APIs.

start
integer<int64>
false

The offset of the first resource to return. The default is 0.

Responses

StatusMeaningDescription
200OKThe request succeeded. The project resources were returned.Schema
404Not FoundThe project does not exist.Schema