All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
get_callback_by_key_callbacks_key_delete | DELETE /callbacks/{key} | Get Callback By Key |
get_callback_by_key_callbacks_key_get | GET /callbacks/{key} | Get Callback By Key |
list_callbacks_callbacks_get | GET /callbacks | List Callbacks |
register_callback_callbacks_post | POST /callbacks | Register Callback |
get_callback_by_key_callbacks_key_delete(key, authorization) Get Callback By Key
unregisters a callback identified by its key (if such callback is indeed registered).
Name | Type | Description | Required | Notes |
---|---|---|---|---|
key | String | [required] | ||
authorization | Option<String> |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::CallbackEntry get_callback_by_key_callbacks_key_get(key, authorization) Get Callback By Key
get a callback by its key (if such callback is indeed registered).
Name | Type | Description | Required | Notes |
---|---|---|---|---|
key | String | [required] | ||
authorization | Option<String> |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vecmodels::CallbackEntry list_callbacks_callbacks_get(authorization) List Callbacks
list all the callbacks currently registered by OPAL client.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
authorization | Option<String> |
Vecmodels::CallbackEntry
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::CallbackEntry register_callback_callbacks_post(callback_entry, authorization) Register Callback
register a new callback by OPAL client, to be called on OPA state updates.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
callback_entry | CallbackEntry | [required] | ||
authorization | Option<String> |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]