All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
get_scope_config | GET /v2/projects/{proj_id}/{env_id}/opal_scope | Get Scope Config |
reset_scope_config | DELETE /v2/projects/{proj_id}/{env_id}/opal_scope | Reset Scope Config |
set_scope_config | PUT /v2/projects/{proj_id}/{env_id}/opal_scope | Set Scope Config |
models::ScopeConfigRead get_scope_config(proj_id, env_id) Get Scope Config
Returns the custom OPAL Scope config for given environment, if exists. If not custom config is set, return 404.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
reset_scope_config(proj_id, env_id) Reset Scope Config
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::ScopeConfigRead set_scope_config(proj_id, env_id, scope_config_set) Set Scope Config
Name | Type | Description | Required | Notes |
---|---|---|---|---|
proj_id | String | Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug"). | [required] | |
env_id | String | Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug"). | [required] | |
scope_config_set | ScopeConfigSet | [required] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]