avis_client.StatisticsApi
All URIs are relative to http://localhost:8000
Method | HTTP request | Description |
---|---|---|
statistics_configuration_create | POST /api/statistics/configuration/ | |
statistics_configuration_destroy | DELETE /api/statistics/configuration/{id}/ | |
statistics_configuration_list | GET /api/statistics/configuration/ | |
statistics_configuration_retrieve | GET /api/statistics/configuration/{id}/ | |
statistics_configuration_update | PUT /api/statistics/configuration/{id}/ | |
statistics_inspection_create | POST /api/statistics/inspection/ | |
statistics_inspection_destroy | DELETE /api/statistics/inspection/{id}/ | |
statistics_inspection_list | GET /api/statistics/inspection/ | |
statistics_inspection_retrieve | GET /api/statistics/inspection/{id}/ | |
statistics_inspection_update | PUT /api/statistics/inspection/{id}/ | |
statistics_team_create | POST /api/statistics/team/ | |
statistics_team_destroy | DELETE /api/statistics/team/{id}/ | |
statistics_team_list | GET /api/statistics/team/ | |
statistics_team_retrieve | GET /api/statistics/team/{id}/ | |
statistics_team_update | PUT /api/statistics/team/{id}/ |
statistics_configuration_create
ConfigurationStatistics statistics_configuration_create(configuration_statistics_request)
A mixin that allows reading entities (listing and retrieving by id).
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.models.configuration_statistics import ConfigurationStatistics
from avis_client.models.configuration_statistics_request import ConfigurationStatisticsRequest
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
configuration_statistics_request = avis_client.ConfigurationStatisticsRequest() # ConfigurationStatisticsRequest |
try:
api_response = api_instance.statistics_configuration_create(configuration_statistics_request)
print("The response of StatisticsApi->statistics_configuration_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_configuration_create: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
configuration_statistics_request | ConfigurationStatisticsRequest |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_configuration_destroy
statistics_configuration_destroy(id)
A mixin that allows reading entities (listing and retrieving by id).
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
id = 56 # int | A unique integer value identifying this configuration.
try:
api_instance.statistics_configuration_destroy(id)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_configuration_destroy: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this configuration. |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
HTTP response details
Status code | Description | Response headers |
---|---|---|
204 | No response body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_configuration_list
PaginatedConfigurationStatisticsList statistics_configuration_list(id=id, ordering=ordering, page=page, page_size=page_size)
A mixin that allows reading entities (listing and retrieving by id).
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.models.paginated_configuration_statistics_list import PaginatedConfigurationStatisticsList
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
id = [56] # List[int] | Multiple values may be separated by commas. (optional)
ordering = 'ordering_example' # str | Which field to use when ordering the results. (optional)
page = 56 # int | A page number within the paginated result set. (optional)
page_size = 56 # int | Number of results to return per page. (optional)
try:
api_response = api_instance.statistics_configuration_list(id=id, ordering=ordering, page=page, page_size=page_size)
print("The response of StatisticsApi->statistics_configuration_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_configuration_list: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | List[int] | Multiple values may be separated by commas. | [optional] |
ordering | str | Which field to use when ordering the results. | [optional] |
page | int | A page number within the paginated result set. | [optional] |
page_size | int | Number of results to return per page. | [optional] |
Return type
PaginatedConfigurationStatisticsList
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_configuration_retrieve
ConfigurationStatistics statistics_configuration_retrieve(id)
A mixin that allows reading entities (listing and retrieving by id).
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.models.configuration_statistics import ConfigurationStatistics
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
id = 56 # int | A unique integer value identifying this configuration.
try:
api_response = api_instance.statistics_configuration_retrieve(id)
print("The response of StatisticsApi->statistics_configuration_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_configuration_retrieve: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this configuration. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_configuration_update
ConfigurationStatistics statistics_configuration_update(id, configuration_statistics_request)
A mixin that allows reading entities (listing and retrieving by id).
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.models.configuration_statistics import ConfigurationStatistics
from avis_client.models.configuration_statistics_request import ConfigurationStatisticsRequest
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
id = 56 # int | A unique integer value identifying this configuration.
configuration_statistics_request = avis_client.ConfigurationStatisticsRequest() # ConfigurationStatisticsRequest |
try:
api_response = api_instance.statistics_configuration_update(id, configuration_statistics_request)
print("The response of StatisticsApi->statistics_configuration_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_configuration_update: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this configuration. | |
configuration_statistics_request | ConfigurationStatisticsRequest |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_inspection_create
InspectionImagesStatistics statistics_inspection_create(inspection_images_statistics_request)
A mixin that only allows retrieving entities by id.
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.models.inspection_images_statistics import InspectionImagesStatistics
from avis_client.models.inspection_images_statistics_request import InspectionImagesStatisticsRequest
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
inspection_images_statistics_request = avis_client.InspectionImagesStatisticsRequest() # InspectionImagesStatisticsRequest |
try:
api_response = api_instance.statistics_inspection_create(inspection_images_statistics_request)
print("The response of StatisticsApi->statistics_inspection_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_inspection_create: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
inspection_images_statistics_request | InspectionImagesStatisticsRequest |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_inspection_destroy
statistics_inspection_destroy(id)
A mixin that only allows retrieving entities by id.
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
id = 56 # int | A unique integer value identifying this image.
try:
api_instance.statistics_inspection_destroy(id)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_inspection_destroy: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this image. |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
HTTP response details
Status code | Description | Response headers |
---|---|---|
204 | No response body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_inspection_list
PaginatedInspectionImagesStatisticsList statistics_inspection_list(page=page, page_size=page_size)
A mixin that only allows retrieving entities by id.
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.models.paginated_inspection_images_statistics_list import PaginatedInspectionImagesStatisticsList
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
page = 56 # int | A page number within the paginated result set. (optional)
page_size = 56 # int | Number of results to return per page. (optional)
try:
api_response = api_instance.statistics_inspection_list(page=page, page_size=page_size)
print("The response of StatisticsApi->statistics_inspection_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_inspection_list: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
page | int | A page number within the paginated result set. | [optional] |
page_size | int | Number of results to return per page. | [optional] |
Return type
PaginatedInspectionImagesStatisticsList
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_inspection_retrieve
InspectionImagesStatistics statistics_inspection_retrieve(id)
A mixin that only allows retrieving entities by id.
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.models.inspection_images_statistics import InspectionImagesStatistics
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
id = 56 # int | A unique integer value identifying this image.
try:
api_response = api_instance.statistics_inspection_retrieve(id)
print("The response of StatisticsApi->statistics_inspection_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_inspection_retrieve: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this image. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_inspection_update
InspectionImagesStatistics statistics_inspection_update(id, inspection_images_statistics_request)
A mixin that only allows retrieving entities by id.
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.models.inspection_images_statistics import InspectionImagesStatistics
from avis_client.models.inspection_images_statistics_request import InspectionImagesStatisticsRequest
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
id = 56 # int | A unique integer value identifying this image.
inspection_images_statistics_request = avis_client.InspectionImagesStatisticsRequest() # InspectionImagesStatisticsRequest |
try:
api_response = api_instance.statistics_inspection_update(id, inspection_images_statistics_request)
print("The response of StatisticsApi->statistics_inspection_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_inspection_update: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this image. | |
inspection_images_statistics_request | InspectionImagesStatisticsRequest |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_team_create
InspectionStatistics statistics_team_create(inspection_statistics_request)
A mixin that only allows retrieving entities by id.
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.models.inspection_statistics import InspectionStatistics
from avis_client.models.inspection_statistics_request import InspectionStatisticsRequest
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
inspection_statistics_request = avis_client.InspectionStatisticsRequest() # InspectionStatisticsRequest |
try:
api_response = api_instance.statistics_team_create(inspection_statistics_request)
print("The response of StatisticsApi->statistics_team_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_team_create: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
inspection_statistics_request | InspectionStatisticsRequest |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_team_destroy
statistics_team_destroy(id)
A mixin that only allows retrieving entities by id.
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
id = 56 # int | A unique integer value identifying this inspection.
try:
api_instance.statistics_team_destroy(id)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_team_destroy: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this inspection. |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
HTTP response details
Status code | Description | Response headers |
---|---|---|
204 | No response body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_team_list
PaginatedInspectionStatisticsList statistics_team_list(page=page, page_size=page_size)
A mixin that only allows retrieving entities by id.
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.models.paginated_inspection_statistics_list import PaginatedInspectionStatisticsList
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
page = 56 # int | A page number within the paginated result set. (optional)
page_size = 56 # int | Number of results to return per page. (optional)
try:
api_response = api_instance.statistics_team_list(page=page, page_size=page_size)
print("The response of StatisticsApi->statistics_team_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_team_list: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
page | int | A page number within the paginated result set. | [optional] |
page_size | int | Number of results to return per page. | [optional] |
Return type
PaginatedInspectionStatisticsList
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_team_retrieve
InspectionStatistics statistics_team_retrieve(id)
A mixin that only allows retrieving entities by id.
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.models.inspection_statistics import InspectionStatistics
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
id = 56 # int | A unique integer value identifying this inspection.
try:
api_response = api_instance.statistics_team_retrieve(id)
print("The response of StatisticsApi->statistics_team_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_team_retrieve: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this inspection. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
statistics_team_update
InspectionStatistics statistics_team_update(id, inspection_statistics_request)
A mixin that only allows retrieving entities by id.
Example
- Api Key Authentication (cookieAuth):
- Api Key Authentication (ApiKeyAuth):
import time
import os
import avis_client
from avis_client.models.inspection_statistics import InspectionStatistics
from avis_client.models.inspection_statistics_request import InspectionStatisticsRequest
from avis_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:8000
# See configuration.py for a list of all supported configuration parameters.
configuration = avis_client.Configuration(
host = "http://localhost:8000"
)
# 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 API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with avis_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = avis_client.StatisticsApi(api_client)
id = 56 # int | A unique integer value identifying this inspection.
inspection_statistics_request = avis_client.InspectionStatisticsRequest() # InspectionStatisticsRequest |
try:
api_response = api_instance.statistics_team_update(id, inspection_statistics_request)
print("The response of StatisticsApi->statistics_team_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling StatisticsApi->statistics_team_update: %s\n" % e)
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this inspection. | |
inspection_statistics_request | InspectionStatisticsRequest |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]