New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

qase-api-client

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qase-api-client

Qase TMS Javascript API V1 Client

latest
Source
npmnpm
Version
1.1.6
Version published
Weekly downloads
124K
-14.01%
Maintainers
1
Weekly downloads
 
Created
Source

Qase API v1 Client

Qase TestOps API v1 Specification.

This TypeScript/JavaScript package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.4.0
  • Build package: org.openapitools.codegen.languages.TypeScriptAxiosClientCodegen

For more information, please visit https://qase.io

Requirements

  • Node.js >= 14.0.0
  • npm >= 6.0.0

Installation & Usage

npm install

npm install qase-api-client

yarn install

yarn add qase-api-client

Then import the package:

import { ResultApi } from 'qase-api-client';

Getting Started

Please follow the installation procedure and then run the following:

import { RunsApi, Configuration } from 'qase-api-client';

// Defining the host is optional and defaults to https://api.qase.io/v2
// See configuration.ts for a list of all supported configuration parameters.
const configuration = new Configuration({
    basePath: "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.apiKey = process.env.API_KEY;

// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// configuration.apiKeyPrefix = 'Bearer';

// Create an instance of the API class
const qaseApi = new RunsApi(configuration);

// Create test run
try {
    const run = {
        title: 'Regression Test Run',
        description: 'Full regression testing before release',
        cases: [1, 2, 3, 4, 5],
        environment_id: 1,
        milestone_id: 1,
        tags: ['regression', 'release']
    };

    const response = await api.createRun('PROJECT_CODE', run);
    console.log(`Created test run with ID: ${response.result.id}`);
} catch (error) {
    console.error('Error creating run:', error);
}

Documentation for API Endpoints

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

ClassMethodHTTP requestDescription
AttachmentsApideleteattachmentDELETE /attachment/{hash}Remove attachment by Hash
AttachmentsApigetattachmentGET /attachment/{hash}Get attachment by Hash
AttachmentsApigetattachmentsGET /attachmentGet all attachments
AttachmentsApiuploadattachmentPOST /attachment/{code}Upload attachment
AuthorsApigetauthorGET /author/{id}Get a specific author
AuthorsApigetauthorsGET /authorGet all authors
CasesApibulkPOST /case/{code}/bulkCreate test cases in bulk
CasesApicaseattachexternalissuePOST /case/{code}/external-issue/attachAttach the external issues to the test cases
CasesApicasedetachexternalissuePOST /case/{code}/external-issue/detachDetach the external issues from the test cases
CasesApicreatecasePOST /case/{code}Create a new test case
CasesApideletecaseDELETE /case/{code}/{id}Delete test case
CasesApigetcaseGET /case/{code}/{id}Get a specific test case
CasesApigetcasesGET /case/{code}Get all test cases
CasesApiupdatecasePATCH /case/{code}/{id}Update test case
ConfigurationsApicreateconfigurationPOST /configuration/{code}Create a new configuration in a particular group.
ConfigurationsApicreateconfigurationgroupPOST /configuration/{code}/groupCreate a new configuration group.
ConfigurationsApigetconfigurationsGET /configuration/{code}Get all configuration groups with configurations.
CustomFieldsApicreatecustomfieldPOST /customfieldCreate new Custom Field
CustomFieldsApideletecustomfieldDELETE /customfield/{id}Delete Custom Field by id
CustomFieldsApigetcustomfieldGET /customfield/{id}Get Custom Field by id
CustomFieldsApigetcustomfieldsGET /customfieldGet all Custom Fields
CustomFieldsApiupdatecustomfieldPATCH /customfield/{id}Update Custom Field by id
DefectsApicreatedefectPOST /defect/{code}Create a new defect
DefectsApideletedefectDELETE /defect/{code}/{id}Delete defect
DefectsApigetdefectGET /defect/{code}/{id}Get a specific defect
DefectsApigetdefectsGET /defect/{code}Get all defects
DefectsApiresolvedefectPATCH /defect/{code}/resolve/{id}Resolve a specific defect
DefectsApiupdatedefectPATCH /defect/{code}/{id}Update defect
DefectsApiupdatedefectstatusPATCH /defect/{code}/status/{id}Update a specific defect status
EnvironmentsApicreateenvironmentPOST /environment/{code}Create a new environment
EnvironmentsApideleteenvironmentDELETE /environment/{code}/{id}Delete environment
EnvironmentsApigetenvironmentGET /environment/{code}/{id}Get a specific environment
EnvironmentsApigetenvironmentsGET /environment/{code}Get all environments
EnvironmentsApiupdateenvironmentPATCH /environment/{code}/{id}Update environment
MilestonesApicreatemilestonePOST /milestone/{code}Create a new milestone
MilestonesApideletemilestoneDELETE /milestone/{code}/{id}Delete milestone
MilestonesApigetmilestoneGET /milestone/{code}/{id}Get a specific milestone
MilestonesApigetmilestonesGET /milestone/{code}Get all milestones
MilestonesApiupdatemilestonePATCH /milestone/{code}/{id}Update milestone
PlansApicreateplanPOST /plan/{code}Create a new plan
PlansApideleteplanDELETE /plan/{code}/{id}Delete plan
PlansApigetplanGET /plan/{code}/{id}Get a specific plan
PlansApigetplansGET /plan/{code}Get all plans
PlansApiupdateplanPATCH /plan/{code}/{id}Update plan
ProjectsApicreateprojectPOST /projectCreate new project
ProjectsApideleteprojectDELETE /project/{code}Delete Project by code
ProjectsApigetprojectGET /project/{code}Get Project by code
ProjectsApigetprojectsGET /projectGet All Projects
ProjectsApigrantaccesstoprojectPOST /project/{code}/accessGrant access to project by code
ProjectsApirevokeaccesstoprojectDELETE /project/{code}/accessRevoke access to project by code
ResultsApicreateresultPOST /result/{code}/{id}Create test run result
ResultsApicreateresultbulkPOST /result/{code}/{id}/bulkBulk create test run result
ResultsApideleteresultDELETE /result/{code}/{id}/{hash}Delete test run result
ResultsApigetresultGET /result/{code}/{hash}Get test run result by code
ResultsApigetresultsGET /result/{code}Get all test run results
ResultsApiupdateresultPATCH /result/{code}/{id}/{hash}Update test run result
RunsApicompleterunPOST /run/{code}/{id}/completeComplete a specific run
RunsApicreaterunPOST /run/{code}Create a new run
RunsApideleterunDELETE /run/{code}/{id}Delete run
RunsApigetrunGET /run/{code}/{id}Get a specific run
RunsApigetrunsGET /run/{code}Get all runs
RunsApiupdaterunpublicityPATCH /run/{code}/{id}/publicUpdate publicity of a specific run
SearchApisearchGET /searchSearch entities by Qase Query Language (QQL)
SharedStepsApicreatesharedstepPOST /sharedstep/{code}Create a new shared step
SharedStepsApideletesharedstepDELETE /sharedstep/{code}/{hash}Delete shared step
SharedStepsApigetsharedstepGET /sharedstep/{code}/{hash}Get a specific shared step
SharedStepsApigetsharedstepsGET /sharedstep/{code}Get all shared steps
SharedStepsApiupdatesharedstepPATCH /sharedstep/{code}/{hash}Update shared step
SuitesApicreatesuitePOST /suite/{code}Create a new test suite
SuitesApideletesuiteDELETE /suite/{code}/{id}Delete test suite
SuitesApigetsuiteGET /suite/{code}/{id}Get a specific test suite
SuitesApigetsuitesGET /suite/{code}Get all test suites
SuitesApiupdatesuitePATCH /suite/{code}/{id}Update test suite
SystemFieldsApigetsystemfieldsGET /systemfieldGet all System Fields

Documentation For Models

Documentation For Authorization

TokenAuth

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

Author

support@qase.io

FAQs

Package last updated on 07 Apr 2026

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