New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

qase-api-v2-client

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qase-api-v2-client

Qase TMS Javascript API V2 Client

latest
Source
npmnpm
Version
1.0.11
Version published
Weekly downloads
195K
111.31%
Maintainers
1
Weekly downloads
 
Created
Source

qase

Qase TestOps API v2 Specification.

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

  • API version: 2.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-v2-client

yarn install

yarn add qase-api-v2-client

Then import the package:

import { ResultsApi } from 'qase-api-v2-client';

Getting Started

Please follow the installation procedure and then run the following:

import { ResultsApi, Configuration } from 'qase-api-v2-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/v2"
});

// 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 ResultsApi(configuration);

// Create test run result
try {
    const result = await qaseApi.results.createResultV2('MP', 1, {
        title: 'Test Result',
        execution: {
            status: 'passed',
            duration: 1000
        },
        testops_id: 1,
        steps: [
            {
                position: 1,
                status: 'passed',
                comment: 'Step completed successfully'
            }
        ]
    });
    console.log(result);
} catch (error) {
    console.error('Error creating result:', error);
}

Documentation for API Endpoints

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

ClassMethodHTTP requestDescription
CustomFieldsApigetCustomFieldV2GET /custom_field/{id}Get Custom Field
CustomFieldsApigetCustomFieldsV2GET /custom_fieldGet all Custom Fields
ResultsApicreateResultV2POST /{project_code}/run/{run_id}/resultCreate test run result
ResultsApicreateResultsV2POST /{project_code}/run/{run_id}/resultsBulk create test run result

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 25 Aug 2026

Related posts