Dossier Logos
POST
dossiers/logos
Uploads the specified logo image and returns a filename. The logo image can then be added to a dossier using the Dossier Creation endpoint.
Request#
curl -X POST 'https://api.pricehubble.com/api/v1/dossiers/logos' \
-H 'Authorization: Bearer 74126eab0a9048d993bda4b1b55ae074' \
-F 'image=@/path/to/image.png'
Field | Description | Type | Remarks |
---|---|---|---|
image | The file to upload | file | Only PNG files are supported. Max size of 1MB . |
Response#
{
"filename": "...3fdb77531380.png",
"url": "https://storage.googleapis.com/.../...3fdb77531380.png"
}
Field | Description | Type | Remarks |
---|---|---|---|
filename | Name of the file | string | |
url | Url of the uploaded image | string |