List Contexts - Lagoon/LagoonSecurity-API GitHub Wiki

Contexts are users and profiles agglomerators. To make use of them your application must be configured as a SaaS application. This method returns all existing contexts (enabled or not).

GET /contexts

Output Example:

[{
    "id": 19,
    "enable": true,
    "defaultContext": true,
    "name": "default",
    "description": "Default Context" 
}, {
    "id": 21,
    "enable": true,
    "defaultContext": false,
    "name": "admin",
    "description": "administration area",
    "activationUrl": "",
    "url": "http://admin.lvh.me:9000/" 
}, {
    "id": 20,
    "enable": true,
    "defaultContext": false,
    "name": "test",
    "description": "context context" 
}, {
    "id": 22,
    "enable": true,
    "defaultContext": false,
    "name": "xcoisas",
    "description": "",
    "activationUrl": "http://marketSample.lvh.me:9000/activation",
    "url": "http://marketSample.lvh.me:9000" 
}]
⚠️ **GitHub.com Fallback** ⚠️