Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #25 from TheJumpCloud/jcapi-publish-1565227057
Browse files Browse the repository at this point in the history
Publish autogenerated SDK
  • Loading branch information
joshjumpcloud authored Aug 15, 2019
2 parents d40d689 + eb3ef22 commit f52c2ab
Show file tree
Hide file tree
Showing 187 changed files with 15,119 additions and 689 deletions.
4 changes: 2 additions & 2 deletions config_v1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"gemName": "jcapiv1",
"moduleName": "JCAPIv1",
"gemVersion": "2.2.0"
}
"gemVersion": "2.3.0"
}
4 changes: 2 additions & 2 deletions config_v2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"gemName": "jcapiv2",
"moduleName": "JCAPIv2",
"gemVersion": "2.2.0"
}
"gemVersion": "2.3.0"
}
8 changes: 4 additions & 4 deletions jcapiv1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ JCAPIv1 - the Ruby gem for the JumpCloud APIs
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 1.0
- Package version: 2.2.0
- Package version: 2.3.0
- Build package: io.swagger.codegen.languages.RubyClientCodegen

## Installation
Expand All @@ -23,15 +23,15 @@ gem build jcapiv1.gemspec
Then either install the gem locally:

```shell
gem install ./jcapiv1-2.2.0.gem
gem install ./jcapiv1-2.3.0.gem
```
(for development, run `gem install --dev ./jcapiv1-2.2.0.gem` to install the development dependencies)
(for development, run `gem install --dev ./jcapiv1-2.3.0.gem` to install the development dependencies)

or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).

Finally add this to the Gemfile:

gem 'jcapiv1', '~> 2.2.0'
gem 'jcapiv1', '~> 2.3.0'

### Install from Git

Expand Down
4 changes: 2 additions & 2 deletions jcapiv1/docs/ApplicationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Method | HTTP request | Description
Applications

The endpoint returns all your SSO / SAML Applications. #### Sample Request ``` curl -X GET https://console.jumpcloud.com/api/applications \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' ```
The endpoint returns all your SSO / SAML Applications. #### Sample Request ``` curl -X GET https://console.jumpcloud.com/api/applications \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' ```

### Example
```ruby
Expand Down Expand Up @@ -74,7 +74,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



3 changes: 3 additions & 0 deletions jcapiv1/docs/Body.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ Name | Type | Description | Notes
**name** | **String** | |
**network_source_ip** | **String** | |
**tags** | **Array<String>** | | [optional]
**user_lockout_action** | **String** | | [optional]
**user_password_expiration_action** | **String** | | [optional]
**mfa** | **String** | | [optional]


10 changes: 5 additions & 5 deletions jcapiv1/docs/CommandResultsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Method | HTTP request | Description
Delete a Command result

This endpoint deletes a specific command result. #### Sample Request ``` curl -X GET https://console.jumpcloud.com/api/commandresults/{CommandID} \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' ````
This endpoint deletes a specific command result. #### Sample Request ``` curl -X GET https://console.jumpcloud.com/api/commandresults/{CommandID} \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' ````

### Example
```ruby
Expand Down Expand Up @@ -69,7 +69,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



Expand All @@ -78,7 +78,7 @@ Name | Type | Description | Notes
List an individual Command result

This endpoint returns a specific command result. #### Sample Request ``` curl -X GET https://console.jumpcloud.com/api/commandresults/{CommandResultID} \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' ```
This endpoint returns a specific command result. #### Sample Request ``` curl -X GET https://console.jumpcloud.com/api/commandresults/{CommandResultID} \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' ```

### Example
```ruby
Expand Down Expand Up @@ -137,7 +137,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



Expand Down Expand Up @@ -208,7 +208,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



2 changes: 1 addition & 1 deletion jcapiv1/docs/CommandTriggersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ nil (empty response body)
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



16 changes: 8 additions & 8 deletions jcapiv1/docs/CommandsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Method | HTTP request | Description
Get a Command File

This endpoint returns the uploaded file(s) associated with a specific command. #### Sample Request ``` curl -X GET https://console.jumpcloud.com/api/files/command/{commandID} \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' ```
This endpoint returns the uploaded file(s) associated with a specific command. #### Sample Request ``` curl -X GET https://console.jumpcloud.com/api/files/command/{commandID} \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' ```

### Example
```ruby
Expand Down Expand Up @@ -78,7 +78,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



Expand Down Expand Up @@ -141,7 +141,7 @@ nil (empty response body)
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



Expand All @@ -150,7 +150,7 @@ nil (empty response body)
List an individual Command

This endpoint returns a specific command based on the command ID. #### Sample Request ``` curl -X GET https://console.jumpcloud.com/api/commands/{CommandID} \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' ```
This endpoint returns a specific command based on the command ID. #### Sample Request ``` curl -X GET https://console.jumpcloud.com/api/commands/{CommandID} \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' ```

### Example
```ruby
Expand Down Expand Up @@ -209,7 +209,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



Expand Down Expand Up @@ -280,7 +280,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



Expand Down Expand Up @@ -343,7 +343,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



Expand Down Expand Up @@ -409,7 +409,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



4 changes: 2 additions & 2 deletions jcapiv1/docs/OrganizationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Method | HTTP request | Description
Get Organization Details

This endpoint returns Organization Details. #### Sample Request ``` curl -X GET \\ https://console.jumpcloud.com/api/organizations \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' ```
This endpoint returns Organization Details. #### Sample Request ``` curl -X GET \\ https://console.jumpcloud.com/api/organizations \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' ```

### Example
```ruby
Expand Down Expand Up @@ -74,7 +74,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



10 changes: 5 additions & 5 deletions jcapiv1/docs/RadiusServersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



Expand All @@ -85,7 +85,7 @@ Name | Type | Description | Notes
Create a Radius Server

This endpoint allows you to create RADIUS servers in your organization. #### Sample Request ``` curl -X POST https://console.jumpcloud.com/api/radiusservers/ \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' \\ -d '{ \"name\": \"{test_radius}\", \"networkSourceIp\": \"{0.0.0.0}\", \"sharedSecret\":\"{secretpassword}\" }' ```
This endpoint allows you to create RADIUS servers in your organization. #### Sample Request ``` curl -X POST https://console.jumpcloud.com/api/radiusservers/ \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' \\ -d '{ \"name\": \"{test_radius}\", \"networkSourceIp\": \"{0.0.0.0}\", \"sharedSecret\":\"{secretpassword}\", \"userLockoutAction\": \"REMOVE\", \"userPasswordExpirationAction\": \"MAINTAIN\" }' ```

### Example
```ruby
Expand Down Expand Up @@ -139,7 +139,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



Expand All @@ -148,7 +148,7 @@ Name | Type | Description | Notes
Update Radius Servers

This endpoint allows you to update RADIUS servers in your organization. #### ``` curl -X PUT https://console.jumpcloud.com/api/radiusservers/{ServerID} \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' \\ -d '{ \"name\": \"{name_update}\", \"networkSourceIp\": \"{0.0.0.0}\" }' ```
This endpoint allows you to update RADIUS servers in your organization. #### ``` curl -X PUT https://console.jumpcloud.com/api/radiusservers/{ServerID} \\ -H 'Accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'x-api-key: {API_KEY}' \\ -d '{ \"name\": \"{name_update}\", \"networkSourceIp\": \"{0.0.0.0}\", \"userLockoutAction\": \"REMOVE\", \"userPasswordExpirationAction\": \"MAINTAIN\" }' ```

### Example
```ruby
Expand Down Expand Up @@ -202,7 +202,7 @@ Name | Type | Description | Notes
### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json; charset=utf-8
- **Accept**: application/json



3 changes: 3 additions & 0 deletions jcapiv1/docs/Radiusserver.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ Name | Type | Description | Notes
**name** | **String** | | [optional]
**tags** | **Array<String>** | | [optional]
**tag_names** | **Array<String>** | | [optional]
**user_lockout_action** | **String** | | [optional]
**user_password_expiration_action** | **String** | | [optional]
**mfa** | **String** | | [optional]


3 changes: 3 additions & 0 deletions jcapiv1/docs/Radiusserverpost.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ Name | Type | Description | Notes
**name** | **String** | |
**tag_names** | **Array<String>** | | [optional]
**shared_secret** | **String** | RADIUS shared secret between the server and client. |
**user_lockout_action** | **String** | | [optional]
**user_password_expiration_action** | **String** | | [optional]
**mfa** | **String** | | [optional]


3 changes: 3 additions & 0 deletions jcapiv1/docs/Radiusserverput.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ Name | Type | Description | Notes
**network_source_ip** | **String** | | [optional]
**name** | **String** | | [optional]
**tag_names** | **Array<String>** | | [optional]
**user_lockout_action** | **String** | | [optional]
**user_password_expiration_action** | **String** | | [optional]
**mfa** | **String** | | [optional]


Loading

0 comments on commit f52c2ab

Please sign in to comment.