There are endpoints for images, quotes and update information.
These endpoints can be used by anyone
Get Random Image
This endpoint allows you to get a random image. If category isn't specified it will get a random image from all categories.
|category (optional)||string||Returns random image from specific category|
"photographer": "David Ralph",
"location": "Cotswold Wildlife Park",
"camera": "Samsung Galaxy S8"
This endpoint returns all categories in an array.
This endpoint returns all photographers in an array.
Get Random Quote
This endpoint allows you to get a random quote. If language isn't specified it will return a random quote in any language.
|language (optional)||string||Get a random quote in a specific language|
"author": "E.E Cummings",
"quote": "It takes courage to grow up and become who you really are.",
Get Quote Languages
This endpoint returns all quote languages in an array.
Returns hello world message.
"message": "Hello World! API docs: https://docs.muetab.com"
These routes are for admins only. The image routes are designed for our uploader utility.
This endpoint allows you to add an image to a database. Before doing so, you should upload the file to your Cloudinary folder first. It's advised to use our uploading utility instead of doing this manually as it is easier.
|filename||string||The name of your file, without the extension|
|photographer||string||The photographer who took the image, this will appear in /images/photographers|
|category||string||The category the image is in, this will appear in /images/categories|
|location||string||A formatted location string, such as "Manchester, United Kingdom", "Manchester" or "United Kingdom"|
|camera||string||The name of the camera used, such as "Canon 1300D" or "Samsung Galaxy S8"|
This endpoint allows you to delete an image from the database. Before doing so, you should remove the file from your Cloudinary folder first. It's advised to use our uploading utility instead of doing this manually as it is easier.
|id||string||The uuid returned by the add image route. You can manually find this in your database as well.|