Get the summary for a code file revision(Deprecated)

get/codeFiles/{codeFileId}/revisions/{revisionId}
Internal-Use Only

Returns the summary representation of the specified code file revision. This is deprecated. Please use endpoint /codeFiles/{codeFileId}/revisions/{revisionId} with Accept header application/vnd.sas.summary+json.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2021-05-06T20:21:04.490Z",
3 "modifiedTimeStamp": "2021-05-06T20:21:04.490Z",
4 "createdBy": "sasdemo",
5 "modifiedBy": "sasdemo",
6 "id": "f02aa26d-af06-4198-9705-2306bad711a1",
7 "type": "decisionDS2CodeFile",
8 "name": "add_cf",
9 "links": [
10 {
11 "method": "GET",
12 "rel": "up",
13 "href": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions",
14 "uri": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions",
15 "type": "application/vnd.sas.collection",
16 "itemType": "application/vnd.sas.summary"
17 },
18 {
19 "method": "GET",
20 "rel": "self",
21 "href": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions/f02aa26d-af06-4198-9705-2306bad711a1",
22 "uri": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions/f02aa26d-af06-4198-9705-2306bad711a1",
23 "type": "application/vnd.sas.decision.code.file"
24 },
25 {
26 "method": "PUT",
27 "rel": "update",
28 "href": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions/f02aa26d-af06-4198-9705-2306bad711a1",
29 "uri": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions/f02aa26d-af06-4198-9705-2306bad711a1",
30 "type": "application/vnd.sas.decision.code.file"
31 },
32 {
33 "method": "GET",
34 "rel": "alternate",
35 "href": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions/f02aa26d-af06-4198-9705-2306bad711a1",
36 "uri": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions/f02aa26d-af06-4198-9705-2306bad711a1",
37 "type": "application/vnd.sas.summary"
38 },
39 {
40 "method": "GET",
41 "rel": "content",
42 "href": "/files/files/2110f410-bb15-41d4-a0a5-e707fececfe9/content",
43 "uri": "/files/files/2110f410-bb15-41d4-a0a5-e707fececfe9/content"
44 },
45 {
46 "method": "GET",
47 "rel": "decisionStepCode",
48 "href": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions/f02aa26d-af06-4198-9705-2306bad711a1",
49 "uri": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions/f02aa26d-af06-4198-9705-2306bad711a1",
50 "type": "application/vnd.sas.decision.step.code"
51 },
52 {
53 "method": "DELETE",
54 "rel": "delete",
55 "href": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions/f02aa26d-af06-4198-9705-2306bad711a1",
56 "uri": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions/f02aa26d-af06-4198-9705-2306bad711a1"
57 }
58 ],
59 "version": 2
60}

Path Parameters

NameTypeRequiredDescription
codeFileId
string
true

The unique identifier for the code file.

Examples:
"981ac81f-ad95-46ae-a101-6846683364c5"
revisionId
string
true

The unique identifier for the code file revision.

Examples:
"cd942f3c-60a0-4b16-9184-4cb8921fb0eb"

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundNo code file revision exists at the requested path.HeadersSchema