# \ServerApi All URIs are relative to *https://myserver/SecretPath* Method | HTTP request | Description ------------- | ------------- | ------------- [**metrics_enabled_get**](ServerApi.md#metrics_enabled_get) | **GET** /metrics/enabled | [**metrics_enabled_put**](ServerApi.md#metrics_enabled_put) | **PUT** /metrics/enabled | [**name_put**](ServerApi.md#name_put) | **PUT** /name | [**server_get**](ServerApi.md#server_get) | **GET** /server | [**server_hostname_for_access_keys_put**](ServerApi.md#server_hostname_for_access_keys_put) | **PUT** /server/hostname-for-access-keys | ## metrics_enabled_get > crate::models::MetricsEnabledGet200Response metrics_enabled_get() Returns whether metrics is being shared ### Parameters This endpoint does not need any parameter. ### Return type [**crate::models::MetricsEnabledGet200Response**](_metrics_enabled_get_200_response.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## metrics_enabled_put > metrics_enabled_put(metrics_enabled_get200_response) Enables or disables sharing of metrics ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **metrics_enabled_get200_response** | [**MetricsEnabledGet200Response**](MetricsEnabledGet200Response.md) | | [required] | ### Return type (empty response body) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: Not defined [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## name_put > name_put(name_put_request) Renames the server ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **name_put_request** | [**NamePutRequest**](NamePutRequest.md) | | [required] | ### Return type (empty response body) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: Not defined [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## server_get > crate::models::Server server_get() Returns information about the server ### Parameters This endpoint does not need any parameter. ### Return type [**crate::models::Server**](Server.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## server_hostname_for_access_keys_put > server_hostname_for_access_keys_put(server_hostname_for_access_keys_put_request) Changes the hostname for access keys. Must be a valid hostname or IP address. If it's a hostname, DNS must be set up independently of this API. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **server_hostname_for_access_keys_put_request** | [**ServerHostnameForAccessKeysPutRequest**](ServerHostnameForAccessKeysPutRequest.md) | | [required] | ### Return type (empty response body) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: Not defined [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)