Get manifest for a published object

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

Returns the manifest for the object (model, decision, or rule set) that was published to a container.

Request Samples

1

Response Samples

1{
2 "baseImage": {
3 "name": "baseImageName"
4 },
5 "component": {
6 "name": "component name"
7 },
8 "content": {
9 "creationTimeStamp": "0001-01-01T00:00:00Z",
10 "modifiedTimeStamp": "0001-01-01T00:00:00Z",
11 "modelName": "Logistic_Regression_0110_1",
12 "principalID": "c801e3c5-9ecf-43bf-bd30-c7581eae34f2",
13 "codeType": "ds1",
14 "code": "ds2 code here",
15 "sourceURI": "/modelRepository/models/c801e3c5-9ecf-43bf-bd30-c7581eae34f2",
16 "modelID": "c801e3c5-9ecf-43bf-bd30-c7581eae34f2",
17 "modelVersionID": 4,
18 "publishLevel": "model",
19 "variableXML": "variable xml"
20 },
21 "creationTimeStamp": "0001-01-01T00:00:00Z",
22 "destination": {
23 "creationTimeStamp": "2022-01-10T22:01:24.902934Z",
24 "createdBy": "sasdemo",
25 "modifiedTimeStamp": "2022-01-10T22:01:24.902934Z",
26 "modifiedBy": "sasdemo",
27 "version": 2,
28 "id": "9342f107-d0be-49ef-be8c-decd26f0698a",
29 "name": "pdgit",
30 "description": "Test for private Docker and remote Git repository.",
31 "destinationType": "privateDocker",
32 "destinationProperties": [
33 {
34 "name": "baseRepoUrl",
35 "value": "hostname/mmtest"
36 },
37 {
38 "name": "kubeUrl",
39 "value": "https://hostname:6443"
40 },
41 {
42 "name": "UserEmail",
43 "value": "mm.test@sas.com"
44 },
45 {
46 "name": "credDomainId",
47 "value": "pdgit"
48 },
49 {
50 "name": "RemoteRepositoryURL",
51 "value": "https://hostname/userid/repositoryprojectname.git"
52 }
53 ],
54 "links": [
55 {
56 "method": "GET",
57 "rel": "up",
58 "href": "/modelPublish/destinations",
59 "uri": "/modelPublish/destinations",
60 "type": "application/vnd.sas.collection"
61 },
62 {
63 "method": "GET",
64 "rel": "self",
65 "href": "/modelPublish/destinations/pdgit",
66 "uri": "/modelPublish/destinations/pdgit",
67 "type": "application/vnd.sas.models.publishing.destination"
68 },
69 {
70 "method": "DELETE",
71 "rel": "delete",
72 "href": "/modelPublish/destinations/pdgit",
73 "uri": "/modelPublish/destinations/pdgit"
74 },
75 {
76 "method": "PUT",
77 "rel": "update",
78 "href": "/modelPublish/destinations/pdgit",
79 "uri": "/modelPublish/destinations/pdgit",
80 "type": "application/vnd.sas.models.publishing.destination"
81 }
82 ]
83 },
84 "destinationName": "pdgit",
85 "id": "7a1127ca-e575-4020-b41b-23518462fec0",
86 "inputVariables": [
87 {
88 "name": "inputVarName"
89 }
90 ],
91 "modifiedTimeStamp": "0001-01-01T00:00:00Z",
92 "outputVariables": [
93 {
94 "name": "outputVarName"
95 }
96 ],
97 "product": {
98 "name": "product name"
99 },
100 "properties": [
101 {
102 "containerKey": "sha256:d3dd5473dab0727f3efff84373b0f8d9fd0721bae35e6d3a50b86bb5dccc4fb5"
103 },
104 {
105 "dockerFileUri": "/files/files/f10d5773-f648-4ff6-86c2-036fa035afdf"
106 },
107 {
108 "imageUrl": "hostname/mmtest/logistic_regression_0110_1:1"
109 }
110 ],
111 "service": {
112 "name": "Model Publish service"
113 },
114 "sourceURI": "/modelRepository/models/c801e3c5-9ecf-43bf-bd30-c7581eae34f2",
115 "tags": "latest"
116}

Path Parameters

NameTypeRequiredDescription
publishId
string
true

The identifier of the published object.

Header Parameters

NameTypeRequiredDescription
Accept
string
false

The media type of the resource.

Responses

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