qimg API API documentation version v1
https://comem-qimg.herokuapp.com/api
/images
Image upload resource.
Retrieve the list of uploaded images.
If you are authenticated as a user, this will return only the images you uploaded and you will not see the tokenId property.
Upload an image.
Use the application/json content type to upload base64-encoded data.
Use the multipart/form-data content type to upload an image file. Send the image file as the image field.
Images cannot be larger than 2MB. (When sending base64-encoded image data, the entire JSON payload cannot be larger than 2MB.)
Quota
If you have reached the image quota (10 by default), your oldest uploaded images will be purged.
Delete an uploaded image.
If you are authenticated as a user, you must be the one who uploaded the image.
/tokens
Token management resource. The administrator can create tokens that users can use for authentication with the image resources.
Retrieve the list of authentication tokens.
Create a user authentication token. This token can be used to upload and list images as a user.
Tokens are only valid for a limited time. You can specify an optional lifetime property (in seconds) which defaults to 2,592,000 (30 days). It must be at least 1 second and at most 31,536,000 seconds (365 days).
You can provide an optional name property (up to 50 characters long).
Delete an authentication token.
All images linked to that user will be purged as well.