Package: turbinia-api-lib
turbinia-api-libTurbinia is an open-source framework for deploying, managing, and running distributed forensic workloadsThis Python package is automatically generated by theOpenAPI Generatorproject:API version: 1.0.0Package version: 1.0.0Build package: org.openapitools.codegen.languages.PythonPydanticV1ClientCodegenRequirements.Python 3.7+Installation & Usagepip installIf the python package is hosted on a repository, you can install directly using:pipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importturbinia_api_libSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importturbinia_api_libTestsExecutepytestto run the tests.Getting StartedPlease follow theinstallation procedureand then run the following:importtimeimportturbinia_api_libfromturbinia_api_lib.restimportApiExceptionfrompprintimportpprint# Defining the host is optional and defaults to http://localhost# See configuration.py for a list of all supported configuration parameters.configuration=turbinia_api_lib.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.configuration.access_token=os.environ["ACCESS_TOKEN"]# Enter a context with an instance of the API clientwithturbinia_api_lib.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=turbinia_api_lib.TurbiniaConfigurationApi(api_client)try:# Get Request Optionsapi_response=api_instance.get_request_options()print("The response of TurbiniaConfigurationApi->get_request_options:\n")pprint(api_response)exceptApiExceptionase:print("Exception when calling TurbiniaConfigurationApi->get_request_options:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttp://localhostClassMethodHTTP requestDescriptionTurbiniaConfigurationApiget_request_optionsGET/api/config/request_optionsGet Request OptionsTurbiniaConfigurationApiread_configGET/api/config/Read ConfigTurbiniaEvidenceApiget_evidence_attributesGET/api/evidence/types/{evidence_type}Get Evidence AttributesTurbiniaEvidenceApiget_evidence_by_idGET/api/evidence/{evidence_id}Get Evidence By IdTurbiniaEvidenceApiget_evidence_summaryGET/api/evidence/summaryGet Evidence SummaryTurbiniaEvidenceApiget_evidence_typesGET/api/evidence/typesGet Evidence TypesTurbiniaEvidenceApiquery_evidenceGET/api/evidence/queryQuery EvidenceTurbiniaEvidenceApiupload_evidencePOST/api/evidence/uploadUpload EvidenceTurbiniaJobsApiread_jobsGET/api/jobs/Read JobsTurbiniaLogsApiget_logsGET/api/logs/{query}Get LogsTurbiniaRequestResultsApiget_request_outputGET/api/result/request/{request_id}Get Request OutputTurbiniaRequestResultsApiget_task_outputGET/api/result/task/{task_id}Get Task OutputTurbiniaRequestsApicreate_requestPOST/api/request/Create RequestTurbiniaRequestsApiget_request_statusGET/api/request/{request_id}Get Request StatusTurbiniaRequestsApiget_requests_summaryGET/api/request/summaryGet Requests SummaryTurbiniaTasksApiget_task_statisticsGET/api/task/statisticsGet Task StatisticsTurbiniaTasksApiget_task_statusGET/api/task/{task_id}Get Task StatusTurbiniaTasksApiget_workers_statusGET/api/task/workersGet Workers StatusDocumentation For ModelsBaseRequestOptionsCompleteTurbiniaStatsHTTPValidationErrorLocationInnerRequestValidationErrorDocumentation For AuthorizationAuthentication schemes defined for the API:oAuth2Type: OAuthFlow: accessCodeAuthorization URL:https://accounts.google.com/o/oauth2/v2/authScopes: N/AAuthor