get https://example.com/'
Get a specific piece of data using its unique identifier.
Distri will check the path for a match with the identifier regex that is configured for this tenant, regardless of what is in the rest of the path.
For example, if the identifier regex is ^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$
(a regex for a UUIDv4) and the external base URI is example.com/storage/
, Distri will match the following:
https://example.com/storage/906f5484-7d1a-4327-9df5-3ba44a50c337
https://example.com/storage/sdlkfjqsdmlkf/906f5484-7d1a-4327-9df5-3ba44a50c337
But not the following:
https://example.com/906f5484-7d1a-4327-9df5-3ba44a50c337
https://example.com/blabla/906f5484-7d1a-4327-9df5-3ba44a50c337