Get available versions of report content

get/versions
Internal-Use Only

Return all available versions of report content.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "collection",
6 "href": "/reports/versions",
7 "uri": "/reports/versions",
8 "type": "application/vnd.sas.collection"
9 },
10 {
11 "method": "GET",
12 "rel": "self",
13 "href": "/reports/versions?sortBy=name&start=0&limit=20",
14 "uri": "/reports/versions?sortBy=name&start=0&limit=20",
15 "type": "application/vnd.sas.collection"
16 }
17 ],
18 "name": "report-versions",
19 "accept": "application/vnd.sas.report.version",
20 "start": "0",
21 "count": "2",
22 "items": [
23 {
24 "schema": "4.0.2",
25 "mediaType": "1",
26 "version": "1"
27 },
28 {
29 "schema": "4.4.0",
30 "mediaType": "9",
31 "version": "1"
32 }
33 ],
34 "limit": "20",
35 "version": "2"
36}

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

The criteria for filtering. Report version attributes that can be used are schema, mediaType, and version. See Filtering in REST APIs.

limit
integer
false

Maximum number of items to return.

Default:
20
sortBy
string<sort-criteria>
false

The criteria for sorting. Report version attributes that can be used are schema, mediaType, and version. See Sorting in REST APIs.

start
integer
false

0-based offset of the first item to return.

Default:
0

Responses

StatusMeaningDescription
200OKThe report versions collection.Schema