qase
Qase TestOps API v2 Specification.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 2.0.0
- Generator version: 7.15.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://qase.io
Requirements
Python 3.9+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install qase-api-v2-client
(you may need to run pip with root permission: sudo pip install qase-api-v2-client)
Then import the package:
import qase.api_client_v2
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import qase.api_client_v2
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
from qase.api_client_v2.rest import ApiException
from pprint import pprint
import certifi
# Defining the host is optional and defaults to https://api.qase.io/v2
# See configuration.py for a list of all supported configuration parameters.
configuration = qase.api_client_v2.Configuration(
host="https://api.qase.io/v2"
)
configuration.ssl_ca_cert = certifi.where()
# 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: TokenAuth
configuration.api_key['TokenAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['TokenAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with qase.api_client_v2.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = qase.api_client_v2.ResultsApi(api_client)
project_code = 'project_code_example' # str |
run_id = 56 # int |
result_create = qase.api_client_v2.ResultCreate() # ResultCreate |
try:
# (Beta) Create test run result
api_instance.create_result_v2(project_code, run_id, result_create)
except ApiException as e:
print("Exception when calling ResultsApi->create_result_v2: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.qase.io/v2
| Class | Method | HTTP request | Description |
|---|---|---|---|
| ResultsApi | create_result_v2 | POST /{project_code}/run/{run_id}/result | (Beta) Create test run result |
| ResultsApi | create_results_v2 | POST /{project_code}/run/{run_id}/results | (Beta) Bulk create test run result |
| CustomFieldsApi | get_custom_field_v2 | GET /custom-fields/{id} | Get custom field |
| CustomFieldsApi | get_custom_fields_v2 | GET /custom-fields | Get custom fields |
Documentation For Models
- CreateResultsRequestV2
- CustomField
- CustomFieldListResponse
- CustomFieldListResponseAllOfResult
- CustomFieldOption
- CustomFieldResponse
- RelationSuite
- RelationSuiteItem
- ResultCreate
- ResultCreateFields
- ResultExecution
- ResultRelations
- ResultStep
- ResultStepData
- ResultStepExecution
- ResultStepStatus
- ResultStepsType
Documentation For Authorization
Authentication schemes defined for the API:
TokenAuth
- Type: API key
- API key parameter name: Token
- Location: HTTP header
Author
Metadata
Release files for qase-api-v2-client 2.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qase_api_v2_client-2.0.8.tar.gz | 33.9 kB | Without provenance | Details for qase_api_v2_client-2.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qase_api_v2_client-2.0.8-py3-none-any.whl | Python 3 | none | any | Details for qase_api_v2_client-2.0.8-py3-none-any.whl |
Total release size: 90.4 kB
Release files / qase_api_v2_client-2.0.8.tar.gz
| Download URL | qase_api_v2_client-2.0.8.tar.gz |
|---|---|
| Size | 33.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7af470fba44c256d6d8cf704dc0fb54a279d8aeb2260f76deb8e175cb187c82c
|
|
BLAKE2b-256 checksum How to use checksums |
2885c63f8ba9f3fe58d7086bb7b5a03ea8bee7ea5251ad3fd83977a46f522281
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / qase_api_v2_client-2.0.8-py3-none-any.whl
| Download URL | qase_api_v2_client-2.0.8-py3-none-any.whl |
|---|---|
| Size | 56.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5584b7ef54155fcd8df17d6aa44df88d5724f932522fe2d85526da2f927f7ef2
|
|
BLAKE2b-256 checksum How to use checksums |
987c9bab0510069e326c3c52123b3e196398b484d8a6e0dd43977a97e3072d35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for qase-api-v2-client 2.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.