|
| 1 | +# Go API client for v1 |
| 2 | + |
| 3 | +V1 & V2 versions of JumpCloud's API. The previous version of JumpCloud's API. This set of endpoints allows JumpCloud customers to manage commands, systems, & system users. |
| 4 | + |
| 5 | +## Overview |
| 6 | +This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. |
| 7 | + |
| 8 | +- API version: 1.0 |
| 9 | +- Package version: 1.26.0 |
| 10 | +- Build package: io.swagger.codegen.languages.GoClientCodegen |
| 11 | + |
| 12 | +## Installation |
| 13 | +Put the package under your project folder and add the following in import: |
| 14 | +``` |
| 15 | + "./v1" |
| 16 | +``` |
| 17 | + |
| 18 | +## Documentation for API Endpoints |
| 19 | + |
| 20 | +All URIs are relative to *https://console.jumpcloud.com/api* |
| 21 | + |
| 22 | +Class | Method | HTTP request | Description |
| 23 | +------------ | ------------- | ------------- | ------------- |
| 24 | +*ApplicationsApi* | [**ApplicationsList**](docs/ApplicationsApi.md#applicationslist) | **Get** /applications | Applications |
| 25 | +*CommandResultsApi* | [**CommandResultsDelete**](docs/CommandResultsApi.md#commandresultsdelete) | **Delete** /commandresults/{id} | Delete a Command result |
| 26 | +*CommandResultsApi* | [**CommandResultsGet**](docs/CommandResultsApi.md#commandresultsget) | **Get** /commandresults/{id} | List an individual Command result |
| 27 | +*CommandResultsApi* | [**CommandResultsList**](docs/CommandResultsApi.md#commandresultslist) | **Get** /commandresults | List all Command Results |
| 28 | +*CommandTriggersApi* | [**CommandTriggerWebhookPost**](docs/CommandTriggersApi.md#commandtriggerwebhookpost) | **Post** /command/trigger/{triggername} | Launch a command via a Trigger |
| 29 | +*CommandsApi* | [**CommandFileGet**](docs/CommandsApi.md#commandfileget) | **Get** /files/command/{id} | Get a Command File |
| 30 | +*CommandsApi* | [**CommandsDelete**](docs/CommandsApi.md#commandsdelete) | **Delete** /commands/{id} | Delete a Command |
| 31 | +*CommandsApi* | [**CommandsGet**](docs/CommandsApi.md#commandsget) | **Get** /commands/{id} | List an individual Command |
| 32 | +*CommandsApi* | [**CommandsList**](docs/CommandsApi.md#commandslist) | **Get** /commands/ | List All Commands |
| 33 | +*CommandsApi* | [**CommandsPost**](docs/CommandsApi.md#commandspost) | **Post** /commands/ | Create A Command |
| 34 | +*CommandsApi* | [**CommandsPut**](docs/CommandsApi.md#commandsput) | **Put** /commands/{id} | Update a Command |
| 35 | +*OrganizationsApi* | [**OrganizationList**](docs/OrganizationsApi.md#organizationlist) | **Get** /organizations | Get Organization Details |
| 36 | +*RadiusServersApi* | [**RadiusServersList**](docs/RadiusServersApi.md#radiusserverslist) | **Get** /radiusservers | List Radius Servers |
| 37 | +*RadiusServersApi* | [**RadiusServersPost**](docs/RadiusServersApi.md#radiusserverspost) | **Post** /radiusservers | Create a Radius Server |
| 38 | +*RadiusServersApi* | [**RadiusServersPut**](docs/RadiusServersApi.md#radiusserversput) | **Put** /radiusservers:id | Update Radius Servers |
| 39 | +*SearchApi* | [**SearchSystemsPost**](docs/SearchApi.md#searchsystemspost) | **Post** /search/systems | Search Systems |
| 40 | +*SearchApi* | [**SearchSystemusersPost**](docs/SearchApi.md#searchsystemuserspost) | **Post** /search/systemusers | Search System Users |
| 41 | +*SystemsApi* | [**SystemsDelete**](docs/SystemsApi.md#systemsdelete) | **Delete** /systems/{id} | Delete a System |
| 42 | +*SystemsApi* | [**SystemsGet**](docs/SystemsApi.md#systemsget) | **Get** /systems/{id} | List an individual system |
| 43 | +*SystemsApi* | [**SystemsList**](docs/SystemsApi.md#systemslist) | **Get** /systems | List All Systems |
| 44 | +*SystemsApi* | [**SystemsPut**](docs/SystemsApi.md#systemsput) | **Put** /systems/{id} | Update a system |
| 45 | +*SystemsApi* | [**SystemsSystemusersBindingList**](docs/SystemsApi.md#systemssystemusersbindinglist) | **Get** /systems/{id}/systemusers | List system user bindings |
| 46 | +*SystemsApi* | [**SystemsSystemusersBindingPut**](docs/SystemsApi.md#systemssystemusersbindingput) | **Put** /systems/{id}/systemusers | Update a system's or user's binding |
| 47 | +*SystemusersApi* | [**SystemusersDelete**](docs/SystemusersApi.md#systemusersdelete) | **Delete** /systemusers/{id} | Delete a system user |
| 48 | +*SystemusersApi* | [**SystemusersGet**](docs/SystemusersApi.md#systemusersget) | **Get** /systemusers/{id} | List a system user |
| 49 | +*SystemusersApi* | [**SystemusersList**](docs/SystemusersApi.md#systemuserslist) | **Get** /systemusers | List all system users |
| 50 | +*SystemusersApi* | [**SystemusersPost**](docs/SystemusersApi.md#systemuserspost) | **Post** /systemusers | Create a system user |
| 51 | +*SystemusersApi* | [**SystemusersPut**](docs/SystemusersApi.md#systemusersput) | **Put** /systemusers/{id} | Update a system user |
| 52 | +*SystemusersApi* | [**SystemusersResetmfa**](docs/SystemusersApi.md#systemusersresetmfa) | **Post** /systemusers/{id}/resetmfa | Reset a system user's MFA token |
| 53 | +*SystemusersApi* | [**SystemusersSystemsBindingList**](docs/SystemusersApi.md#systemuserssystemsbindinglist) | **Get** /systemusers/{id}/systems | List system user binding |
| 54 | +*SystemusersApi* | [**SystemusersSystemsBindingPut**](docs/SystemusersApi.md#systemuserssystemsbindingput) | **Put** /systemusers/{id}/systems | Update a system user binding |
| 55 | +*TagsApi* | [**TagsDelete**](docs/TagsApi.md#tagsdelete) | **Delete** /tags/{name} | Delete a Tag |
| 56 | +*TagsApi* | [**TagsGet**](docs/TagsApi.md#tagsget) | **Get** /Tags/{name} | List a Tag |
| 57 | +*TagsApi* | [**TagsList**](docs/TagsApi.md#tagslist) | **Get** /tags | List All Tags |
| 58 | +*TagsApi* | [**TagsPost**](docs/TagsApi.md#tagspost) | **Post** /tags | Create a Tag |
| 59 | +*TagsApi* | [**TagsPut**](docs/TagsApi.md#tagsput) | **Put** /Tag/{name} | Update a Tag |
| 60 | + |
| 61 | + |
| 62 | +## Documentation For Models |
| 63 | + |
| 64 | + - [Application](docs/Application.md) |
| 65 | + - [ApplicationConfig](docs/ApplicationConfig.md) |
| 66 | + - [ApplicationConfigConstantAttributes](docs/ApplicationConfigConstantAttributes.md) |
| 67 | + - [ApplicationConfigConstantAttributesValue](docs/ApplicationConfigConstantAttributesValue.md) |
| 68 | + - [ApplicationConfigDatabaseAttributes](docs/ApplicationConfigDatabaseAttributes.md) |
| 69 | + - [ApplicationConfigIdpEntityId](docs/ApplicationConfigIdpEntityId.md) |
| 70 | + - [ApplicationConfigIdpEntityIdTooltip](docs/ApplicationConfigIdpEntityIdTooltip.md) |
| 71 | + - [ApplicationConfigIdpEntityIdTooltipVariables](docs/ApplicationConfigIdpEntityIdTooltipVariables.md) |
| 72 | + - [Applicationslist](docs/Applicationslist.md) |
| 73 | + - [Body](docs/Body.md) |
| 74 | + - [Command](docs/Command.md) |
| 75 | + - [Commandfilereturn](docs/Commandfilereturn.md) |
| 76 | + - [CommandfilereturnResults](docs/CommandfilereturnResults.md) |
| 77 | + - [Commandresult](docs/Commandresult.md) |
| 78 | + - [CommandresultResponse](docs/CommandresultResponse.md) |
| 79 | + - [CommandresultResponseData](docs/CommandresultResponseData.md) |
| 80 | + - [Commandresultslist](docs/Commandresultslist.md) |
| 81 | + - [Commandslist](docs/Commandslist.md) |
| 82 | + - [CommandslistResults](docs/CommandslistResults.md) |
| 83 | + - [InlineResponse400](docs/InlineResponse400.md) |
| 84 | + - [Organizationslist](docs/Organizationslist.md) |
| 85 | + - [OrganizationslistResults](docs/OrganizationslistResults.md) |
| 86 | + - [Radiusserver](docs/Radiusserver.md) |
| 87 | + - [Radiusserverpost](docs/Radiusserverpost.md) |
| 88 | + - [Radiusserverput](docs/Radiusserverput.md) |
| 89 | + - [Radiusserverslist](docs/Radiusserverslist.md) |
| 90 | + - [Search](docs/Search.md) |
| 91 | + - [System](docs/System.md) |
| 92 | + - [SystemNetworkInterfaces](docs/SystemNetworkInterfaces.md) |
| 93 | + - [Systemput](docs/Systemput.md) |
| 94 | + - [SystemputAgentBoundMessages](docs/SystemputAgentBoundMessages.md) |
| 95 | + - [Systemslist](docs/Systemslist.md) |
| 96 | + - [Systemuser](docs/Systemuser.md) |
| 97 | + - [Systemuserbinding](docs/Systemuserbinding.md) |
| 98 | + - [Systemuserbindingsput](docs/Systemuserbindingsput.md) |
| 99 | + - [Systemuserput](docs/Systemuserput.md) |
| 100 | + - [Systemuserputpost](docs/Systemuserputpost.md) |
| 101 | + - [Systemuserreturn](docs/Systemuserreturn.md) |
| 102 | + - [Systemuserslist](docs/Systemuserslist.md) |
| 103 | + - [Tag](docs/Tag.md) |
| 104 | + - [Tagpost](docs/Tagpost.md) |
| 105 | + - [Tagput](docs/Tagput.md) |
| 106 | + - [Tagslist](docs/Tagslist.md) |
| 107 | + - [Usersystembinding](docs/Usersystembinding.md) |
| 108 | + - [Usersystembindingsput](docs/Usersystembindingsput.md) |
| 109 | + |
| 110 | + |
| 111 | +## Documentation For Authorization |
| 112 | + |
| 113 | +## x-api-key |
| 114 | +- **Type**: API key |
| 115 | + |
| 116 | +Example |
| 117 | +``` |
| 118 | + auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{ |
| 119 | + Key: "APIKEY", |
| 120 | + Prefix: "Bearer", // Omit if not necessary. |
| 121 | + }) |
| 122 | + r, err := client.Service.Operation(auth, args) |
| 123 | +``` |
| 124 | + |
| 125 | +## Author |
| 126 | + |
| 127 | + |
| 128 | + |
0 commit comments