Images

JA
Last updated 4 months ago

get
Get List of Images

https://sharedcloud.io
/api/v1/images/
This endpoint allows you to get the list of images
Request
Response
Headers
Authorization
required
string
Authentication token
200: OK
List of Images successfully retrieved.
[
{
"uuid": "24b310f8-1405-4928-914f-d5c91272f88a",
"current_server_time": "05-10-2018 16:45:36",
"num_installations": 3,
"registry_path": "sharedcloud/web-crawling-python36:latest",
"updated_at": "22-09-2018 00:45:50",
"created_at": "22-09-2018 00:45:50",
"name": "web-crawling",
"description": "An Image containing Python3.6 and web crawling libraries such as requests, bs4, lxml and Scrapy",
"requires_gpu": false,
"runtime": "python36",
"tag": "latest"
}
]
401: Unauthorized
Invalid credentials.
{
"detail": "Invalid token."
}

get
Get Image

https://sharedcloud.io
/api/v1/images/:uuid/
This endpoint allows you to get a single image
Request
Response
Path Parameters
uuid
required
string
uuid of the image
Headers
Authorization
required
string
Authentication token
200: OK
Image successfully retrieved.
{
"uuid": "2413a0f8-c105-4928-914f-d5c93173f88a",
"current_server_time": "05-10-2018 16:45:36",
"num_installations": 3,
"registry_path": "sharedcloud/web-crawling-python36:latest",
"updated_at": "22-09-2018 00:45:50",
"created_at": "22-09-2018 00:45:50",
"name": "web-crawling",
"description": "An Image containing Python3.6 and web crawling libraries such as requests, bs4, lxml and Scrapy",
"requires_gpu": false,
"runtime": "python36",
"tag": "latest"
}
401: Unauthorized
Invalid credentials.
{
"detail": "Invalid token."
}
404: Not Found
Image not found.
{
"detail": "Not found."
}