Organizing Sites with Folders

When you manage many sites, folders help keep them organized. Sites can be grouped into folders, and folders can have Authelia group-based access control.

Create a Folder

curl -X POST https://antics-api.turtletech.us/api/folders \
  -H "Content-Type: application/json" \
  -d '{"name": "Personal Sites"}'

With access control (only users in the analytics-personal Authelia group can see this folder):

curl -X POST https://antics-api.turtletech.us/api/folders \
  -H "Content-Type: application/json" \
  -d '{"name": "Client Sites", "authelia_group": "analytics-clients"}'

Move a Site to a Folder

curl -X PUT https://antics-api.turtletech.us/api/sites/SITE_ID/folder \
  -H "Content-Type: application/json" \
  -d '{"folder_id": "FOLDER_ID"}'

Remove from Folder

curl -X PUT https://antics-api.turtletech.us/api/sites/SITE_ID/folder \
  -H "Content-Type: application/json" \
  -d '{"folder_id": null}'

Dashboard

The dashboard sidebar shows a collapsible folder tree. Sites without a folder appear under “Ungrouped”. Click a site to view its analytics.