All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
enable_query_handler | PATCH /v1/contexts/{context}/handlers/queries/{queryHandlerId} | Enables/disables the query handler |
get_query_handler | GET /v1/contexts/{context}/handlers/queries/{queryHandlerId} | Returns the query handler |
list_query_handlers | GET /v1/contexts/{context}/handlers/queries | Returns a list of query handlers |
list_query_handlers_all_contexts | GET /v1/handlers/queries | Returns a list of query handlers of all contexts |
query_endpoint_types | GET /v1/handlers/queries/endpointTypes | Returns a list of all endpoint types for queries |
register_query_handler | POST /v1/contexts/{context}/handlers/queries | Registers a new query handler |
replace_query_handler | PUT /v1/contexts/{context}/handlers/queries/{queryHandlerId} | Creates or replaces the query handler |
unregister_query_handler | DELETE /v1/contexts/{context}/handlers/queries/{queryHandlerId} | Unregisters the query handler |
enable_query_handler(context, query_handler_id, enabled) Enables/disables the query handler
Name | Type | Description | Required | Notes |
---|---|---|---|---|
context | String | Context name | [required] | [default to default] |
query_handler_id | String | Query handler id | [required] | |
enabled | bool | true to enable the handler, false to disable the handler | [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]
crate::models::QueryHandler get_query_handler(context, query_handler_id) Returns the query handler
Name | Type | Description | Required | Notes |
---|---|---|---|---|
context | String | Context name | [required] | [default to default] |
query_handler_id | String | Query handler id | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ListOfQueryHandlers list_query_handlers(context) Returns a list of query handlers
Name | Type | Description | Required | Notes |
---|---|---|---|---|
context | String | Context name | [required] | [default to default] |
crate::models::ListOfQueryHandlers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ListOfQueryHandlers list_query_handlers_all_contexts() Returns a list of query handlers of all contexts
This endpoint does not need any parameter.
crate::models::ListOfQueryHandlers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::EndpointType query_endpoint_types() Returns a list of all endpoint types for queries
This endpoint does not need any parameter.
Veccrate::models::EndpointType
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::QueryHandler register_query_handler(context, query_handler_registration) Registers a new query handler
Name | Type | Description | Required | Notes |
---|---|---|---|---|
context | String | Context name | [required] | [default to default] |
query_handler_registration | Option<QueryHandlerRegistration> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::QueryHandler replace_query_handler(context, query_handler_id, query_handler_registration) Creates or replaces the query handler
Name | Type | Description | Required | Notes |
---|---|---|---|---|
context | String | Context name | [required] | [default to default] |
query_handler_id | String | Query handler id | [required] | |
query_handler_registration | Option<QueryHandlerRegistration> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
unregister_query_handler(context, query_handler_id) Unregisters the query handler
Name | Type | Description | Required | Notes |
---|---|---|---|---|
context | String | Context name | [required] | [default to default] |
query_handler_id | String | Query handler id | [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]