All URIs are relative to http://127.0.0.1/v2
| Method | HTTP request | Description |
|---|---|---|
| create_spoe | POST /services/haproxy/spoe/spoe_files | Creates SPOE file with its entries |
| create_spoe_agent | POST /services/haproxy/spoe/spoe_agents | Add a new spoe agent to scope |
| create_spoe_group | POST /services/haproxy/spoe/spoe_groups | Add a new SPOE groups |
| create_spoe_message | POST /services/haproxy/spoe/spoe_messages | Add a new spoe message to scope |
| create_spoe_scope | POST /services/haproxy/spoe/spoe_scopes | Add a new spoe scope |
| delete_spoe_agent | DELETE /services/haproxy/spoe/spoe_agents/{name} | Delete a SPOE agent |
| delete_spoe_file | DELETE /services/haproxy/spoe/spoe_files/{name} | Delete SPOE file |
| delete_spoe_group | DELETE /services/haproxy/spoe/spoe_groups/{name} | Delete a SPOE groups |
| delete_spoe_message | DELETE /services/haproxy/spoe/spoe_messages/{name} | Delete a spoe message |
| delete_spoe_scope | DELETE /services/haproxy/spoe/spoe_scopes/{name} | Delete a SPOE scope |
| get_all_spoe_files | GET /services/haproxy/spoe/spoe_files | Return all available SPOE files |
| get_one_spoe_file | GET /services/haproxy/spoe/spoe_files/{name} | Return one SPOE file |
| get_spoe_agent | GET /services/haproxy/spoe/spoe_agents/{name} | Return a spoe agent |
| get_spoe_agents | GET /services/haproxy/spoe/spoe_agents | Return an array of spoe agents in one scope |
| get_spoe_configuration_version | GET /services/haproxy/spoe/version | Return a SPOE configuration version |
| get_spoe_group | GET /services/haproxy/spoe/spoe_groups/{name} | Return a SPOE groups |
| get_spoe_groups | GET /services/haproxy/spoe/spoe_groups | Return an array of SPOE groups |
| get_spoe_message | GET /services/haproxy/spoe/spoe_messages/{name} | Return a spoe message |
| get_spoe_messages | GET /services/haproxy/spoe/spoe_messages | Return an array of spoe messages in one scope |
| get_spoe_scope | GET /services/haproxy/spoe/spoe_scopes/{name} | Return one SPOE scope |
| get_spoe_scopes | GET /services/haproxy/spoe/spoe_scopes | Return an array of spoe scopes |
| replace_spoe_agent | PUT /services/haproxy/spoe/spoe_agents/{name} | Replace a SPOE agent |
| replace_spoe_group | PUT /services/haproxy/spoe/spoe_groups/{name} | Replace a SPOE groups |
| replace_spoe_message | PUT /services/haproxy/spoe/spoe_messages/{name} | Replace a spoe message |
String create_spoe(file_upload) Creates SPOE file with its entries
Creates SPOE file with its entries.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| file_upload | Option<std::path::PathBuf> | The spoe file to upload |
String
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SpoeAgent create_spoe_agent(spoe, scope, spoe_agent, transaction_id, version) Add a new spoe agent to scope
Adds a new spoe agent to the spoe scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| spoe_agent | SpoeAgent | [required] | ||
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. | ||
| version | Option<i32> | Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SpoeGroup create_spoe_group(spoe, scope, spoe_group, transaction_id, version) Add a new SPOE groups
Adds a new SPOE groups to the SPOE scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| spoe_group | SpoeGroup | [required] | ||
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. | ||
| version | Option<i32> | Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SpoeMessage create_spoe_message(spoe, scope, spoe_message, transaction_id, version) Add a new spoe message to scope
Adds a new spoe message to the spoe scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| spoe_message | SpoeMessage | [required] | ||
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. | ||
| version | Option<i32> | Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
String create_spoe_scope(spoe, body, transaction_id, version) Add a new spoe scope
Adds a new spoe scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| body | String | [required] | ||
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. | ||
| version | Option<i32> | Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. |
String
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_spoe_agent(spoe, scope, name, transaction_id, version) Delete a SPOE agent
Deletes a SPOE agent from the configuration in one SPOE scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| name | String | Spoe agent name | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. | ||
| version | Option<i32> | Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_spoe_file(name) Delete SPOE file
Deletes SPOE file.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | SPOE file name | [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]
delete_spoe_group(spoe, scope, name, transaction_id, version) Delete a SPOE groups
Deletes a SPOE groups from the one SPOE scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| name | String | Spoe group name | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. | ||
| version | Option<i32> | Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_spoe_message(spoe, scope, name, transaction_id, version) Delete a spoe message
Deletes a spoe message from the SPOE scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| name | String | Spoe message name | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. | ||
| version | Option<i32> | Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_spoe_scope(spoe, name, transaction_id, version) Delete a SPOE scope
Deletes a SPOE scope from the configuration file.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| name | String | Spoe scope name | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. | ||
| version | Option<i32> | Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec get_all_spoe_files() Return all available SPOE files
Returns all available SPOE files.
This endpoint does not need any parameter.
Vec
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::GetOneSpoeFile200Response get_one_spoe_file(name) Return one SPOE file
Returns one SPOE file.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | SPOE file name | [required] |
crate::models::GetOneSpoeFile200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::GetSpoeAgent200Response get_spoe_agent(spoe, scope, name, transaction_id) Return a spoe agent
Returns one spoe agent configuration in one SPOE scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| name | String | Spoe agent name | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. |
crate::models::GetSpoeAgent200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::GetSpoeAgents200Response get_spoe_agents(spoe, scope, transaction_id) Return an array of spoe agents in one scope
Returns an array of all configured spoe agents in one scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. |
crate::models::GetSpoeAgents200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
i32 get_spoe_configuration_version(spoe, transaction_id) Return a SPOE configuration version
Returns SPOE configuration version.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. |
i32
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::GetSpoeGroup200Response get_spoe_group(spoe, scope, name, transaction_id) Return a SPOE groups
Returns one SPOE groups configuration in one SPOE scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| name | String | Spoe group name | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. |
crate::models::GetSpoeGroup200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::GetSpoeGroups200Response get_spoe_groups(spoe, scope, transaction_id) Return an array of SPOE groups
Returns an array of all configured SPOE groups in one SPOE scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. |
crate::models::GetSpoeGroups200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::GetSpoeMessage200Response get_spoe_message(spoe, scope, name, transaction_id) Return a spoe message
Returns one spoe message configuration in SPOE scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| name | String | Spoe message name | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. |
crate::models::GetSpoeMessage200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::GetSpoeMessages200Response get_spoe_messages(spoe, scope, transaction_id) Return an array of spoe messages in one scope
Returns an array of all configured spoe messages in one scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. |
crate::models::GetSpoeMessages200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::GetSpoeScope200Response get_spoe_scope(spoe, name, transaction_id) Return one SPOE scope
Returns one SPOE scope in one SPOE file.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| name | String | Spoe scope | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. |
crate::models::GetSpoeScope200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::GetSpoeScopes200Response get_spoe_scopes(spoe, transaction_id) Return an array of spoe scopes
Returns an array of all configured spoe scopes.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. |
crate::models::GetSpoeScopes200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SpoeAgent replace_spoe_agent(spoe, scope, name, spoe_agent, transaction_id, version) Replace a SPOE agent
Replaces a SPOE agent configuration in one SPOE scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| name | String | Spoe agent name | [required] | |
| spoe_agent | SpoeAgent | [required] | ||
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. | ||
| version | Option<i32> | Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SpoeGroup replace_spoe_group(spoe, scope, name, spoe_group, transaction_id, version) Replace a SPOE groups
Replaces a SPOE groups configuration in one SPOE scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| name | String | Spoe group name | [required] | |
| spoe_group | SpoeGroup | [required] | ||
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. | ||
| version | Option<i32> | Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SpoeMessage replace_spoe_message(spoe, scope, name, spoe_message, transaction_id, version) Replace a spoe message
Replaces a spoe message configuration in one SPOE scope.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| spoe | String | Spoe file name | [required] | |
| scope | String | Spoe scope | [required] | |
| name | String | Spoe message name | [required] | |
| spoe_message | SpoeMessage | [required] | ||
| transaction_id | Option<String> | ID of the transaction where we want to add the operation. Cannot be used when version is specified. | ||
| version | Option<i32> | Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]