Skip to content

Latest commit

 

History

History
102 lines (85 loc) · 6.96 KB

README.md

File metadata and controls

102 lines (85 loc) · 6.96 KB

Go API client for swagger

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: version not set
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./swagger"

Documentation for API Endpoints

All URIs are relative to https://localhost

Class Method HTTP request Description
HeadscaleServiceApi HeadscaleServiceCreateApiKey Post /api/v1/apikey --- ApiKeys start ---
HeadscaleServiceApi HeadscaleServiceCreatePreAuthKey Post /api/v1/preauthkey --- PreAuthKeys start ---
HeadscaleServiceApi HeadscaleServiceCreateUser Post /api/v1/user
HeadscaleServiceApi HeadscaleServiceDebugCreateMachine Post /api/v1/debug/machine --- Machine start ---
HeadscaleServiceApi HeadscaleServiceDeleteMachine Delete /api/v1/machine/{machineId}
HeadscaleServiceApi HeadscaleServiceDeleteRoute Delete /api/v1/routes/{routeId}
HeadscaleServiceApi HeadscaleServiceDeleteUser Delete /api/v1/user/{name}
HeadscaleServiceApi HeadscaleServiceDisableRoute Post /api/v1/routes/{routeId}/disable
HeadscaleServiceApi HeadscaleServiceEnableRoute Post /api/v1/routes/{routeId}/enable
HeadscaleServiceApi HeadscaleServiceExpireApiKey Post /api/v1/apikey/expire
HeadscaleServiceApi HeadscaleServiceExpireMachine Post /api/v1/machine/{machineId}/expire
HeadscaleServiceApi HeadscaleServiceExpirePreAuthKey Post /api/v1/preauthkey/expire
HeadscaleServiceApi HeadscaleServiceGetMachine Get /api/v1/machine/{machineId}
HeadscaleServiceApi HeadscaleServiceGetMachineRoutes Get /api/v1/machine/{machineId}/routes
HeadscaleServiceApi HeadscaleServiceGetRoutes Get /api/v1/routes --- Route start ---
HeadscaleServiceApi HeadscaleServiceGetUser Get /api/v1/user/{name} --- User start ---
HeadscaleServiceApi HeadscaleServiceListApiKeys Get /api/v1/apikey
HeadscaleServiceApi HeadscaleServiceListMachines Get /api/v1/machine
HeadscaleServiceApi HeadscaleServiceListPreAuthKeys Get /api/v1/preauthkey
HeadscaleServiceApi HeadscaleServiceListUsers Get /api/v1/user
HeadscaleServiceApi HeadscaleServiceMoveMachine Post /api/v1/machine/{machineId}/user
HeadscaleServiceApi HeadscaleServiceRegisterMachine Post /api/v1/machine/register
HeadscaleServiceApi HeadscaleServiceRenameMachine Post /api/v1/machine/{machineId}/rename/{newName}
HeadscaleServiceApi HeadscaleServiceRenameUser Post /api/v1/user/{oldName}/rename/{newName}
HeadscaleServiceApi HeadscaleServiceSetTags Post /api/v1/machine/{machineId}/tags

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author