Last updated
Last updated
We set up a project called . The project is public so anyone can perform a GET request to fetch its entries. However, the same approach can be used for private projects by providing a valid `Authorization: Bearer {value}
` in the request, as explained in the .
Here is the response of the following GET endpoint, to retrieve a project logo image: ()
Here is the response of the following GET endpoint, to retrieve an answer original image: ()
You can also get the image as a blob, useful when the project is private: ()
You can get the media files and download them to your server.
The project has a single entry with a photo. The credentials to access this project entry are as follows:
Here is an example using PHP and (add your project credentials accordingly):
We set up a private project for testing called .
Using a GET request with a proper authorization header and a valid token as explained in t the photo will be retrieved correctly.
https://five.epicollect.net/api/export/media/ec5-media-api-demo?type=photo&name=e791b360-cf21-11ee-8f4e-0d257c6d0c4d_1708345534.jpg&format=entry_original
\
Using client:
See the fiddle at
client ID
4945
client Secret
djCKm1JGxDJ2zwjr10I4WNkpl7QpvsAbGwimMnXr