Organizing Sites with Folders#
When you manage many sites, folders help keep them organized. Sites can be grouped into folders, and folders can have identity-provider group-based access control.
Create a Folder#
curl -X POST https://antics-api.turtletech.us/api/folders \
-H "Authorization: Bearer $ANTICS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Personal Sites"}'
With access control (only users in the analytics-personal identity-provider group can see this folder):
curl -X POST https://antics-api.turtletech.us/api/folders \
-H "Authorization: Bearer $ANTICS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Client Sites", "kanidm_group": "analytics-clients"}'
Move a Site to a Folder#
curl -X PUT https://antics-api.turtletech.us/api/sites/SITE_ID/folder \
-H "Authorization: Bearer $ANTICS_API_KEY" \
-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 "Authorization: Bearer $ANTICS_API_KEY" \
-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.