Website

Get image from collection

Last update: 12.12.2023

GET: https://www.autovit.ro/api/open/imageCollections/:id/images/:imageId

Permission: read

Header

Field Type Description
User-Agent string Account email.

Parameter

Field Type Description
id Number Images collection id
imageId Number Id of requested image

Example request:
		GET /imageCollections/821165357/images/1 HTTP/1.1

User-Agent: $USER_EMAIL
Content-Type: application/json
Authorization: Bearer $ACCESS_TOKEN			
		
Copied to clipboard
Success response:
		HTTP/1.1 200 OK
{
    "0": "http://lorempixel.com/732/488/transport/1/",
    "1": "http://lorempixel.com/148/110/transport/1/",
    "2": "http://lorempixel.com/320/240/transport/1/",
    "3": "http://lorempixel.com/1080/720/transport/1/"
}			
		
Copied to clipboard
Error response example:
		HTTP/1.1 404 Not Found
{
    "error":
    {
        "type": "NotFoundException",
        "message": "Resource not found"
    }
}			
		
Copied to clipboard