Endpoint

Get container metadata

GET
Return container metadata

Path parameters

endpoint_namestringRequired
The endpoint name

Response

This endpoint returns an object
image_url
string
URL of the docker image
exposed_ports
list of objects
Ports exposed by container
labels
map from strings to strings
Labels for container
env
list of strings
Env is a list of environment variables to be used in a container
GET
1curl https://api.octoai.cloud/v1/endpoint/endpoint_name/container/metadata \
2 -H "Authorization: Bearer <token>"
200Retrieved
1{
2 "image_url": "image_url",
3 "exposed_ports": [
4 {
5 "port_num": 1,
6 "proto": "proto"
7 }
8 ],
9 "labels": {
10 "labels": "labels"
11 },
12 "env": [
13 "env"
14 ]
15}