Our documentation is changing, please click here to enjoy it!
This API route allows you to upload images from URL to use it in the createMessage or sendInstantMessage APIs. You can then use the bigPicture or icon in those APIs for Android notifications.
This API is only available for Android applications.
Operations
|
|
Parameter | Model |
body | Data Image |
Response | |
---|---|
body | |
Return code | |
returnCode | Description |
| Image uploaded |
1 | A database error occured |
2 | Parse error |
3 | No uploadedImage |
4 | No or bad user |
5 | No or bad partner |
6 | No image , type or url |
7 | Bad image type |
8 | Cannot download image |
9 | Cannot copy image: |
10 | Not an Android application |
Upon successful upload (i.e., returnCode == 0
), the returnLabel
field in the response will contain the resource name.
Examples
Request | Body | Response | Description |
---|---|---|---|
| Uploads a bigPicture image from a URL |