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 predefined excavation related 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 my be registered as "area/locus number/basket number", and a corrosponding 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.