
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
qase-api-client
Advanced tools
Qase TestOps API v1 Specification.
This TypeScript/JavaScript package is automatically generated by the OpenAPI Generator project:
For more information, please visit https://qase.io
npm install qase-api-client
yarn add qase-api-client
Then import the package:
import { ResultApi } from 'qase-api-client';
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);
}
All URIs are relative to https://api.qase.io/v1
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AttachmentsApi | deleteattachment | DELETE /attachment/{hash} | Remove attachment by Hash |
| AttachmentsApi | getattachment | GET /attachment/{hash} | Get attachment by Hash |
| AttachmentsApi | getattachments | GET /attachment | Get all attachments |
| AttachmentsApi | uploadattachment | POST /attachment/{code} | Upload attachment |
| AuthorsApi | getauthor | GET /author/{id} | Get a specific author |
| AuthorsApi | getauthors | GET /author | Get all authors |
| CasesApi | bulk | POST /case/{code}/bulk | Create test cases in bulk |
| CasesApi | caseattachexternalissue | POST /case/{code}/external-issue/attach | Attach the external issues to the test cases |
| CasesApi | casedetachexternalissue | POST /case/{code}/external-issue/detach | Detach the external issues from the test cases |
| CasesApi | createcase | POST /case/{code} | Create a new test case |
| CasesApi | deletecase | DELETE /case/{code}/{id} | Delete test case |
| CasesApi | getcase | GET /case/{code}/{id} | Get a specific test case |
| CasesApi | getcases | GET /case/{code} | Get all test cases |
| CasesApi | updatecase | PATCH /case/{code}/{id} | Update test case |
| ConfigurationsApi | createconfiguration | POST /configuration/{code} | Create a new configuration in a particular group. |
| ConfigurationsApi | createconfigurationgroup | POST /configuration/{code}/group | Create a new configuration group. |
| ConfigurationsApi | getconfigurations | GET /configuration/{code} | Get all configuration groups with configurations. |
| CustomFieldsApi | createcustomfield | POST /customfield | Create new Custom Field |
| CustomFieldsApi | deletecustomfield | DELETE /customfield/{id} | Delete Custom Field by id |
| CustomFieldsApi | getcustomfield | GET /customfield/{id} | Get Custom Field by id |
| CustomFieldsApi | getcustomfields | GET /customfield | Get all Custom Fields |
| CustomFieldsApi | updatecustomfield | PATCH /customfield/{id} | Update Custom Field by id |
| DefectsApi | createdefect | POST /defect/{code} | Create a new defect |
| DefectsApi | deletedefect | DELETE /defect/{code}/{id} | Delete defect |
| DefectsApi | getdefect | GET /defect/{code}/{id} | Get a specific defect |
| DefectsApi | getdefects | GET /defect/{code} | Get all defects |
| DefectsApi | resolvedefect | PATCH /defect/{code}/resolve/{id} | Resolve a specific defect |
| DefectsApi | updatedefect | PATCH /defect/{code}/{id} | Update defect |
| DefectsApi | updatedefectstatus | PATCH /defect/{code}/status/{id} | Update a specific defect status |
| EnvironmentsApi | createenvironment | POST /environment/{code} | Create a new environment |
| EnvironmentsApi | deleteenvironment | DELETE /environment/{code}/{id} | Delete environment |
| EnvironmentsApi | getenvironment | GET /environment/{code}/{id} | Get a specific environment |
| EnvironmentsApi | getenvironments | GET /environment/{code} | Get all environments |
| EnvironmentsApi | updateenvironment | PATCH /environment/{code}/{id} | Update environment |
| MilestonesApi | createmilestone | POST /milestone/{code} | Create a new milestone |
| MilestonesApi | deletemilestone | DELETE /milestone/{code}/{id} | Delete milestone |
| MilestonesApi | getmilestone | GET /milestone/{code}/{id} | Get a specific milestone |
| MilestonesApi | getmilestones | GET /milestone/{code} | Get all milestones |
| MilestonesApi | updatemilestone | PATCH /milestone/{code}/{id} | Update milestone |
| PlansApi | createplan | POST /plan/{code} | Create a new plan |
| PlansApi | deleteplan | DELETE /plan/{code}/{id} | Delete plan |
| PlansApi | getplan | GET /plan/{code}/{id} | Get a specific plan |
| PlansApi | getplans | GET /plan/{code} | Get all plans |
| PlansApi | updateplan | PATCH /plan/{code}/{id} | Update plan |
| ProjectsApi | createproject | POST /project | Create new project |
| ProjectsApi | deleteproject | DELETE /project/{code} | Delete Project by code |
| ProjectsApi | getproject | GET /project/{code} | Get Project by code |
| ProjectsApi | getprojects | GET /project | Get All Projects |
| ProjectsApi | grantaccesstoproject | POST /project/{code}/access | Grant access to project by code |
| ProjectsApi | revokeaccesstoproject | DELETE /project/{code}/access | Revoke access to project by code |
| ResultsApi | createresult | POST /result/{code}/{id} | Create test run result |
| ResultsApi | createresultbulk | POST /result/{code}/{id}/bulk | Bulk create test run result |
| ResultsApi | deleteresult | DELETE /result/{code}/{id}/{hash} | Delete test run result |
| ResultsApi | getresult | GET /result/{code}/{hash} | Get test run result by code |
| ResultsApi | getresults | GET /result/{code} | Get all test run results |
| ResultsApi | updateresult | PATCH /result/{code}/{id}/{hash} | Update test run result |
| RunsApi | completerun | POST /run/{code}/{id}/complete | Complete a specific run |
| RunsApi | createrun | POST /run/{code} | Create a new run |
| RunsApi | deleterun | DELETE /run/{code}/{id} | Delete run |
| RunsApi | getrun | GET /run/{code}/{id} | Get a specific run |
| RunsApi | getruns | GET /run/{code} | Get all runs |
| RunsApi | updaterunpublicity | PATCH /run/{code}/{id}/public | Update publicity of a specific run |
| SearchApi | search | GET /search | Search entities by Qase Query Language (QQL) |
| SharedStepsApi | createsharedstep | POST /sharedstep/{code} | Create a new shared step |
| SharedStepsApi | deletesharedstep | DELETE /sharedstep/{code}/{hash} | Delete shared step |
| SharedStepsApi | getsharedstep | GET /sharedstep/{code}/{hash} | Get a specific shared step |
| SharedStepsApi | getsharedsteps | GET /sharedstep/{code} | Get all shared steps |
| SharedStepsApi | updatesharedstep | PATCH /sharedstep/{code}/{hash} | Update shared step |
| SuitesApi | createsuite | POST /suite/{code} | Create a new test suite |
| SuitesApi | deletesuite | DELETE /suite/{code}/{id} | Delete test suite |
| SuitesApi | getsuite | GET /suite/{code}/{id} | Get a specific test suite |
| SuitesApi | getsuites | GET /suite/{code} | Get all test suites |
| SuitesApi | updatesuite | PATCH /suite/{code}/{id} | Update test suite |
| SystemFieldsApi | getsystemfields | GET /systemfield | Get all System Fields |
FAQs
Qase TMS Javascript API V1 Client
The npm package qase-api-client receives a total of 119,222 weekly downloads. As such, qase-api-client popularity was classified as popular.
We found that qase-api-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.