GET /api/metadata/ # get all metadata from the server
GET /api/metadata/<id> # get metadata of <id> record
GET /api/metadata/?user=<user> # return only metadata belonging to <user>
GET /api/metadata/?max_width=<W> # return only metadata where width <= W