Skip to content

Latest commit

 

History

History
58 lines (35 loc) · 1.53 KB

ServersApi.md

File metadata and controls

58 lines (35 loc) · 1.53 KB

\ServersApi

All URIs are relative to http://localhost:8081/api/v1

Method HTTP request Description
ListServer Get /servers/{server_id} List a server
ListServers Get /servers List all servers

ListServer

Server ListServer(ctx, serverId) List a server

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
serverId string The id of the server to retrieve

Return type

Server

Authorization

APIKeyHeader

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

ListServers

[]Server ListServers(ctx, ) List all servers

Required Parameters

This endpoint does not need any parameter.

Return type

[]Server

Authorization

APIKeyHeader

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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