Skip to content

Latest commit

 

History

History
93 lines (48 loc) · 2.55 KB

HostConfigApi.md

File metadata and controls

93 lines (48 loc) · 2.55 KB

\HostConfigApi

All URIs are relative to http://localhost:7878

Method HTTP request Description
get_host_config GET /api/v3/config/host
get_host_config_by_id GET /api/v3/config/host/{id}
update_host_config PUT /api/v3/config/host/{id}

get_host_config

models::HostConfigResource get_host_config()

Parameters

This endpoint does not need any parameter.

Return type

models::HostConfigResource

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_host_config_by_id

models::HostConfigResource get_host_config_by_id(id)

Parameters

Name Type Description Required Notes
id i32 [required]

Return type

models::HostConfigResource

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_host_config

models::HostConfigResource update_host_config(id, host_config_resource)

Parameters

Name Type Description Required Notes
id String [required]
host_config_resource Option<HostConfigResource>

Return type

models::HostConfigResource

Authorization

apikey, X-Api-Key

HTTP request headers

  • Content-Type: application/json, text/json, application/*+json
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]