Skip to content

URL Structure

The application is URL driven in order to allow for human readable links to specific items/collections.
Data related URLs are structured as:

server_name/module/[slug]/action?[filter_params]
  • module - correlated to one of the excavation modules (e.g., "areas," "loci")
  • slug – a human readable unique identifier of an item. Slugs correspond to to actual registration records. For example, a pottery basket may be registered as "area/locus number/basket number" and a corresponding slug will be an adaptation of that schema to a URL slug by avoiding reserved characters, e.g., A.876.2
  • action – the responsibility of a specific route: welcome, filter, index (omitted), create, edit, show (omitted), tag, media, relations.
  • filter_params – the query contains the filter and "order by" parameters. Filter params are also human readable.