Get the collection of audit actions

get/audit/actions
Internal-Use Only

Returns a collection of audit actions. The default sort is action:ascending:primary. Requires administrative privileges. This collection supports only basic filtering. In addition, only a single sort is supported, and sort strength is ignored.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "self",
6 "href": "/clinicalRepository/audit/actions?action=downloaded&sortBy=action:ascending:primary&start=0&limit=10",
7 "uri": "/clinicalRepository/audit/actions?action=downloaded&sortBy=action:ascending:primary&start=0&limit=10",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.clinical.audit.action+json"
10 },
11 {
12 "method": "GET",
13 "rel": "collection",
14 "href": "/clinicalRepository/audit/actions",
15 "uri": "/clinicalRepository/audit/actions",
16 "type": "application/vnd.sas.collection",
17 "itemType": "application/vnd.sas.clinical.audit.action+json"
18 }
19 ],
20 "name": "actions",
21 "accept": "application/vnd.sas.clinical.audit.action+json",
22 "start": 0,
23 "count": 7,
24 "items": [
25 {
26 "version": 1,
27 "typeId": "sasdataset",
28 "action": "downloaded",
29 "displayName": "Downloaded"
30 },
31 {
32 "version": 1,
33 "typeId": "rprogram",
34 "action": "downloaded",
35 "displayName": "Downloaded"
36 },
37 {
38 "version": 1,
39 "typeId": "file",
40 "action": "downloaded",
41 "displayName": "Downloaded"
42 },
43 {
44 "version": 1,
45 "typeId": "pdf",
46 "action": "downloaded",
47 "displayName": "Downloaded"
48 },
49 {
50 "version": 1,
51 "typeId": "sasprogram",
52 "action": "downloaded",
53 "displayName": "Downloaded"
54 },
55 {
56 "version": 1,
57 "typeId": "rds",
58 "action": "downloaded",
59 "displayName": "Downloaded"
60 },
61 {
62 "version": 1,
63 "typeId": "rdata",
64 "action": "downloaded",
65 "displayName": "Downloaded"
66 }
67 ],
68 "limit": 10,
69 "version": 2
70}

Query Parameters

NameTypeRequiredDescription
actionFilter
string
false

Filter criteria for the action name. Audit Actions supports basic filtering only. See Filtering in REST APIs.

Examples:
"deleted"
displayNameFilter
string
false

Filter criteria for the action display name. Audit Actions supports basic filtering only. See Filtering in REST APIs.

Examples:
"Deleted"
limit
integer
false

The maximum number of items to return. Defaults to 10. The maximum cannot exceed 500.

Examples:
10
sortBy
string<sort-criteria>
false

Sorts the returned types. See Sorting in REST APIs.

Example:
"action:ascending:primary"
start
integer
false

0-based offset of the first type to return. Defaults to 0.

Examples:
10
typeIdFilter
string
false

Filter criteria for the action type ID. Audit Actions supports basic filtering only. See Filtering in REST APIs.

Examples:
"folder"

Responses

StatusMeaningDescription
200OKOK.Schema