Creates or updates the image for the given type and resolution.
NOTE: The image file must have the name image in the multipart form data
:type: icon, logo, thumbnail, background, footer, strip
:resolution: normal, high
https://api.passslot.com/v1/templates/:id/images/:type/:resolution
POST https://api.passslot.com/v1/templates/1/images/thumbnail/normal
------------------------------330184f75e21 Content-Disposition: form-data; name="image"; filename="icon.png" Content-Type: application/octet-stream .PNG imagedata
{ "type": "thumbnail", "urls": { "normal": "http://lh5.ggpht.com/GUv1BNzuC4gghq" } }
HTTP Method | POST |
API Version | 1 |
Requires Authentication? | Yes |
Request Format | Multipart Form |
Request Object | Image File |
Response Format | JSON |
Response Object | Pass Image |