Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config_v1.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"packageName": "jcapiv1",
"packageVersion": "1.3.0"
"packageVersion": "3.0.0"
}
2 changes: 1 addition & 1 deletion config_v2.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"packageName": "jcapiv2",
"packageVersion": "1.3.0"
"packageVersion": "3.0.0"
}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2'
services:
swagger-codegen:
image: jimschubert/swagger-codegen-cli:2.3.1
image: swaggerapi/swagger-codegen-cli:2.4.2
volumes:
- ./input:/swagger-api/yaml # volume for input yaml files
- ./output:/swagger-api/out # volume for generated files
Expand Down
2 changes: 1 addition & 1 deletion jcapiv1/.swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.1
2.4.2
15 changes: 10 additions & 5 deletions jcapiv1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 1.0
- Package version: 1.3.0
- Package version: 3.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down Expand Up @@ -52,22 +52,25 @@ from jcapiv1.rest import ApiException
from pprint import pprint

# Configure API key authorization: x-api-key
jcapiv1.configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
configuration = jcapiv1.Configuration()
configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# jcapiv1.configuration.api_key_prefix['x-api-key'] = 'Bearer'
# configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = jcapiv1.ApplicationsApi()
api_instance = jcapiv1.ApplicationsApi(jcapiv1.ApiClient(configuration))
content_type = 'application/json' # str | (default to application/json)
accept = 'application/json' # str | (default to application/json)
fields = 'fields_example' # str | The comma separated fields included in the returned records. If omitted the default list of fields will be returned. (optional)
limit = 56 # int | The number of records to return at once. (optional)
skip = 56 # int | The offset into the records to return. (optional)
sort = 'The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending.' # str | (optional) (default to The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending.)
filter = 'filter_example' # str | A filter to apply to the query. (optional)
x_org_id = '' # str | (optional) (default to )

try:
# Applications
api_response = api_instance.applications_list(content_type, accept, fields=fields, limit=limit, skip=skip, sort=sort, x_org_id=x_org_id)
api_response = api_instance.applications_list(content_type, accept, fields=fields, limit=limit, skip=skip, sort=sort, filter=filter, x_org_id=x_org_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ApplicationsApi->applications_list: %s\n" % e)
Expand Down Expand Up @@ -115,6 +118,7 @@ Class | Method | HTTP request | Description
*SystemusersApi* | [**systemusers_resetmfa**](docs/SystemusersApi.md#systemusers_resetmfa) | **POST** /systemusers/{id}/resetmfa | Reset a system user's MFA token
*SystemusersApi* | [**systemusers_systems_binding_list**](docs/SystemusersApi.md#systemusers_systems_binding_list) | **GET** /systemusers/{id}/systems | List system user binding
*SystemusersApi* | [**systemusers_systems_binding_put**](docs/SystemusersApi.md#systemusers_systems_binding_put) | **PUT** /systemusers/{id}/systems | Update a system user binding
*SystemusersApi* | [**systemusers_unlock**](docs/SystemusersApi.md#systemusers_unlock) | **POST** /systemusers/{id}/unlock | Unlock a system user
*TagsApi* | [**tags_delete**](docs/TagsApi.md#tags_delete) | **DELETE** /tags/{name} | Delete a Tag
*TagsApi* | [**tags_get**](docs/TagsApi.md#tags_get) | **GET** /Tags/{name} | List a Tag
*TagsApi* | [**tags_list**](docs/TagsApi.md#tags_list) | **GET** /tags | List All Tags
Expand Down Expand Up @@ -146,6 +150,7 @@ Class | Method | HTTP request | Description
- [CommandslistResults](docs/CommandslistResults.md)
- [Errorresponse](docs/Errorresponse.md)
- [Fde](docs/Fde.md)
- [Mfa](docs/Mfa.md)
- [Organizationslist](docs/Organizationslist.md)
- [OrganizationslistResults](docs/OrganizationslistResults.md)
- [Radiusserver](docs/Radiusserver.md)
Expand Down
6 changes: 4 additions & 2 deletions jcapiv1/docs/ApplicationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Method | HTTP request | Description


# **applications_list**
> Applicationslist applications_list(content_type, accept, fields=fields, limit=limit, skip=skip, sort=sort, x_org_id=x_org_id)
> Applicationslist applications_list(content_type, accept, fields=fields, limit=limit, skip=skip, sort=sort, filter=filter, x_org_id=x_org_id)

Applications

Expand Down Expand Up @@ -36,11 +36,12 @@ fields = 'fields_example' # str | The comma separated fields included in the ret
limit = 56 # int | The number of records to return at once. (optional)
skip = 56 # int | The offset into the records to return. (optional)
sort = 'The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending.' # str | (optional) (default to The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending.)
filter = 'filter_example' # str | A filter to apply to the query. (optional)
x_org_id = '' # str | (optional) (default to )

try:
# Applications
api_response = api_instance.applications_list(content_type, accept, fields=fields, limit=limit, skip=skip, sort=sort, x_org_id=x_org_id)
api_response = api_instance.applications_list(content_type, accept, fields=fields, limit=limit, skip=skip, sort=sort, filter=filter, x_org_id=x_org_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ApplicationsApi->applications_list: %s\n" % e)
Expand All @@ -56,6 +57,7 @@ Name | Type | Description | Notes
**limit** | **int**| The number of records to return at once. | [optional]
**skip** | **int**| The offset into the records to return. | [optional]
**sort** | **str**| | [optional] [default to The comma separated fields used to sort the collection. Default sort is ascending, prefix with - to sort descending.]
**filter** | **str**| A filter to apply to the query. | [optional]
**x_org_id** | **str**| | [optional] [default to ]

### Return type
Expand Down
14 changes: 9 additions & 5 deletions jcapiv1/docs/CommandResultsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ Name | Type | Description | Notes
[[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)

# **command_results_get**
> Commandresult command_results_get(id, content_type, accept, fields=fields, x_org_id=x_org_id)
> Commandresult command_results_get(id, content_type, accept, fields=fields, filter=filter, x_org_id=x_org_id)

List an individual Command result

This endpoint returns 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 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
```python
Expand All @@ -96,11 +96,12 @@ id = 'id_example' # str |
content_type = 'application/json' # str | (default to application/json)
accept = 'application/json' # str | (default to application/json)
fields = '' # str | Use a space seperated string of field parameters to include the data in the response. If omitted the default list of fields will be returned. (optional) (default to )
filter = 'filter_example' # str | A filter to apply to the query. (optional)
x_org_id = '' # str | (optional) (default to )

try:
# List an individual Command result
api_response = api_instance.command_results_get(id, content_type, accept, fields=fields, x_org_id=x_org_id)
api_response = api_instance.command_results_get(id, content_type, accept, fields=fields, filter=filter, x_org_id=x_org_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CommandResultsApi->command_results_get: %s\n" % e)
Expand All @@ -114,6 +115,7 @@ Name | Type | Description | Notes
**content_type** | **str**| | [default to application/json]
**accept** | **str**| | [default to application/json]
**fields** | **str**| Use a space seperated string of field parameters to include the data in the response. If omitted the default list of fields will be returned. | [optional] [default to ]
**filter** | **str**| A filter to apply to the query. | [optional]
**x_org_id** | **str**| | [optional] [default to ]

### Return type
Expand All @@ -132,7 +134,7 @@ Name | Type | Description | Notes
[[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)

# **command_results_list**
> Commandresultslist command_results_list(content_type, accept, fields=fields, limit=limit, skip=skip, sort=sort, x_org_id=x_org_id)
> Commandresultslist command_results_list(content_type, accept, fields=fields, limit=limit, skip=skip, sort=sort, filter=filter, x_org_id=x_org_id)

List all Command Results

Expand Down Expand Up @@ -160,11 +162,12 @@ fields = '' # str | Use a space seperated string of field parameters to include
limit = 10 # int | The number of records to return at once. Limited to 100. (optional) (default to 10)
skip = 0 # int | The offset into the records to return. (optional) (default to 0)
sort = '' # str | Use space separated sort parameters to sort the collection. Default sort is ascending. Prefix with `-` to sort descending. (optional) (default to )
filter = 'filter_example' # str | A filter to apply to the query. (optional)
x_org_id = '' # str | (optional) (default to )

try:
# List all Command Results
api_response = api_instance.command_results_list(content_type, accept, fields=fields, limit=limit, skip=skip, sort=sort, x_org_id=x_org_id)
api_response = api_instance.command_results_list(content_type, accept, fields=fields, limit=limit, skip=skip, sort=sort, filter=filter, x_org_id=x_org_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CommandResultsApi->command_results_list: %s\n" % e)
Expand All @@ -180,6 +183,7 @@ Name | Type | Description | Notes
**limit** | **int**| The number of records to return at once. Limited to 100. | [optional] [default to 10]
**skip** | **int**| The offset into the records to return. | [optional] [default to 0]
**sort** | **str**| Use space separated sort parameters to sort the collection. Default sort is ascending. Prefix with `-` to sort descending. | [optional] [default to ]
**filter** | **str**| A filter to apply to the query. | [optional]
**x_org_id** | **str**| | [optional] [default to ]

### Return type
Expand Down
12 changes: 8 additions & 4 deletions jcapiv1/docs/CommandsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ void (empty response body)
[[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)

# **commands_get**
> Command commands_get(id, content_type, accept, fields=fields, x_org_id=x_org_id)
> Command commands_get(id, content_type, accept, fields=fields, filter=filter, x_org_id=x_org_id)

List an individual Command

Expand All @@ -164,11 +164,12 @@ id = 'id_example' # str |
content_type = 'application/json' # str | (default to application/json)
accept = 'application/json' # str | (default to application/json)
fields = '' # str | Use a space seperated string of field parameters to include the data in the response. If omitted the default list of fields will be returned. (optional) (default to )
filter = 'filter_example' # str | A filter to apply to the query. (optional)
x_org_id = '' # str | (optional) (default to )

try:
# List an individual Command
api_response = api_instance.commands_get(id, content_type, accept, fields=fields, x_org_id=x_org_id)
api_response = api_instance.commands_get(id, content_type, accept, fields=fields, filter=filter, x_org_id=x_org_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CommandsApi->commands_get: %s\n" % e)
Expand All @@ -182,6 +183,7 @@ Name | Type | Description | Notes
**content_type** | **str**| | [default to application/json]
**accept** | **str**| | [default to application/json]
**fields** | **str**| Use a space seperated string of field parameters to include the data in the response. If omitted the default list of fields will be returned. | [optional] [default to ]
**filter** | **str**| A filter to apply to the query. | [optional]
**x_org_id** | **str**| | [optional] [default to ]

### Return type
Expand All @@ -200,7 +202,7 @@ Name | Type | Description | Notes
[[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)

# **commands_list**
> Commandslist commands_list(content_type, accept, skip=skip, fields=fields, limit=limit, sort=sort, x_org_id=x_org_id)
> Commandslist commands_list(content_type, accept, skip=skip, fields=fields, limit=limit, sort=sort, filter=filter, x_org_id=x_org_id)

List All Commands

Expand Down Expand Up @@ -228,11 +230,12 @@ skip = 0 # int | The offset into the records to return. (optional) (default to 0
fields = '' # str | Use a space seperated string of field parameters to include the data in the response. If omitted the default list of fields will be returned. (optional) (default to )
limit = 10 # int | The number of records to return at once. Limited to 100. (optional) (default to 10)
sort = '' # str | Use space separated sort parameters to sort the collection. Default sort is ascending. Prefix with `-` to sort descending. (optional) (default to )
filter = 'filter_example' # str | A filter to apply to the query. (optional)
x_org_id = '' # str | (optional) (default to )

try:
# List All Commands
api_response = api_instance.commands_list(content_type, accept, skip=skip, fields=fields, limit=limit, sort=sort, x_org_id=x_org_id)
api_response = api_instance.commands_list(content_type, accept, skip=skip, fields=fields, limit=limit, sort=sort, filter=filter, x_org_id=x_org_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CommandsApi->commands_list: %s\n" % e)
Expand All @@ -248,6 +251,7 @@ Name | Type | Description | Notes
**fields** | **str**| Use a space seperated string of field parameters to include the data in the response. If omitted the default list of fields will be returned. | [optional] [default to ]
**limit** | **int**| The number of records to return at once. Limited to 100. | [optional] [default to 10]
**sort** | **str**| Use space separated sort parameters to sort the collection. Default sort is ascending. Prefix with `-` to sort descending. | [optional] [default to ]
**filter** | **str**| A filter to apply to the query. | [optional]
**x_org_id** | **str**| | [optional] [default to ]

### Return type
Expand Down
12 changes: 12 additions & 0 deletions jcapiv1/docs/Mfa.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Mfa

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**exclusion** | **bool** | | [optional]
**exclusion_until** | **datetime** | | [optional]
**configured** | **bool** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


10 changes: 6 additions & 4 deletions jcapiv1/docs/OrganizationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Method | HTTP request | Description


# **organization_list**
> Organizationslist organization_list(content_type, accept, fields=fields, limit=limit, skip=skip, sort=sort, search=search)
> Organizationslist organization_list(content_type, accept, fields=fields, filter=filter, limit=limit, skip=skip, sort=sort, search=search)

Get Organization Details

Expand All @@ -33,14 +33,15 @@ api_instance = jcapiv1.OrganizationsApi(jcapiv1.ApiClient(configuration))
content_type = 'application/json' # str | (default to application/json)
accept = 'application/json' # str | (default to application/json)
fields = '' # str | Use a space seperated string of field parameters to include the data in the response. If omitted the default list of fields will be returned. (optional) (default to )
filter = 'filter_example' # str | A filter to apply to the query. (optional)
limit = 10 # int | The number of records to return at once. Limited to 100. (optional) (default to 10)
skip = 0 # int | The offset into the records to return. (optional) (default to 0)
sort = '' # str | Use space separated sort parameters to sort the collection. Default sort is ascending. Prefix with `-` to sort descending. (optional) (default to )
search = 'search_example' # str | (optional)
search = 'search_example' # str | A nested object containing a string `searchTerm` and a list of `fields` to search on. (optional)

try:
# Get Organization Details
api_response = api_instance.organization_list(content_type, accept, fields=fields, limit=limit, skip=skip, sort=sort, search=search)
api_response = api_instance.organization_list(content_type, accept, fields=fields, filter=filter, limit=limit, skip=skip, sort=sort, search=search)
pprint(api_response)
except ApiException as e:
print("Exception when calling OrganizationsApi->organization_list: %s\n" % e)
Expand All @@ -53,10 +54,11 @@ Name | Type | Description | Notes
**content_type** | **str**| | [default to application/json]
**accept** | **str**| | [default to application/json]
**fields** | **str**| Use a space seperated string of field parameters to include the data in the response. If omitted the default list of fields will be returned. | [optional] [default to ]
**filter** | **str**| A filter to apply to the query. | [optional]
**limit** | **int**| The number of records to return at once. Limited to 100. | [optional] [default to 10]
**skip** | **int**| The offset into the records to return. | [optional] [default to 0]
**sort** | **str**| Use space separated sort parameters to sort the collection. Default sort is ascending. Prefix with `-` to sort descending. | [optional] [default to ]
**search** | **str**| | [optional]
**search** | **str**| A nested object containing a string `searchTerm` and a list of `fields` to search on. | [optional]

### Return type

Expand Down
Loading