All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
worksheet_get_worksheet | GET /worksheets/{tenantId}/{worksheetId} | |
worksheet_post_duplicate_configs | POST /worksheets/{tenantId}/{worksheetId}/duplicate | |
worksheet_post_worksheet | POST /worksheets/{tenantId} | |
worksheet_put_worksheet | PUT /worksheets/{tenantId}/{worksheetId} |
GetWorksheetQueryResult worksheet_get_worksheet(tenant_id, worksheet_id, config_version=config_version)
- OAuth Authentication (Bearer):
from __future__ import print_function
import time
import canopy.openapi
from canopy.openapi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = canopy.openapi.Configuration(
host = "http://localhost"
)
# 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 OAuth2 access token for authorization: Bearer
configuration = canopy.openapi.Configuration(
host = "http://localhost"
)
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Enter a context with an instance of the API client
with canopy.openapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = canopy.openapi.WorksheetApi(api_client)
tenant_id = 'tenant_id_example' # str |
worksheet_id = 'worksheet_id_example' # str |
config_version = 'config_version_example' # str | (optional)
try:
api_response = api_instance.worksheet_get_worksheet(tenant_id, worksheet_id, config_version=config_version)
pprint(api_response)
except ApiException as e:
print("Exception when calling WorksheetApi->worksheet_get_worksheet: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
worksheet_id | str | ||
config_version | str | [optional] |
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DuplicateConfigsResult worksheet_post_duplicate_configs(tenant_id, worksheet_id, worksheet_post_duplicate_configs_request, sim_version=sim_version)
- OAuth Authentication (Bearer):
from __future__ import print_function
import time
import canopy.openapi
from canopy.openapi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = canopy.openapi.Configuration(
host = "http://localhost"
)
# 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 OAuth2 access token for authorization: Bearer
configuration = canopy.openapi.Configuration(
host = "http://localhost"
)
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Enter a context with an instance of the API client
with canopy.openapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = canopy.openapi.WorksheetApi(api_client)
tenant_id = 'tenant_id_example' # str |
worksheet_id = 'worksheet_id_example' # str |
worksheet_post_duplicate_configs_request = canopy.openapi.WorksheetPostDuplicateConfigsRequest() # WorksheetPostDuplicateConfigsRequest |
sim_version = 'sim_version_example' # str | (optional)
try:
api_response = api_instance.worksheet_post_duplicate_configs(tenant_id, worksheet_id, worksheet_post_duplicate_configs_request, sim_version=sim_version)
pprint(api_response)
except ApiException as e:
print("Exception when calling WorksheetApi->worksheet_post_duplicate_configs: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
worksheet_id | str | ||
worksheet_post_duplicate_configs_request | WorksheetPostDuplicateConfigsRequest | ||
sim_version | str | [optional] |
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetWorksheetQueryResult worksheet_post_worksheet(tenant_id, worksheet_post_worksheet_request)
- OAuth Authentication (Bearer):
from __future__ import print_function
import time
import canopy.openapi
from canopy.openapi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = canopy.openapi.Configuration(
host = "http://localhost"
)
# 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 OAuth2 access token for authorization: Bearer
configuration = canopy.openapi.Configuration(
host = "http://localhost"
)
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Enter a context with an instance of the API client
with canopy.openapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = canopy.openapi.WorksheetApi(api_client)
tenant_id = 'tenant_id_example' # str |
worksheet_post_worksheet_request = canopy.openapi.WorksheetPostWorksheetRequest() # WorksheetPostWorksheetRequest |
try:
api_response = api_instance.worksheet_post_worksheet(tenant_id, worksheet_post_worksheet_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling WorksheetApi->worksheet_post_worksheet: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
worksheet_post_worksheet_request | WorksheetPostWorksheetRequest |
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetWorksheetQueryResult worksheet_put_worksheet(tenant_id, worksheet_id, worksheet_put_worksheet_request)
- OAuth Authentication (Bearer):
from __future__ import print_function
import time
import canopy.openapi
from canopy.openapi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = canopy.openapi.Configuration(
host = "http://localhost"
)
# 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 OAuth2 access token for authorization: Bearer
configuration = canopy.openapi.Configuration(
host = "http://localhost"
)
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Enter a context with an instance of the API client
with canopy.openapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = canopy.openapi.WorksheetApi(api_client)
tenant_id = 'tenant_id_example' # str |
worksheet_id = 'worksheet_id_example' # str |
worksheet_put_worksheet_request = canopy.openapi.WorksheetPutWorksheetRequest() # WorksheetPutWorksheetRequest |
try:
api_response = api_instance.worksheet_put_worksheet(tenant_id, worksheet_id, worksheet_put_worksheet_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling WorksheetApi->worksheet_put_worksheet: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
worksheet_id | str | ||
worksheet_put_worksheet_request | WorksheetPutWorksheetRequest |
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]