Route to upload a file passed in parameter
It will retrieve a hash Srting that will be used to reference this file on other routes
curl -F "file=@test.jpeg" http://localhost:3000/upload
Route to retrieve only principal EXIF metadata from the file referenced by the hash parameter
JSON output is structured in array of categories
Non exhaustive list of all metadata found
curl http://localhost:3000/read/simple/6b72a79a3432f7990a5055bf03024109
Route to retrieve a more complete list of EXIF metadata from the file referenced by the hash parameter
JSON output is structured in array of categories
Non exhaustive list of all metadata found
curl http://localhost:3000/read/full/6b72a79a3432f7990a5055bf03024109
Route to retrieve all EXIF metadata from the file referenced by the hash parameter
JSON output in not structured and the list of metadata is not known in advance
Exhaustive list of all metadata found
curl http://localhost:3000/read/raw/6b72a79a3432f7990a5055bf03024109
Route to copy EXIF metadata from a source file into a destination file, both referenced by hash parameters
The output is a copy of the destination file with EXIF metadata of the source file
curl http://localhost:3000/copy/6b72a79a3432f7990a5055bf03024109/a8e9cdfebfa47c9e574b7d0b97b42432
Route to delete EXIF metadata from a file referenced by the hash parameter
The output is a copy of the original file with EXIF metadata deleted
Note: Few of them cannot be deleted (e.g: length, width, megapixels)
curl http://localhost:3000/delete/6b72a79a3432f7990a5055bf03024109