Get the summary for a code file(Deprecated)

get/codeFiles/{codeFileId}
Internal-Use Only

Returns the summary representation of the specified code file. This is deprecated. Use endpoint /codeFiles/{codeFileId} with Accept header as application/vnd.sas.summary+json.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2021-05-06T20:21:04.420Z",
3 "modifiedTimeStamp": "2021-05-06T20:21:04.882Z",
4 "createdBy": "sasdemo",
5 "modifiedBy": "sasdemo",
6 "id": "cd404a82-af5b-4835-9672-9730470a6be8",
7 "type": "decisionDS2CodeFile",
8 "name": "add_cf",
9 "links": [
10 {
11 "method": "GET",
12 "rel": "up",
13 "href": "/decisions/codeFiles",
14 "uri": "/decisions/codeFiles",
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",
22 "uri": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8",
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",
29 "uri": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8",
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",
36 "uri": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8",
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",
49 "uri": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8",
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",
56 "uri": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8"
57 },
58 {
59 "method": "GET",
60 "rel": "revisions",
61 "href": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions",
62 "uri": "/decisions/codeFiles/cd404a82-af5b-4835-9672-9730470a6be8/revisions",
63 "type": "application/vnd.sas.collection"
64 }
65 ],
66 "version": 2
67}

Path Parameters

NameTypeRequiredDescription
codeFileId
string
true

The unique identifier for the code file.

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

Responses

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