avl_tag_image
To get the image of a tag (passenger), use the following request:
http://<host>/avl_tag_image/<rid>/<tag_id>/<max_border>/<any>.png?sid=<text>&b=<uint>
The checksum of the tag image is returned in the ck key of the Tags (passengers) data.
Parameters
The required parameters are marked with an asterisk (*).
| Name | Description |
|---|---|
| rid* | Resource ID. |
| tag_id* | Tag ID. |
| max_border* | Maximum image size (from 16 to 1024 pixels, recommended: 32). If the value is 0 or outside this range, the image is returned in its original size. |
| any | Any value. Specified if it is necessary to download the image instead of using the cached value. For example, you can use the image checksum from the ck key. |
| sid* | Session ID. |
| b | Maximum image size. If specified, it’s used instead of the max_border value. |
To get the image, you must have the View passengers access right to the resource.
Response
If the request is completed successfully, an image in the PNG format is returned. If the session ID is invalid, the resource or tag image isn’t found, or you have no access right to the resource, the image isn’t returned.