Get Dockerfile metadata for a published model

get/models/{publishId}/dockerfile
Internal-Use Only

Returns the Dockerfile metadata for a model that was published to a container.

Request Samples

1

Response Samples

1{
2 "contentDisposition": "attachment; filename=\"Dockerfile\"",
3 "contentType": "application/octet-stream",
4 "createdBy": "sasdemo",
5 "creationTimeStamp": "2021-09-19T16:05:14.754Z",
6 "encoding": "UTF-8",
7 "id": "509cfb90-eeb2-4852-be8e-b570986eacb2",
8 "links": [
9 {
10 "method": "GET",
11 "rel": "self",
12 "href": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2",
13 "uri": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2",
14 "type": "application/vnd.sas.file"
15 },
16 {
17 "method": "GET",
18 "rel": "alternate",
19 "href": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2",
20 "uri": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2",
21 "type": "application/vnd.sas.summary"
22 },
23 {
24 "method": "PATCH",
25 "rel": "patch",
26 "href": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2",
27 "uri": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2",
28 "type": "application/vnd.sas.file",
29 "responseType": "application/vnd.sas.file"
30 },
31 {
32 "method": "PUT",
33 "rel": "update",
34 "href": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2",
35 "uri": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2",
36 "type": "application/vnd.sas.file",
37 "responseType": "application/vnd.sas.file"
38 },
39 {
40 "method": "DELETE",
41 "rel": "delete",
42 "href": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2",
43 "uri": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2"
44 },
45 {
46 "method": "GET",
47 "rel": "content",
48 "href": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2/content",
49 "uri": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2/content",
50 "type": "application/vnd.sas.file",
51 "responseType": "application/octet-stream"
52 },
53 {
54 "method": "PUT",
55 "rel": "updateContent",
56 "href": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2/content",
57 "uri": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2/content",
58 "type": "application/vnd.sas.file",
59 "responseType": "application/vnd.sas.file"
60 },
61 {
62 "method": "POST",
63 "rel": "copyFile",
64 "href": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2/copy",
65 "uri": "/files/files/509cfb90-eeb2-4852-be8e-b570986eacb2/copy",
66 "responseType": "application/vnd.sas.file"
67 },
68 {
69 "method": "POST",
70 "rel": "create",
71 "href": "/files/files",
72 "uri": "/files/files",
73 "type": "*/*",
74 "responseType": "application/vnd.sas.file"
75 }
76 ],
77 "modifiedBy": "sasdemo",
78 "modifiedTimeStamp": "2021-09-19T16:05:14.754Z",
79 "name": "Dockerfile",
80 "searchable": true,
81 "size": 271,
82 "version": 4
83}

Path Parameters

NameTypeRequiredDescription
publishId
string
true

The identifier of the published model.

Header Parameters

NameTypeRequiredDescription
Accept
string
false

The original media type of the resource.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundThe Dockerfile resource for the published model could not be found.Schema