Detect Event Slug from Referrer URL
Detect Event Slug from Referrer URL
Extracts the event slug from the HTTP referrer header for contextual ordering.
Endpoint
GET https://convention.photos/api/event-prefix
Description
When users navigate from the photo gallery to the ordering system, this endpoint parses the referrer URL to determine which event they were viewing, pre-populating the order form.
Headers
- Referer: The referring URL from photos.conventionphotography.com
Response
Returns JSON with detected event slug:
{
Response
Detected event slug