Skip to main content

Query Blob Data

Fetching a single image

Endpoint

URLhttp://capture-vintecc.com/api/image
METHODGET

Headers

HeaderValue
AuthVersionV0.0.1
AuthorizationBearer <Received auth token>

Parameters (Query String)

ParameterReason
BlobUrlBlob URL to fetch from Azure blob storage
Width (Optional)Transforms the image so that the width of the resulting image is the input, if no height is passed, the aspect ratio will be respected
Height (Optional)Transforms the image so that the height of the resulting image is the input, if no width is passed, the aspect ratio will be respected
Quality (Optional)Transforms the image so that the quality of the resulting image is the input. This can drastically reduce the size of the result.

Response

The actual image (non base64).

Fetching a multiple images

Endpoint

URLhttp://capture-vintecc.com/api/images
METHODGET

Headers

HeaderValue
AuthVersionV0.0.1
AuthorizationBearer <Received auth token>

Parameters (Query String)

ParameterReason
BlobUrlsBlob URLs to fetch from Azure blob storage ?BlobUrls=url1&BlobUrls=url2
Width (Optional)Transforms the base64 content so that the width of the resulting image is the input, if no height is passed, the aspect ratio will be respected
Height (Optional)Transforms the base64 content so that the height of the resulting image is the input, if no width is passed, the aspect ratio will be respected
Quality (Optional)Transforms the base64 content so that the quality of the resulting image is the input. This can drastically reduce the size of the result.

Response

{
"images": [
{
"url": "https://capturetestserver.blob.core.windows.net/test-images/007108/0/0/1/0/8/010806__+02161200.jpg",
"img": "data:image/jpeg;base64,/9j/4AAQSkZJ..."
}
]
}