Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

qaseio

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qaseio

Qase TestOps API client for Python

  • 4.0.2
  • PyPI
  • Socket score

Maintainers
2

qaseio

Qase TestOps API Specification.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: v1
  • Package version: 4.0.1
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://qase.io

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import qaseio

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 qaseio

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:


import time
import qaseio
from qaseio.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.qase.io/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = qaseio.Configuration(
    host = "https://api.qase.io/v1"
)

# 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 qaseio.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = qaseio.AttachmentsApi(api_client)
    hash = 'hash_example' # str | Hash.

    try:
        # Remove attachment by Hash.
        api_response = api_instance.delete_attachment(hash)
        print("The response of AttachmentsApi->delete_attachment:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AttachmentsApi->delete_attachment: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.qase.io/v1

ClassMethodHTTP requestDescription
AttachmentsApidelete_attachmentDELETE /attachment/{hash}Remove attachment by Hash.
AttachmentsApiget_attachmentGET /attachment/{hash}Get attachment by Hash.
AttachmentsApiget_attachmentsGET /attachmentGet all attachments.
AttachmentsApiupload_attachmentPOST /attachment/{code}Upload attachment.
AuthorsApiget_authorGET /author/{id}Get a specific author.
AuthorsApiget_authorsGET /authorGet all authors.
CasesApibulkPOST /case/{code}/bulkCreate test cases in bulk.
CasesApicase_attach_external_issuePOST /case/{code}/external-issue/attachAttach the external issues to the test cases.
CasesApicase_detach_external_issuePOST /case/{code}/external-issue/detachDetach the external issues from the test cases.
CasesApicreate_casePOST /case/{code}Create a new test case.
CasesApidelete_caseDELETE /case/{code}/{id}Delete test case.
CasesApiget_caseGET /case/{code}/{id}Get a specific test case.
CasesApiget_casesGET /case/{code}Get all test cases.
CasesApiupdate_casePATCH /case/{code}/{id}Update test case.
ConfigurationsApicreate_configurationPOST /configuration/{code}Create a new configuration in a particular group.
ConfigurationsApicreate_configuration_groupPOST /configuration/{code}/groupCreate a new configuration group.
ConfigurationsApiget_configurationsGET /configuration/{code}Get all configuration groups with configurations.
CustomFieldsApicreate_custom_fieldPOST /custom_fieldCreate new Custom Field.
CustomFieldsApidelete_custom_fieldDELETE /custom_field/{id}Delete Custom Field by id.
CustomFieldsApiget_custom_fieldGET /custom_field/{id}Get Custom Field by id.
CustomFieldsApiget_custom_fieldsGET /custom_fieldGet all Custom Fields.
CustomFieldsApiupdate_custom_fieldPATCH /custom_field/{id}Update Custom Field by id.
DefectsApicreate_defectPOST /defect/{code}Create a new defect.
DefectsApidelete_defectDELETE /defect/{code}/{id}Delete defect.
DefectsApiget_defectGET /defect/{code}/{id}Get a specific defect.
DefectsApiget_defectsGET /defect/{code}Get all defects.
DefectsApiresolve_defectPATCH /defect/{code}/resolve/{id}Resolve a specific defect.
DefectsApiupdate_defectPATCH /defect/{code}/{id}Update defect.
DefectsApiupdate_defect_statusPATCH /defect/{code}/status/{id}Update a specific defect status.
EnvironmentsApicreate_environmentPOST /environment/{code}Create a new environment.
EnvironmentsApidelete_environmentDELETE /environment/{code}/{id}Delete environment.
EnvironmentsApiget_environmentGET /environment/{code}/{id}Get a specific environment.
EnvironmentsApiget_environmentsGET /environment/{code}Get all environments.
EnvironmentsApiupdate_environmentPATCH /environment/{code}/{id}Update environment.
MilestonesApicreate_milestonePOST /milestone/{code}Create a new milestone.
MilestonesApidelete_milestoneDELETE /milestone/{code}/{id}Delete milestone.
MilestonesApiget_milestoneGET /milestone/{code}/{id}Get a specific milestone.
MilestonesApiget_milestonesGET /milestone/{code}Get all milestones.
MilestonesApiupdate_milestonePATCH /milestone/{code}/{id}Update milestone.
PlansApicreate_planPOST /plan/{code}Create a new plan.
PlansApidelete_planDELETE /plan/{code}/{id}Delete plan.
PlansApiget_planGET /plan/{code}/{id}Get a specific plan.
PlansApiget_plansGET /plan/{code}Get all plans.
PlansApiupdate_planPATCH /plan/{code}/{id}Update plan.
ProjectsApicreate_projectPOST /projectCreate new project.
ProjectsApidelete_projectDELETE /project/{code}Delete Project by code.
ProjectsApiget_projectGET /project/{code}Get Project by code.
ProjectsApiget_projectsGET /projectGet All Projects.
ProjectsApigrant_access_to_projectPOST /project/{code}/accessGrant access to project by code.
ProjectsApirevoke_access_to_projectDELETE /project/{code}/accessRevoke access to project by code.
ResultsApicreate_resultPOST /result/{code}/{id}Create test run result.
ResultsApicreate_result_bulkPOST /result/{code}/{id}/bulkBulk create test run result.
ResultsApidelete_resultDELETE /result/{code}/{id}/{hash}Delete test run result.
ResultsApiget_resultGET /result/{code}/{hash}Get test run result by code.
ResultsApiget_resultsGET /result/{code}Get all test run results.
ResultsApiupdate_resultPATCH /result/{code}/{id}/{hash}Update test run result.
RunsApicomplete_runPOST /run/{code}/{id}/completeComplete a specific run.
RunsApicreate_runPOST /run/{code}Create a new run.
RunsApidelete_runDELETE /run/{code}/{id}Delete run.
RunsApiget_runGET /run/{code}/{id}Get a specific run.
RunsApiget_runsGET /run/{code}Get all runs.
RunsApiupdate_run_publicityPATCH /run/{code}/{id}/publicUpdate publicity of a specific run.
SearchApisearchGET /searchSearch entities by Qase Query Language (QQL).
SharedStepsApicreate_shared_stepPOST /shared_step/{code}Create a new shared step.
SharedStepsApidelete_shared_stepDELETE /shared_step/{code}/{hash}Delete shared step.
SharedStepsApiget_shared_stepGET /shared_step/{code}/{hash}Get a specific shared step.
SharedStepsApiget_shared_stepsGET /shared_step/{code}Get all shared steps.
SharedStepsApiupdate_shared_stepPATCH /shared_step/{code}/{hash}Update shared step.
SuitesApicreate_suitePOST /suite/{code}Create a new test suite.
SuitesApidelete_suiteDELETE /suite/{code}/{id}Delete test suite.
SuitesApiget_suiteGET /suite/{code}/{id}Get a specific test suite.
SuitesApiget_suitesGET /suite/{code}Get all test suites.
SuitesApiupdate_suitePATCH /suite/{code}/{id}Update test suite.
SystemFieldsApiget_system_fieldsGET /system_fieldGet all System Fields.

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

TokenAuth

  • Type: API key
  • API key parameter name: Token
  • Location: HTTP header

Author

support@qase.io

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc