Provides API that manages image uploads (to) and serving (from) Imgur
Registers given user Request:
{
"username": String,
"password": String,
"email": String,
"name": String
}
Response: 200 OK
User created!
Provides Access Token required for API calls Request:
{
"username": String
"password": String
}
Response: 200 OK
{
"token": String
"expirationSeconds": Long
}
i.e, include a header with key value "Authentication" and value "Bearer " where is token from login API
Allows users to upload images
Image to be upload should be part send as multi-part file with param name "file"
Response: 200 OK
{
"id": String
}
Above id is the identifier for the Image
Lists all images uploaded
Response: 200 OK
[{
"id": String
}]
Above id is the identifier for the Image
Fetches image with given id
Response: 200 OK IMAGE
Deletes image with given id
Response: 200 OK