All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
study_delete_study | DELETE /studies/{tenantId}/{studyId} | |
study_delete_study_deprecated | DELETE /studies/{tenantId}/{userId}/{studyId} | |
study_get_all_tenants_study_statistics | GET /studies/statistics | |
study_get_sim_type | GET /studies/types/sims/{simType} | |
study_get_studies | GET /studies/{tenantId} | |
study_get_study | GET /studies/{tenantId}/{studyId} | |
study_get_study_deprecated | GET /studies/{tenantId}/{userId}/{studyId} | |
study_get_study_download | GET /studies/{tenantId}/{studyId}/download | |
study_get_study_download_deprecated | GET /studies/{tenantId}/{userId}/{studyId}/download | |
study_get_study_download_url | GET /studies/{tenantId}/{studyId}/download-url | |
study_get_study_download_url_deprecated | GET /studies/{tenantId}/{userId}/{studyId}/download-url | |
study_get_study_job | GET /studies/{tenantId}/{studyId}/jobs/{jobId} | |
study_get_study_job_deprecated | GET /studies/{tenantId}/{userId}/{studyId}/jobs/{jobId} | |
study_get_study_job_download | GET /studies/{tenantId}/{studyId}/jobs/{jobId}/download | |
study_get_study_job_download_deprecated | GET /studies/{tenantId}/{userId}/{studyId}/jobs/{jobId}/download | |
study_get_study_job_metadata | GET /studies/{tenantId}/{studyId}/jobs/{jobId}/metadata | |
study_get_study_job_metadata_deprecated | GET /studies/{tenantId}/{userId}/{studyId}/jobs/{jobId}/metadata | |
study_get_study_jobs | GET /studies/{tenantId}/{studyId}/jobs | |
study_get_study_jobs_deprecated | GET /studies/{tenantId}/{userId}/{studyId}/jobs | |
study_get_study_metadata | GET /studies/{tenantId}/{studyId}/metadata | |
study_get_study_metadata_deprecated | GET /studies/{tenantId}/{userId}/{studyId}/metadata | |
study_get_study_metadata_without_user_id_deprecated | GET /studies/{tenantId}/auto/{studyId}/metadata | |
study_get_study_type | GET /studies/types/{studyType} | |
study_get_study_types | GET /studies/types | |
study_get_study_without_user_id_deprecated | GET /studies/{tenantId}/auto/{studyId} | |
study_get_tenant_access_information | GET /studies/{tenantId}/access | |
study_get_tenant_billable_stored_simulation_count | GET /studies/statistics/stored/{tenantId} | |
study_get_tenant_study_statistics | GET /studies/statistics/{tenantId} | |
study_merge_study | PATCH /studies/{tenantId}/{studyId}/merge | |
study_merge_study_deprecated | PATCH /studies/{tenantId}/{userId}/{studyId}/merge | |
study_post_study | POST /studies/{tenantId} | |
study_post_study_deprecated | POST /studies/{tenantId}/{userId} | |
study_put_study | PUT /studies/{tenantId}/{studyId} | |
study_put_study_deprecated | PUT /studies/{tenantId}/{userId}/{studyId} | |
study_put_study_owner | PUT /studies/{tenantId}/{studyId}/owner |
study_delete_study(tenant_id, study_id, undelete=undelete)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
undelete = False # bool | (optional) (default to False)
try:
api_instance.study_delete_study(tenant_id, study_id, undelete=undelete)
except ApiException as e:
print("Exception when calling StudyApi->study_delete_study: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str | ||
undelete | bool | [optional] [default to False] |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
study_delete_study_deprecated(tenant_id, user_id, study_id, undelete=undelete)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
user_id = 'user_id_example' # str |
study_id = 'study_id_example' # str |
undelete = False # bool | (optional) (default to False)
try:
api_instance.study_delete_study_deprecated(tenant_id, user_id, study_id, undelete=undelete)
except ApiException as e:
print("Exception when calling StudyApi->study_delete_study_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
user_id | str | ||
study_id | str | ||
undelete | bool | [optional] [default to False] |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAllTenantsStudyStatisticsQueryResult study_get_all_tenants_study_statistics(start_date=start_date, end_date=end_date)
- 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.StudyApi(api_client)
start_date = 'start_date_example' # str | (optional)
end_date = 'end_date_example' # str | (optional)
try:
api_response = api_instance.study_get_all_tenants_study_statistics(start_date=start_date, end_date=end_date)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_all_tenants_study_statistics: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
start_date | str | [optional] | |
end_date | str | [optional] |
GetAllTenantsStudyStatisticsQueryResult
- 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]
SimTypeDefinition study_get_sim_type(sim_type, tenant_id=tenant_id)
- 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.StudyApi(api_client)
sim_type = 'sim_type_example' # str |
tenant_id = 'tenant_id_example' # str | (optional)
try:
api_response = api_instance.study_get_sim_type(sim_type, tenant_id=tenant_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_sim_type: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
sim_type | str | ||
tenant_id | 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]
GetStudiesQueryResult study_get_studies(tenant_id, filter=filter, include_transient=include_transient, result_type=result_type)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
filter = 'filter_example' # str | (optional)
include_transient = False # bool | (optional) (default to False)
result_type = 'result_type_example' # str | (optional)
try:
api_response = api_instance.study_get_studies(tenant_id, filter=filter, include_transient=include_transient, result_type=result_type)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_studies: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
filter | str | [optional] | |
include_transient | bool | [optional] [default to False] | |
result_type | 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]
GetStudyQueryResult study_get_study(tenant_id, study_id, 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
sim_version = 'sim_version_example' # str | (optional)
try:
api_response = api_instance.study_get_study(tenant_id, study_id, sim_version=sim_version)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str | ||
sim_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]
GetStudyQueryResult study_get_study_deprecated(tenant_id, user_id, study_id, 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
user_id = 'user_id_example' # str |
study_id = 'study_id_example' # str |
sim_version = 'sim_version_example' # str | (optional)
try:
api_response = api_instance.study_get_study_deprecated(tenant_id, user_id, study_id, sim_version=sim_version)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
user_id | str | ||
study_id | str | ||
sim_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]
study_get_study_download(tenant_id, study_id, access_signature, expiry, file_name=file_name, full=full, channels_as_csv=channels_as_csv, merged_scalar_results_only=merged_scalar_results_only)
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"
)
# Enter a context with an instance of the API client
with canopy.openapi.ApiClient() as api_client:
# Create an instance of the API class
api_instance = canopy.openapi.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
access_signature = 'access_signature_example' # str |
expiry = 'expiry_example' # str |
file_name = 'file_name_example' # str | (optional)
full = False # bool | (optional) (default to False)
channels_as_csv = False # bool | (optional) (default to False)
merged_scalar_results_only = False # bool | (optional) (default to False)
try:
api_instance.study_get_study_download(tenant_id, study_id, access_signature, expiry, file_name=file_name, full=full, channels_as_csv=channels_as_csv, merged_scalar_results_only=merged_scalar_results_only)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_download: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str | ||
access_signature | str | ||
expiry | str | ||
file_name | str | [optional] | |
full | bool | [optional] [default to False] | |
channels_as_csv | bool | [optional] [default to False] | |
merged_scalar_results_only | bool | [optional] [default to False] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
study_get_study_download_deprecated(tenant_id, user_id, study_id, access_signature=access_signature, expiry=expiry, file_name=file_name, full=full, channels_as_csv=channels_as_csv, merged_scalar_results_only=merged_scalar_results_only)
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"
)
# Enter a context with an instance of the API client
with canopy.openapi.ApiClient() as api_client:
# Create an instance of the API class
api_instance = canopy.openapi.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
user_id = 'user_id_example' # str |
study_id = 'study_id_example' # str |
access_signature = 'access_signature_example' # str | (optional)
expiry = 'expiry_example' # str | (optional)
file_name = 'file_name_example' # str | (optional)
full = False # bool | (optional) (default to False)
channels_as_csv = False # bool | (optional) (default to False)
merged_scalar_results_only = False # bool | (optional) (default to False)
try:
api_instance.study_get_study_download_deprecated(tenant_id, user_id, study_id, access_signature=access_signature, expiry=expiry, file_name=file_name, full=full, channels_as_csv=channels_as_csv, merged_scalar_results_only=merged_scalar_results_only)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_download_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
user_id | str | ||
study_id | str | ||
access_signature | str | [optional] | |
expiry | str | [optional] | |
file_name | str | [optional] | |
full | bool | [optional] [default to False] | |
channels_as_csv | bool | [optional] [default to False] | |
merged_scalar_results_only | bool | [optional] [default to False] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetStudyDownloadUrlQueryResult study_get_study_download_url(tenant_id, study_id)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
try:
api_response = api_instance.study_get_study_download_url(tenant_id, study_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_download_url: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str |
GetStudyDownloadUrlQueryResult
- 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]
GetStudyDownloadUrlQueryResult study_get_study_download_url_deprecated(tenant_id, user_id, study_id)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
user_id = 'user_id_example' # str |
study_id = 'study_id_example' # str |
try:
api_response = api_instance.study_get_study_download_url_deprecated(tenant_id, user_id, study_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_download_url_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
user_id | str | ||
study_id | str |
GetStudyDownloadUrlQueryResult
- 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]
GetStudyJobQueryResult study_get_study_job(tenant_id, study_id, job_id, 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
job_id = 'job_id_example' # str |
sim_version = 'sim_version_example' # str | (optional)
try:
api_response = api_instance.study_get_study_job(tenant_id, study_id, job_id, sim_version=sim_version)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_job: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str | ||
job_id | str | ||
sim_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]
GetStudyJobQueryResult study_get_study_job_deprecated(tenant_id, user_id, study_id, job_id, 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
user_id = 'user_id_example' # str |
study_id = 'study_id_example' # str |
job_id = 'job_id_example' # str |
sim_version = 'sim_version_example' # str | (optional)
try:
api_response = api_instance.study_get_study_job_deprecated(tenant_id, user_id, study_id, job_id, sim_version=sim_version)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_job_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
user_id | str | ||
study_id | str | ||
job_id | str | ||
sim_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]
study_get_study_job_download(tenant_id, study_id, job_id, access_signature, expiry, file_name=file_name, channels_as_csv=channels_as_csv, sim_type_channels=sim_type_channels)
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"
)
# Enter a context with an instance of the API client
with canopy.openapi.ApiClient() as api_client:
# Create an instance of the API class
api_instance = canopy.openapi.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
job_id = 'job_id_example' # str |
access_signature = 'access_signature_example' # str |
expiry = 'expiry_example' # str |
file_name = 'file_name_example' # str | (optional)
channels_as_csv = False # bool | (optional) (default to False)
sim_type_channels = 'sim_type_channels_example' # str | (optional)
try:
api_instance.study_get_study_job_download(tenant_id, study_id, job_id, access_signature, expiry, file_name=file_name, channels_as_csv=channels_as_csv, sim_type_channels=sim_type_channels)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_job_download: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str | ||
job_id | str | ||
access_signature | str | ||
expiry | str | ||
file_name | str | [optional] | |
channels_as_csv | bool | [optional] [default to False] | |
sim_type_channels | str | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
study_get_study_job_download_deprecated(tenant_id, user_id, study_id, job_id, access_signature=access_signature, expiry=expiry, file_name=file_name, channels_as_csv=channels_as_csv, sim_type_channels=sim_type_channels)
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"
)
# Enter a context with an instance of the API client
with canopy.openapi.ApiClient() as api_client:
# Create an instance of the API class
api_instance = canopy.openapi.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
user_id = 'user_id_example' # str |
study_id = 'study_id_example' # str |
job_id = 'job_id_example' # str |
access_signature = 'access_signature_example' # str | (optional)
expiry = 'expiry_example' # str | (optional)
file_name = 'file_name_example' # str | (optional)
channels_as_csv = False # bool | (optional) (default to False)
sim_type_channels = 'sim_type_channels_example' # str | (optional)
try:
api_instance.study_get_study_job_download_deprecated(tenant_id, user_id, study_id, job_id, access_signature=access_signature, expiry=expiry, file_name=file_name, channels_as_csv=channels_as_csv, sim_type_channels=sim_type_channels)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_job_download_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
user_id | str | ||
study_id | str | ||
job_id | str | ||
access_signature | str | [optional] | |
expiry | str | [optional] | |
file_name | str | [optional] | |
channels_as_csv | bool | [optional] [default to False] | |
sim_type_channels | str | [optional] |
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetStudyJobMetadataQueryResult study_get_study_job_metadata(tenant_id, study_id, job_id)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
job_id = 'job_id_example' # str |
try:
api_response = api_instance.study_get_study_job_metadata(tenant_id, study_id, job_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_job_metadata: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str | ||
job_id | str |
GetStudyJobMetadataQueryResult
- 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]
GetStudyJobMetadataQueryResult study_get_study_job_metadata_deprecated(tenant_id, user_id, study_id, job_id)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
user_id = 'user_id_example' # str |
study_id = 'study_id_example' # str |
job_id = 'job_id_example' # str |
try:
api_response = api_instance.study_get_study_job_metadata_deprecated(tenant_id, user_id, study_id, job_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_job_metadata_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
user_id | str | ||
study_id | str | ||
job_id | str |
GetStudyJobMetadataQueryResult
- 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]
GetStudyJobsQueryResult study_get_study_jobs(tenant_id, study_id, filter=filter)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
filter = 'filter_example' # str | (optional)
try:
api_response = api_instance.study_get_study_jobs(tenant_id, study_id, filter=filter)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_jobs: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str | ||
filter | 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]
GetStudyJobsQueryResult study_get_study_jobs_deprecated(tenant_id, user_id, study_id, filter=filter)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
user_id = 'user_id_example' # str |
study_id = 'study_id_example' # str |
filter = 'filter_example' # str | (optional)
try:
api_response = api_instance.study_get_study_jobs_deprecated(tenant_id, user_id, study_id, filter=filter)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_jobs_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
user_id | str | ||
study_id | str | ||
filter | 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]
GetStudyQueryResult study_get_study_metadata(tenant_id, study_id)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
try:
api_response = api_instance.study_get_study_metadata(tenant_id, study_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_metadata: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str |
- 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]
GetStudyQueryResult study_get_study_metadata_deprecated(tenant_id, user_id, study_id)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
user_id = 'user_id_example' # str |
study_id = 'study_id_example' # str |
try:
api_response = api_instance.study_get_study_metadata_deprecated(tenant_id, user_id, study_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_metadata_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
user_id | str | ||
study_id | str |
- 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]
GetStudyQueryResult study_get_study_metadata_without_user_id_deprecated(tenant_id, study_id)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
try:
api_response = api_instance.study_get_study_metadata_without_user_id_deprecated(tenant_id, study_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_metadata_without_user_id_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str |
- 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]
StudyTypeDefinition study_get_study_type(study_type, tenant_id=tenant_id)
- 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.StudyApi(api_client)
study_type = 'study_type_example' # str |
tenant_id = 'tenant_id_example' # str | (optional)
try:
api_response = api_instance.study_get_study_type(study_type, tenant_id=tenant_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_type: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
study_type | str | ||
tenant_id | 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]
GetStudyTypesQueryResult study_get_study_types(tenant_id=tenant_id)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str | (optional)
try:
api_response = api_instance.study_get_study_types(tenant_id=tenant_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_types: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | 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]
GetStudyQueryResult study_get_study_without_user_id_deprecated(tenant_id, study_id, 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
sim_version = 'sim_version_example' # str | (optional)
try:
api_response = api_instance.study_get_study_without_user_id_deprecated(tenant_id, study_id, sim_version=sim_version)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_study_without_user_id_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str | ||
sim_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]
GetTenantAccessInformationQueryResult study_get_tenant_access_information(tenant_id)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
try:
api_response = api_instance.study_get_tenant_access_information(tenant_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_tenant_access_information: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str |
GetTenantAccessInformationQueryResult
- 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]
GetTenantBillableStoredSimulationCountQueryResult study_get_tenant_billable_stored_simulation_count(tenant_id)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
try:
api_response = api_instance.study_get_tenant_billable_stored_simulation_count(tenant_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_tenant_billable_stored_simulation_count: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str |
GetTenantBillableStoredSimulationCountQueryResult
- 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]
GetTenantStudyStatisticsQueryResult study_get_tenant_study_statistics(tenant_id, start_date=start_date, end_date=end_date)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
start_date = 'start_date_example' # str | (optional)
end_date = 'end_date_example' # str | (optional)
try:
api_response = api_instance.study_get_tenant_study_statistics(tenant_id, start_date=start_date, end_date=end_date)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_get_tenant_study_statistics: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
start_date | str | [optional] | |
end_date | str | [optional] |
GetTenantStudyStatisticsQueryResult
- 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]
study_merge_study(tenant_id, study_id, force_merge_from_baseline=force_merge_from_baseline)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
force_merge_from_baseline = False # bool | (optional) (default to False)
try:
api_instance.study_merge_study(tenant_id, study_id, force_merge_from_baseline=force_merge_from_baseline)
except ApiException as e:
print("Exception when calling StudyApi->study_merge_study: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str | ||
force_merge_from_baseline | bool | [optional] [default to False] |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
study_merge_study_deprecated(tenant_id, user_id, study_id, force_merge_from_baseline=force_merge_from_baseline)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
user_id = 'user_id_example' # str |
study_id = 'study_id_example' # str |
force_merge_from_baseline = False # bool | (optional) (default to False)
try:
api_instance.study_merge_study_deprecated(tenant_id, user_id, study_id, force_merge_from_baseline=force_merge_from_baseline)
except ApiException as e:
print("Exception when calling StudyApi->study_merge_study_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
user_id | str | ||
study_id | str | ||
force_merge_from_baseline | bool | [optional] [default to False] |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PostStudyResult study_post_study(tenant_id, study_post_study_request, run_inline=run_inline)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_post_study_request = canopy.openapi.StudyPostStudyRequest() # StudyPostStudyRequest |
run_inline = False # bool | (optional) (default to False)
try:
api_response = api_instance.study_post_study(tenant_id, study_post_study_request, run_inline=run_inline)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_post_study: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_post_study_request | StudyPostStudyRequest | ||
run_inline | bool | [optional] [default to False] |
- 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]
PostStudyResult study_post_study_deprecated(tenant_id, user_id, study_post_study_request, run_inline=run_inline)
- 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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
user_id = 'user_id_example' # str |
study_post_study_request = canopy.openapi.StudyPostStudyRequest() # StudyPostStudyRequest |
run_inline = False # bool | (optional) (default to False)
try:
api_response = api_instance.study_post_study_deprecated(tenant_id, user_id, study_post_study_request, run_inline=run_inline)
pprint(api_response)
except ApiException as e:
print("Exception when calling StudyApi->study_post_study_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
user_id | str | ||
study_post_study_request | StudyPostStudyRequest | ||
run_inline | bool | [optional] [default to False] |
- 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]
study_put_study(tenant_id, study_id, study_put_study_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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
study_put_study_request = canopy.openapi.StudyPutStudyRequest() # StudyPutStudyRequest |
try:
api_instance.study_put_study(tenant_id, study_id, study_put_study_request)
except ApiException as e:
print("Exception when calling StudyApi->study_put_study: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str | ||
study_put_study_request | StudyPutStudyRequest |
void (empty response body)
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
study_put_study_deprecated(tenant_id, user_id, study_id, study_put_study_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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
user_id = 'user_id_example' # str |
study_id = 'study_id_example' # str |
study_put_study_request = canopy.openapi.StudyPutStudyRequest() # StudyPutStudyRequest |
try:
api_instance.study_put_study_deprecated(tenant_id, user_id, study_id, study_put_study_request)
except ApiException as e:
print("Exception when calling StudyApi->study_put_study_deprecated: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
user_id | str | ||
study_id | str | ||
study_put_study_request | StudyPutStudyRequest |
void (empty response body)
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
study_put_study_owner(tenant_id, study_id, config_put_config_owner_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.StudyApi(api_client)
tenant_id = 'tenant_id_example' # str |
study_id = 'study_id_example' # str |
config_put_config_owner_request = canopy.openapi.ConfigPutConfigOwnerRequest() # ConfigPutConfigOwnerRequest |
try:
api_instance.study_put_study_owner(tenant_id, study_id, config_put_config_owner_request)
except ApiException as e:
print("Exception when calling StudyApi->study_put_study_owner: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
tenant_id | str | ||
study_id | str | ||
config_put_config_owner_request | ConfigPutConfigOwnerRequest |
void (empty response body)
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]