Get project activities

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

Returns a list of project activities. Standard paging, filtering, and options are available. The media type of the returned collection items is application/vnd.sas.project.activity. Default sorting for this collection is timeStamp: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 "resourceName": "string",
25 "resourceType": "string",
26 "projectUris": [
27 "http://example.com"
28 ],
29 "action": "string",
30 "user": "string",
31 "timeStamp": "2019-08-24T14:15:22Z",
32 "properties": {
33 "property1": "string",
34 "property2": "string"
35 },
36 "version": 0
37 }
38 ]
39}

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 activities. See Filtering in REST APIs.

limit
integer<int64>
false

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

since
string<date-time>
false

To get activities occurred since the timestamp.

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 activity to return. The default is 0.

Responses

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