All URIs are relative to https://{username}:{password}@localhost:{port}/{basePath}
Method | HTTP request | Description |
---|---|---|
api_v2_clients_clientid_bandwidth_put | PUT /api/v2/clients/{clientid}/bandwidth | Set Client bandwidth limit |
api_v2_clients_clientid_get | GET /api/v2/clients/{clientid} | Find client by ClientId |
api_v2_clients_clientid_jobs_get | GET /api/v2/clients/{clientid}/jobs | Jobs for client |
api_v2_clients_clientid_ls_get | GET /api/v2/clients/{clientid}/ls | List Client files/directories |
api_v2_clients_clientid_show_get | GET /api/v2/clients/{clientid}/show | Show client |
api_v2_clients_clientid_status_get | GET /api/v2/clients/{clientid}/status | Client status |
api_v2_clients_get | GET /api/v2/clients | Client list |
api_v2_clients_show_get | GET /api/v2/clients/show | Show clients |
InlineResponse2006 api_v2_clients_clientid_bandwidth_put(clientid, limit=limit)
Set Client bandwidth limit
Set Client bandwidth limit in bytes
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.ClientsApi()
clientid = 56 # int | Client identifier
limit = 56 # int | Bandwidth limit in bytes (optional)
try:
# Set Client bandwidth limit
api_response = api_instance.api_v2_clients_clientid_bandwidth_put(clientid, limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClientsApi->api_v2_clients_clientid_bandwidth_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
clientid | int | Client identifier | |
limit | int | Bandwidth limit in bytes | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2001 api_v2_clients_clientid_get(clientid)
Find client by ClientId
Get client by specific Client identifier.
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.ClientsApi()
clientid = 56 # int | Client identifier
try:
# Find client by ClientId
api_response = api_instance.api_v2_clients_clientid_get(clientid)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClientsApi->api_v2_clients_clientid_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
clientid | int | Client identifier |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2004 api_v2_clients_clientid_jobs_get(clientid)
Jobs for client
Get jobs done by specific client
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.ClientsApi()
clientid = 56 # int | Client identifier
try:
# Jobs for client
api_response = api_instance.api_v2_clients_clientid_jobs_get(clientid)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClientsApi->api_v2_clients_clientid_jobs_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
clientid | int | Client identifier |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2005 api_v2_clients_clientid_ls_get(clientid, path)
List Client files/directories
Get list Client files/directories for specific path
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.ClientsApi()
clientid = 56 # int | Client identifier
path = 'path_example' # str | Path on Client
try:
# List Client files/directories
api_response = api_instance.api_v2_clients_clientid_ls_get(clientid, path)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClientsApi->api_v2_clients_clientid_ls_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
clientid | int | Client identifier | |
path | str | Path on Client |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2002 api_v2_clients_clientid_show_get(clientid, output=output)
Show client
Get 'show clients' bconsole command output for specific client
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.ClientsApi()
clientid = 56 # int | Client identifier
output = 'output_example' # str | Output format (optional)
try:
# Show client
api_response = api_instance.api_v2_clients_clientid_show_get(clientid, output=output)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClientsApi->api_v2_clients_clientid_show_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
clientid | int | Client identifier | |
output | str | Output format | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2003 api_v2_clients_clientid_status_get(clientid, output=output, type=type)
Client status
Get client status for specific client
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.ClientsApi()
clientid = 56 # int | Client identifier
output = 'output_example' # str | Output format (optional)
type = 'type_example' # str | Output type using together with output=json parameter. (optional)
try:
# Client status
api_response = api_instance.api_v2_clients_clientid_status_get(clientid, output=output, type=type)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClientsApi->api_v2_clients_clientid_status_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
clientid | int | Client identifier | |
output | str | Output format | [optional] |
type | str | Output type using together with output=json parameter. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse200 api_v2_clients_get(limit=limit)
Client list
Get client list.
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.ClientsApi()
limit = 56 # int | Item limit (optional)
try:
# Client list
api_response = api_instance.api_v2_clients_get(limit=limit)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClientsApi->api_v2_clients_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
limit | int | Item limit | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2007 api_v2_clients_show_get(name=name, output=output)
Show clients
Get 'show clients' bconsole command output
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.ClientsApi()
name = 'name_example' # str | Client name (optional)
output = 'output_example' # str | Output format (optional)
try:
# Show clients
api_response = api_instance.api_v2_clients_show_get(name=name, output=output)
pprint(api_response)
except ApiException as e:
print("Exception when calling ClientsApi->api_v2_clients_show_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
name | str | Client name | [optional] |
output | str | Output format | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]