Query Blob Data
Fetching a single image
Endpoint
| URL | http://capture-vintecc.com/api/image |
| METHOD | GET |
Headers
| Header | Value |
|---|---|
| AuthVersion | V0.0.1 |
| Authorization | [Bearer / ApiToken] <Received auth token> |
Parameters (Query String)
| Parameter | Reason |
|---|---|
| BlobUrl | Blob 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
| URL | http://capture-vintecc.com/api/images |
| METHOD | GET |
Headers
| Header | Value |
|---|---|
| AuthVersion | V0.0.1 |
| Authorization | [Bearer / ApiToken] <Received auth token> |
Parameters (Query String)
| Parameter | Reason |
|---|---|
| BlobUrls | Blob 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..."
}
]
}