Get deployment descriptor file content for a published object

get/models/{publishId}/deploymentDescriptor/{descriptorName}
Internal-Use Only

Returns the deployment descriptor content for a published object that was published to a container.

Request Samples

1

Response Samples

1apiVersion: v1
2kind: Service
3metadata:
4 annotations:
5 sas.com/component-name: sas-scr-PLACEHOLDER
6 sas.com/tls-enabled-ports: all
7 labels:
8 sas.com/deployment: sas-scr-PLACEHOLDER
9 name: Logistic_Regression_0125
10 namespace: default
11spec:
12 ports:
13 - name: apiserver
14 port: 443
15 protocol: TCP
16 targetPort: 8080
17 selector:
18 app: sas-scr-PLACEHOLDER
19 sessionAffinity: None
20 type: ClusterIP
21status:
22 loadBalancer: {}

Path Parameters

NameTypeRequiredDescription
descriptorName
string
true

The file name of the deployment descriptor.

Examples:
"service.yaml"
publishId
string
true

The identifier of the published object.

Examples:
"094078e7-278a-4719-a704-6e5e65af29e"

Header Parameters

NameTypeRequiredDescription
Accept
string
false

The original media type of the resource.

Examples:
"text/plain"

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundThe deployment descriptor content for the published object could not be found.Schema