All URIs are relative to http://localhost:8989
Method | HTTP request | Description |
---|---|---|
create_command | POST /api/v3/command | |
delete_command | DELETE /api/v3/command/{id} | |
get_command_by_id | GET /api/v3/command/{id} | |
list_command | GET /api/v3/command |
models::CommandResource create_command(command_resource)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
command_resource | Option<CommandResource> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_command(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::CommandResource get_command_by_id(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vecmodels::CommandResource list_command()
This endpoint does not need any parameter.
Vecmodels::CommandResource
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]