Get a report

get/reports/{reportId}
Internal-Use Only

Returns the specified report, including ETag header. See Conditional Operations.

Request Samples

1

Response Samples

1{
2 "id": "f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
3 "name": "Sample Report",
4 "description": "Description of a sample report.",
5 "creationTimeStamp": "2019-08-24T14:15:22Z",
6 "createdBy": "user1",
7 "modifiedTimeStamp": "2019-08-24T14:15:22Z",
8 "modifiedBy": "user1",
9 "links": [
10 {
11 "method": "GET",
12 "rel": "self",
13 "href": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
14 "uri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
15 "type": "application/vnd.sas.report"
16 },
17 {
18 "method": "GET",
19 "rel": "alternate",
20 "href": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
21 "uri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
22 "type": "application/vnd.sas.summary"
23 },
24 {
25 "method": "PUT",
26 "rel": "update",
27 "href": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
28 "uri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf",
29 "type": "application/vnd.sas.report",
30 "responseType": "application/vnd.sas.report"
31 },
32 {
33 "method": "PUT",
34 "rel": "updateContent",
35 "href": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf/content",
36 "uri": "/reports/reports/f8b66d4b-d67a-4e4e-a66d-b6f06b1820bf/content",
37 "type": "application/vnd.sas.report.content",
38 "responseType": "application/vnd.sas.report.content"
39 }
40 ],
41 "imageUris": {
42 "icon": "/reports/icons/report.gif"
43 },
44 "version": 1
45}

Path Parameters

NameTypeRequiredDescription
reportId
string<object-id>
true

Report id for this operation.

Header Parameters

NameTypeRequiredDescription
If-Modified-Since
string
false

Optional modifiedTimeStamp of the resource. On a match, 304 (not modified) is returned.

If-None-Match
string
false

Optional ETag. On a match, 304 (not modified) is returned.

Responses

StatusMeaningDescription
200OKReturned the report and `ETag` header.HeadersSchema
404Not FoundReport does not exist.Schema