getDockerImageList
- Print
- PDF
getDockerImageList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Views AI workspace's docker image list.
Requests
Request Parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
search.typeName | YES | String | - Docker image to view - Docker image typeName: tensorflow or pytorch |
Request headers
Request Bodies
- JSON
{ "search": { "typeName": "string" } }
- XML
<?xml version="1.0" encoding="UTF-8"?> <GetAiWorkspaceDockerImageListRequest> <search> <typeName>string</typeName> </search> </GetAiWorkspaceDockerImageListRequest>
Responses
Response bodies
- JSON
{ "dockerImages": { "additionalProp1": [ "string" ], "additionalProp2": [ "string" ], "additionalProp3": [ "string" ] }, "message": "success", "success": true }
- XML
<?xml version="1.0" encoding="UTF-8"?> <GetAiWorkspaceDockerImageListResponse> <success>true</success> <message>success</message> <dockerImages> <additionalProp1>string</additionalProp1> <additionalProp2>string</additionalProp2> <additionalProp3>string</additionalProp3> </dockerImages> </GetAiWorkspaceDockerImageListResponse>
Errors
Examples
Request Examples
- HTTP
POST https://df.apigw.ntruss.com/api/v2/aiworkspaces/getDockerImageList HOST: df.apigw.ntruss.com Content-Type: application/json x-ncp-apigw-timestamp: 1505290625682 x-ncp-iam-access-key: D78BB444D6D3C84CA38A x-ncp-apigw-signature-v2: WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo= { "search": { "typeName": "tensorflow" } }
- BASH
curl -X POST "https://df.apigw.ntruss.com/api/v2/aiworkspaces/getDockerImageList" \ -H "accept: application/json" \ -H "Content-Type: application/json" \ -H "x-ncp-apigw-timestamp:1505290625682" \ -H "x-ncp-iam-access-key:D78BB444D6D3C84CA38A" \ -H "x-ncp-apigw-signature-v2:WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=" \ -d "{ \"search\": { \"typeName\": \"tensorflow\" }}" \
Response examples
HTTP
HTTP Status Description 200 OK BASH
{ "success": true, "dockerImages": { "tensorflow": [ "r2.3.1-py3", "r2.1-py3", "r2.1", "r1.8", "r1.7-py3", "r1.7", "r1.6-py3", "r1.6", "r1.5-py3", "r1.4-py3", "r1.4", "r1.3", "r1.15-py3", "r1.15", "r1.14-py3", "r1.14", "r1.12-py3", "r1.12", "r1.11", "r1.10-py3", "r1.10" ] } }
Was this article helpful?