List Environments
GET
/system/environments
List available Grav environments. Scans user/env/ for environment-specific configuration directories.
JSON
{"data": {"current": "localhost", "environments": [{"name": "default", "active": false}, {"name": "localhost", "active": true}]}}
Response Codes
200
Success
401
Unauthorized