From 1938a262ddd8fe1767469346b20074d5cd7baebd Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Wed, 8 Apr 2026 13:02:50 -0400 Subject: [PATCH] feat: fixing pat examples and README cleanup --- README.md | 14 +- lib_template/python_doc_auth_partial.mustache | 14 +- src/README.md | 14 +- src/docs/AlertApi.md | 14 +- src/docs/AuthorizationApi.md | 12 - src/docs/BillingAccountApi.md | 42 +- src/docs/DeviceApi.md | 390 +------------ src/docs/EventApi.md | 70 +-- src/docs/ExternalDevicesApi.md | 42 +- src/docs/JobsApi.md | 112 +--- src/docs/MonitorApi.md | 70 +-- src/docs/ProjectApi.md | 538 ++---------------- src/docs/RouteApi.md | 84 +-- src/docs/UsageApi.md | 56 +- src/docs/WebhookApi.md | 70 +-- 15 files changed, 112 insertions(+), 1430 deletions(-) diff --git a/README.md b/README.md index 494da21..4555f1a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The notehub-py library is a Python implementation for communicating with the [Blues Notehub API](https://dev.blues.io/reference/notehub-api/api-introduction/) generated by the [OpenAPI Generator](https://openapi-generator.tech) tool. -This library is auto-generated via the `openapi.yaml` file from the Blues Wireless Notehub project and published +This library is auto-generated via the `openapi.yaml` file from the Blues Notehub project and published to [PyPI](https://pypi.org/project/notehub-py/) for ease of use in Python-based projects that need to interact with [Notehub.io][notehub]. ## Table of Contents @@ -63,6 +63,8 @@ Here's an example script to fetch all the devices associated with a Notehub proj The `access_token` variable declared below is a Personal Access Token (PAT) required for all Notehub API requests. + + **Creating a Personal Access Token** To create a PAT: @@ -75,7 +77,7 @@ To create a PAT: Personal Access Tokens have the same permissions as your Notehub user account and should be stored securely like passwords. For more details, see the [Notehub API documentation on Personal Access Tokens](https://dev.blues.io/api-reference/notehub-api/api-introduction/#authentication-with-personal-access-tokens). -Once you have your PAT, supply it to the library by setting it equal to: `access_token = os.environ["BEARER_TOKEN"]` in the code. +Once you have your PAT, supply it to the library by replacing `PERSONAL_ACCESS_TOKEN` with your token in the code. > **NOTE:** Be aware that all Notehub API calls made using the Notehub Py library utilize your account's [Consumption Credits](https://dev.blues.io/reference/glossary#consumption-credit) (CCs). For more information, please consult our [pricing page](https://blues.com/pricing/). @@ -84,14 +86,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client diff --git a/lib_template/python_doc_auth_partial.mustache b/lib_template/python_doc_auth_partial.mustache index f478fe0..e25c0ab 100644 --- a/lib_template/python_doc_auth_partial.mustache +++ b/lib_template/python_doc_auth_partial.mustache @@ -1,14 +1,4 @@ -# Defining the host is optional and defaults to {{{basePath}}} -# See configuration.py for a list of all supported configuration parameters. -configuration = {{{packageName}}}.Configuration( - host = "{{{basePath}}}" -) - {{#hasAuthMethods}} -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. {{#authMethods}} {{#isBasic}} {{#isBasicBasic}} @@ -20,10 +10,8 @@ configuration = {{{packageName}}}.Configuration( ) {{/isBasicBasic}} {{#isBasicBearer}} - -# Configure Bearer authorization{{#bearerFormat}} ({{{.}}}){{/bearerFormat}}: {{{name}}} configuration = {{{packageName}}}.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) {{/isBasicBearer}} {{#isHttpSignature}} diff --git a/src/README.md b/src/README.md index bde48aa..01d8391 100644 --- a/src/README.md +++ b/src/README.md @@ -64,20 +64,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) diff --git a/src/docs/AlertApi.md b/src/docs/AlertApi.md index 7a51a65..2ba23d8 100644 --- a/src/docs/AlertApi.md +++ b/src/docs/AlertApi.md @@ -22,20 +22,8 @@ from notehub_py.models.get_alerts200_response import GetAlerts200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client diff --git a/src/docs/AuthorizationApi.md b/src/docs/AuthorizationApi.md index 6f5c5e7..e807295 100644 --- a/src/docs/AuthorizationApi.md +++ b/src/docs/AuthorizationApi.md @@ -22,12 +22,6 @@ from notehub_py.models.login_request import LoginRequest from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - # Enter a context with an instance of the API client with notehub_py.ApiClient(configuration) as api_client: @@ -78,12 +72,6 @@ from notehub_py.models.o_auth2_token_response import OAuth2TokenResponse from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - # Enter a context with an instance of the API client with notehub_py.ApiClient(configuration) as api_client: diff --git a/src/docs/BillingAccountApi.md b/src/docs/BillingAccountApi.md index 8be1fde..6ffbcf9 100644 --- a/src/docs/BillingAccountApi.md +++ b/src/docs/BillingAccountApi.md @@ -24,20 +24,8 @@ from notehub_py.models.get_billing_account200_response import GetBillingAccount2 from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -89,20 +77,8 @@ from notehub_py.models.get_billing_account_balance_history200_response import Ge from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -158,20 +134,8 @@ from notehub_py.models.get_billing_accounts200_response import GetBillingAccount from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client diff --git a/src/docs/DeviceApi.md b/src/docs/DeviceApi.md index cff5654..45227fc 100644 --- a/src/docs/DeviceApi.md +++ b/src/docs/DeviceApi.md @@ -50,20 +50,8 @@ from notehub_py.models.note_input import NoteInput from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -121,20 +109,8 @@ from notehub_py.models.note_input import NoteInput from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -189,20 +165,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -255,20 +219,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -320,20 +272,8 @@ from notehub_py.models.environment_variables import EnvironmentVariables from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -388,20 +328,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -457,20 +385,8 @@ from notehub_py.models.delete_notefiles_request import DeleteNotefilesRequest from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -523,20 +439,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -587,20 +491,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -652,20 +544,8 @@ from notehub_py.models.get_db_note200_response import GetDbNote200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -727,20 +607,8 @@ from notehub_py.models.device import Device from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -794,20 +662,8 @@ from notehub_py.models.env_tree_json_node import EnvTreeJsonNode from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -862,20 +718,8 @@ from notehub_py.models.get_device_environment_variables_by_pin200_response impor from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -927,12 +771,6 @@ from notehub_py.models.get_device_environment_variables_by_pin200_response impor from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - # Enter a context with an instance of the API client with notehub_py.ApiClient(configuration) as api_client: @@ -987,20 +825,8 @@ from notehub_py.models.get_device_health_log200_response import GetDeviceHealthL from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1060,20 +886,8 @@ from notehub_py.models.get_device_latest_events200_response import GetDeviceLate from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1127,20 +941,8 @@ from notehub_py.models.get_device_plans200_response import GetDevicePlans200Resp from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1194,20 +996,8 @@ from notehub_py.models.get_device_public_key200_response import GetDevicePublicK from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1261,20 +1051,8 @@ from notehub_py.models.get_device_public_keys200_response import GetDevicePublic from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1330,20 +1108,8 @@ from notehub_py.models.get_device_sessions200_response import GetDeviceSessions2 from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1407,20 +1173,8 @@ from notehub_py.models.get_devices200_response import GetDevices200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1494,20 +1248,8 @@ from notehub_py.models.get_devices200_response import GetDevices200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1581,20 +1323,8 @@ from notehub_py.models.get_notefile200_response import GetNotefile200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1656,20 +1386,8 @@ from notehub_py.models.notefile import Notefile from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1727,20 +1445,8 @@ from notehub_py.models.provision_device_request import ProvisionDeviceRequest from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1796,20 +1502,8 @@ from notehub_py.models.environment_variables import EnvironmentVariables from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1863,12 +1557,6 @@ from notehub_py.models.environment_variables import EnvironmentVariables from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - # Enter a context with an instance of the API client with notehub_py.ApiClient(configuration) as api_client: @@ -1926,20 +1614,8 @@ from notehub_py.models.signal_device200_response import SignalDevice200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1995,20 +1671,8 @@ from notehub_py.models.note_input import NoteInput from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client diff --git a/src/docs/EventApi.md b/src/docs/EventApi.md index 015d60f..69e5658 100644 --- a/src/docs/EventApi.md +++ b/src/docs/EventApi.md @@ -26,20 +26,8 @@ from notehub_py.models.get_events200_response import GetEvents200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -123,20 +111,8 @@ from notehub_py.models.get_events_by_cursor200_response import GetEventsByCursor from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -202,20 +178,8 @@ from notehub_py.models.get_events200_response import GetEvents200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -299,20 +263,8 @@ from notehub_py.models.get_events_by_cursor200_response import GetEventsByCursor from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -382,20 +334,8 @@ from notehub_py.models.route_log import RouteLog from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client diff --git a/src/docs/ExternalDevicesApi.md b/src/docs/ExternalDevicesApi.md index 0c7378c..85856aa 100644 --- a/src/docs/ExternalDevicesApi.md +++ b/src/docs/ExternalDevicesApi.md @@ -24,20 +24,8 @@ from notehub_py.models.event import Event from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -91,20 +79,8 @@ from notehub_py.models.device_session import DeviceSession from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -158,20 +134,8 @@ from notehub_py.models.device_session import DeviceSession from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client diff --git a/src/docs/JobsApi.md b/src/docs/JobsApi.md index 43e9990..db7fa45 100644 --- a/src/docs/JobsApi.md +++ b/src/docs/JobsApi.md @@ -29,20 +29,8 @@ from notehub_py.models.cancel_job_run200_response import CancelJobRun200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -96,20 +84,8 @@ from notehub_py.models.create_job201_response import CreateJob201Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -165,20 +141,8 @@ from notehub_py.models.delete_job200_response import DeleteJob200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -232,20 +196,8 @@ from notehub_py.models.job import Job from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -299,20 +251,8 @@ from notehub_py.models.job_run import JobRun from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -366,20 +306,8 @@ from notehub_py.models.get_job_runs200_response import GetJobRuns200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -437,20 +365,8 @@ from notehub_py.models.get_jobs200_response import GetJobs200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -502,20 +418,8 @@ from notehub_py.models.run_job200_response import RunJob200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client diff --git a/src/docs/MonitorApi.md b/src/docs/MonitorApi.md index 5237137..f1ab072 100644 --- a/src/docs/MonitorApi.md +++ b/src/docs/MonitorApi.md @@ -27,20 +27,8 @@ from notehub_py.models.monitor import Monitor from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -94,20 +82,8 @@ from notehub_py.models.monitor import Monitor from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -161,20 +137,8 @@ from notehub_py.models.monitor import Monitor from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -228,20 +192,8 @@ from notehub_py.models.monitor import Monitor from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -293,20 +245,8 @@ from notehub_py.models.monitor import Monitor from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client diff --git a/src/docs/ProjectApi.md b/src/docs/ProjectApi.md index 4cb25a0..554a2c9 100644 --- a/src/docs/ProjectApi.md +++ b/src/docs/ProjectApi.md @@ -61,20 +61,8 @@ from notehub_py.models.get_device_fleets200_response import GetDeviceFleets200Re from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -131,20 +119,8 @@ from notehub_py.models.project import Project from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -199,20 +175,8 @@ from notehub_py.models.fleet import Fleet from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -267,20 +231,8 @@ from notehub_py.models.product import Product from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -335,20 +287,8 @@ from notehub_py.models.project import Project from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -401,20 +341,8 @@ from notehub_py.models.get_device_fleets200_response import GetDeviceFleets200Re from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -469,20 +397,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -534,20 +450,8 @@ from notehub_py.models.environment_variables import EnvironmentVariables from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -602,20 +506,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -666,20 +558,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -729,20 +609,8 @@ from notehub_py.models.environment_variables import EnvironmentVariables from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -795,20 +663,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -857,20 +713,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -925,20 +769,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -990,20 +822,8 @@ from notehub_py.models.aws_role_config import AWSRoleConfig from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1056,20 +876,8 @@ from notehub_py.models.device_dfu_history import DeviceDfuHistory from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1125,20 +933,8 @@ from notehub_py.models.device_dfu_status import DeviceDfuStatus from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1194,20 +990,8 @@ from notehub_py.models.get_device_fleets200_response import GetDeviceFleets200Re from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1261,20 +1045,8 @@ from notehub_py.models.device_dfu_history_page import DeviceDfuHistoryPage from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1354,20 +1126,8 @@ from notehub_py.models.device_dfu_status_page import DeviceDfuStatusPage from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1447,20 +1207,8 @@ from notehub_py.models.firmware_info import FirmwareInfo from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1530,20 +1278,8 @@ from notehub_py.models.fleet import Fleet from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1597,20 +1333,8 @@ from notehub_py.models.env_tree_json_node import EnvTreeJsonNode from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1665,20 +1389,8 @@ from notehub_py.models.environment_variables import EnvironmentVariables from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1732,20 +1444,8 @@ from notehub_py.models.get_device_fleets200_response import GetDeviceFleets200Re from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1795,12 +1495,6 @@ from notehub_py.models.notefile_schema import NotefileSchema from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - # Enter a context with an instance of the API client with notehub_py.ApiClient(configuration) as api_client: @@ -1852,20 +1546,8 @@ from notehub_py.models.get_products200_response import GetProducts200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1917,20 +1599,8 @@ from notehub_py.models.project import Project from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -1982,20 +1652,8 @@ from notehub_py.models.project import Project from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -2047,20 +1705,8 @@ from notehub_py.models.env_tree_json_node import EnvTreeJsonNode from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -2113,20 +1759,8 @@ from notehub_py.models.environment_variables import EnvironmentVariables from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -2178,20 +1812,8 @@ from notehub_py.models.get_project_members200_response import GetProjectMembers2 from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -2243,20 +1865,8 @@ from notehub_py.models.get_projects200_response import GetProjects200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -2305,20 +1915,8 @@ from notehub_py.models.dfu_action_request import DfuActionRequest from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -2392,20 +1990,8 @@ from notehub_py.models.environment_variables import EnvironmentVariables from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -2460,20 +2046,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -2525,20 +2099,8 @@ from notehub_py.models.environment_variables import EnvironmentVariables from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -2593,20 +2155,8 @@ from notehub_py.models.update_fleet_request import UpdateFleetRequest from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -2662,20 +2212,8 @@ from notehub_py.models.firmware_info import FirmwareInfo from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client diff --git a/src/docs/RouteApi.md b/src/docs/RouteApi.md index f9c6a6a..3b0bc3f 100644 --- a/src/docs/RouteApi.md +++ b/src/docs/RouteApi.md @@ -27,20 +27,8 @@ from notehub_py.models.notehub_route import NotehubRoute from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -93,20 +81,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -158,20 +134,8 @@ from notehub_py.models.notehub_route import NotehubRoute from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -225,20 +189,8 @@ from notehub_py.models.route_log import RouteLog from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -316,20 +268,8 @@ from notehub_py.models.notehub_route_summary import NotehubRouteSummary from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -381,20 +321,8 @@ from notehub_py.models.notehub_route import NotehubRoute from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client diff --git a/src/docs/UsageApi.md b/src/docs/UsageApi.md index 752d7d3..44266c1 100644 --- a/src/docs/UsageApi.md +++ b/src/docs/UsageApi.md @@ -25,20 +25,8 @@ from notehub_py.models.get_data_usage200_response import GetDataUsage200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -104,20 +92,8 @@ from notehub_py.models.usage_events_response import UsageEventsResponse from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -189,20 +165,8 @@ from notehub_py.models.get_route_logs_usage200_response import GetRouteLogsUsage from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -268,20 +232,8 @@ from notehub_py.models.get_sessions_usage200_response import GetSessionsUsage200 from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client diff --git a/src/docs/WebhookApi.md b/src/docs/WebhookApi.md index 72c9b27..eab91b7 100644 --- a/src/docs/WebhookApi.md +++ b/src/docs/WebhookApi.md @@ -26,20 +26,8 @@ from notehub_py.models.webhook_settings import WebhookSettings from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken -configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -92,20 +80,8 @@ import notehub_py from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -157,20 +133,8 @@ from notehub_py.models.webhook_settings import WebhookSettings from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -224,20 +188,8 @@ from notehub_py.models.get_webhooks200_response import GetWebhooks200Response from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client @@ -289,20 +241,8 @@ from notehub_py.models.webhook_settings import WebhookSettings from notehub_py.rest import ApiException from pprint import pprint -# Defining the host is optional and defaults to https://api.notefile.net -# See configuration.py for a list of all supported configuration parameters. -configuration = notehub_py.Configuration( - host = "https://api.notefile.net" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure Bearer authorization: personalAccessToken configuration = notehub_py.Configuration( - access_token = os.environ["BEARER_TOKEN"] + access_token = "PERSONAL_ACCESS_TOKEN" ) # Enter a context with an instance of the API client