From 00203636e4a8895e2b27eeba9d21d6350bc6dd79 Mon Sep 17 00:00:00 2001 From: Reingold Shekhtel <13565058+raikbitters@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:02:03 +0100 Subject: [PATCH] Add 5.12 OpenAPI Specifications (#814) * Add 5.12 OpenAPI Specifications * Switch to type module export --- apis/{ => 5.11}/service-api.yaml | 0 apis/{ => 5.11}/service-uat.yaml | 0 apis/service-api.json | 16156 ++++++++++++++++++ apis/service-uat.json | 609 + docs/api/versioned_sidebars/api-sidebars.ts | 27 +- docs/api/versioned_sidebars/uat-sidebars.ts | 27 +- docusaurus.config.js | 52 +- src/config/openapi.config.js | 66 + 8 files changed, 16885 insertions(+), 52 deletions(-) rename apis/{ => 5.11}/service-api.yaml (100%) rename apis/{ => 5.11}/service-uat.yaml (100%) create mode 100644 apis/service-api.json create mode 100644 apis/service-uat.json create mode 100644 src/config/openapi.config.js diff --git a/apis/service-api.yaml b/apis/5.11/service-api.yaml similarity index 100% rename from apis/service-api.yaml rename to apis/5.11/service-api.yaml diff --git a/apis/service-uat.yaml b/apis/5.11/service-uat.yaml similarity index 100% rename from apis/service-uat.yaml rename to apis/5.11/service-uat.yaml diff --git a/apis/service-api.json b/apis/service-api.json new file mode 100644 index 000000000..af6666868 --- /dev/null +++ b/apis/service-api.json @@ -0,0 +1,16156 @@ +{ + "openapi": "3.0.1", + "info": { + "title": "ReportPortal", + "description": "ReportPortal API documentation", + "contact": { + "name": "Support", + "email": "support@reportportal.io" + }, + "license": { + "name": "Apache 2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0" + }, + "version": "5.12.0" + }, + "servers": [ + { + "url": "{scheme}://{host}/api", + "description": "ReportPortal API server", + "variables": { + "scheme": { + "enum": [ + "http", + "https" + ], + "default": "http" + }, + "host": { + "description": "Host name and port (if needed) of Report Portal server", + "default": "demo.reportportal.io" + } + } + } + ], + "security": [ + { + "bearerAuth": [] + } + ], + "tags": [ + { + "name": "activity-controller", + "description": "Activity Controller" + }, + { + "name": "activity-event-controller", + "description": "Activity Event Controller" + }, + { + "name": "bug-tracking-system-controller", + "description": "Bug Tracking System Controller" + }, + { + "name": "dashboard-controller", + "description": "Dashboard Controller" + }, + { + "name": "demo-data-controller", + "description": "Demo Data Controller" + }, + { + "name": "file-storage-controller", + "description": "File Storage Controller" + }, + { + "name": "integration-controller", + "description": "Integration Controller" + }, + { + "name": "launch-async-controller", + "description": "Launch Async Controller. Puts events to the queues" + }, + { + "name": "launch-controller", + "description": "Launch Controller" + }, + { + "name": "log-async-controller", + "description": "Log Async Controller" + }, + { + "name": "log-controller", + "description": "Log Controller" + }, + { + "name": "onboarding-controller", + "description": "Onboarding Controller" + }, + { + "name": "plugin-controller", + "description": "Plugin Controller" + }, + { + "name": "plugin-public-controller", + "description": "Plugin Public Controller" + }, + { + "name": "project-controller", + "description": "Project Controller" + }, + { + "name": "project-settings-controller", + "description": "Project Settings Controller" + }, + { + "name": "settings-controller", + "description": "Settings Controller" + }, + { + "name": "test-item-async-controller", + "description": "Test Item Async Controller" + }, + { + "name": "test-item-controller", + "description": "Test Item Controller" + }, + { + "name": "user-controller", + "description": "User Controller" + }, + { + "name": "user-filter-controller", + "description": "User Filter Controller" + }, + { + "name": "widget-controller", + "description": "Widget Controller" + } + ], + "paths": { + "/v1/settings/analytics": { + "put": { + "tags": [ + "settings-controller" + ], + "summary": "Update analytics settings", + "operationId": "saveAnalyticsSettings_1", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AnalyticsResource" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + }, + "post": { + "tags": [ + "settings-controller" + ], + "summary": "Update analytics settings", + "operationId": "saveAnalyticsSettings", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AnalyticsResource" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v2/{projectName}/launch/{launchId}/finish": { + "put": { + "tags": [ + "launch-async-controller" + ], + "summary": "Finish Launch", + "description": "Finish launch for specified project", + "operationId": "finishLaunch", + "parameters": [ + { + "name": "launchId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FinishExecutionRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FinishLaunchRS" + } + } + } + } + } + } + }, + "/v2/{projectName}/item/{testItemId}": { + "put": { + "tags": [ + "test-item-async-controller" + ], + "summary": "Finish Test Item", + "description": "Finish test item", + "operationId": "finishTestItem", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "testItemId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FinishTestItemRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/widget/{widgetId}": { + "get": { + "tags": [ + "widget-controller" + ], + "summary": "Get widget by ID", + "operationId": "getWidget", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "widgetId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WidgetResource" + } + } + } + } + } + }, + "put": { + "tags": [ + "widget-controller" + ], + "summary": "Update specified widget", + "operationId": "updateWidget", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "widgetId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WidgetRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/settings/sub-type": { + "put": { + "tags": [ + "project-settings-controller" + ], + "summary": "Update of custom project specific issue sub-type", + "operationId": "updateProjectIssueSubType", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateIssueSubTypeRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + }, + "post": { + "tags": [ + "project-settings-controller" + ], + "summary": "Creation of custom project specific issue sub-type", + "operationId": "createProjectIssueSubType", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateIssueSubTypeRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IssueSubTypeCreatedRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/settings/pattern/{id}": { + "put": { + "tags": [ + "project-settings-controller" + ], + "summary": "Update pattern template for items' log messages pattern analysis", + "operationId": "updatePatternTemplate", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdatePatternTemplateRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "project-settings-controller" + ], + "summary": "Delete pattern template for items' log messages pattern analysis", + "operationId": "deletePatternTemplate", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/settings/notification": { + "get": { + "tags": [ + "project-settings-controller" + ], + "summary": "Returns notifications config of specified project", + "description": "Only for users assigned to specified project", + "operationId": "getNotifications", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SenderCaseDTO" + } + } + } + } + } + } + }, + "put": { + "tags": [ + "project-settings-controller" + ], + "summary": "Updates notification for specified project", + "description": "Only for users with PROJECT_MANAGER or ADMIN roles", + "operationId": "updateNotification", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SenderCaseDTO" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + }, + "post": { + "tags": [ + "project-settings-controller" + ], + "summary": "Creates notification for specified project", + "description": "Only for users with PROJECT_MANAGER or ADMIN roles", + "operationId": "createNotification", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SenderCaseDTO" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/{launchId}/update": { + "put": { + "tags": [ + "launch-controller" + ], + "summary": "Updates launch for specified project", + "operationId": "updateLaunch", + "parameters": [ + { + "name": "launchId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateLaunchRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/{launchId}/stop": { + "put": { + "tags": [ + "launch-controller" + ], + "summary": "Force finish launch for specified project", + "operationId": "forceFinishLaunch", + "parameters": [ + { + "name": "launchId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FinishExecutionRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/{launchId}/finish": { + "put": { + "tags": [ + "launch-controller" + ], + "summary": "Finish launch for specified project", + "operationId": "finishLaunch_1", + "parameters": [ + { + "name": "launchId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FinishExecutionRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FinishLaunchRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/update": { + "put": { + "tags": [ + "launch-controller" + ], + "summary": "Updates launches for specified project", + "operationId": "updateLaunches", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BulkRQLongUpdateLaunchRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/stop": { + "put": { + "tags": [ + "launch-controller" + ], + "summary": "Force finish launch", + "operationId": "bulkForceFinish", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BulkRQLongFinishExecutionRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/info": { + "put": { + "tags": [ + "launch-controller" + ], + "summary": "Bulk update attributes and description", + "operationId": "bulkUpdate", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BulkInfoUpdateRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/item": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Find test items by specified filter", + "operationId": "getTestItems", + "parameters": [ + { + "name": "filter.eq.attributeKey", + "in": "query", + "description": "Filters by 'attributeKey'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.attributeValue", + "in": "query", + "description": "Filters by 'attributeValue'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.autoAnalyzed", + "in": "query", + "description": "Filters by 'autoAnalyzed'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.clusterId", + "in": "query", + "description": "Filters by 'clusterId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.description", + "in": "query", + "description": "Filters by 'description'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.duration", + "in": "query", + "description": "Filters by 'duration'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.endTime", + "in": "query", + "description": "Filters by 'endTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.hasChildren", + "in": "query", + "description": "Filters by 'hasChildren'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.hasRetries", + "in": "query", + "description": "Filters by 'hasRetries'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.hasStats", + "in": "query", + "description": "Filters by 'hasStats'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.ignoreAnalyzer", + "in": "query", + "description": "Filters by 'ignoreAnalyzer'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.issueComment", + "in": "query", + "description": "Filters by 'issueComment'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.issueGroupId", + "in": "query", + "description": "Filters by 'issueGroupId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.issueId", + "in": "query", + "description": "Filters by 'issueId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.issueType", + "in": "query", + "description": "Filters by 'issueType'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.issueTypeId", + "in": "query", + "description": "Filters by 'issueTypeId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.key", + "in": "query", + "description": "Filters by 'key'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.lastModified", + "in": "query", + "description": "Filters by 'lastModified'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.launchId", + "in": "query", + "description": "Filters by 'launchId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.levelAttribute", + "in": "query", + "description": "Filters by 'levelAttribute'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.locator", + "in": "query", + "description": "Filters by 'locator'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.mode", + "in": "query", + "description": "Filters by 'mode'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "description": "Filters by 'name'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.parentId", + "in": "query", + "description": "Filters by 'parentId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.path", + "in": "query", + "description": "Filters by 'path'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.patternName", + "in": "query", + "description": "Filters by 'patternName'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.retryParentId", + "in": "query", + "description": "Filters by 'retryParentId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.startTime", + "in": "query", + "description": "Filters by 'startTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.statistics$defects$automation_bug$ab001", + "in": "query", + "description": "Filters by 'statistics$defects$automation_bug$ab001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$no_defect$nd001", + "in": "query", + "description": "Filters by 'statistics$defects$no_defect$nd001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$product_bug$pb001", + "in": "query", + "description": "Filters by 'statistics$defects$product_bug$pb001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$system_issue$si001", + "in": "query", + "description": "Filters by 'statistics$defects$system_issue$si001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$to_investigate$ti001", + "in": "query", + "description": "Filters by 'statistics$defects$to_investigate$ti001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$failed", + "in": "query", + "description": "Filters by 'statistics$executions$failed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$passed", + "in": "query", + "description": "Filters by 'statistics$executions$passed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$skipped", + "in": "query", + "description": "Filters by 'statistics$executions$skipped'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$total", + "in": "query", + "description": "Filters by 'statistics$executions$total'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.status", + "in": "query", + "description": "Filters by 'status'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.testCaseHash", + "in": "query", + "description": "Filters by 'testCaseHash'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.testCaseId", + "in": "query", + "description": "Filters by 'testCaseId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.ticketId", + "in": "query", + "description": "Filters by 'ticketId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.type", + "in": "query", + "description": "Filters by 'type'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.uniqueId", + "in": "query", + "description": "Filters by 'uniqueId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.uuid", + "in": "query", + "description": "Filters by 'uuid'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.value", + "in": "query", + "description": "Filters by 'value'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.has.compositeAttribute", + "in": "query", + "description": "Filters by 'compositeAttribute'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.has.compositeSystemAttribute", + "in": "query", + "description": "Filters by 'compositeSystemAttribute'", + "schema": { + "type": "string" + } + }, + { + "name": "filterId", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "isLatest", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "launchesLimit", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 0 + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TestItemResource" + } + } + } + } + } + } + }, + "put": { + "tags": [ + "test-item-controller" + ], + "summary": "Update issues of specified test items", + "operationId": "defineTestItemIssueType", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DefineIssueRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Issue" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "test-item-controller" + ], + "summary": "Start a root test item", + "operationId": "startRootItem_1", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartTestItemRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedAsyncRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "test-item-controller" + ], + "summary": "Delete test items by specified ids", + "operationId": "deleteTestItems", + "parameters": [ + { + "name": "ids", + "in": "query", + "required": true, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/{testItemId}": { + "put": { + "tags": [ + "test-item-controller" + ], + "summary": "Finish test item", + "operationId": "finishTestItem_1", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "testItemId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FinishTestItemRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/item/{itemId}/update": { + "put": { + "tags": [ + "test-item-controller" + ], + "summary": "Update test item", + "operationId": "updateTestItem", + "parameters": [ + { + "name": "itemId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateTestItemRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/item/suggest/choice": { + "put": { + "tags": [ + "test-item-controller" + ], + "summary": "Handle user choice from suggested items", + "operationId": "handleSuggestChoose", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SuggestInfo" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/item/issue/unlink": { + "put": { + "tags": [ + "test-item-controller" + ], + "summary": "Unlink external issue for specified test items", + "operationId": "unlinkExternalIssues", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnlinkExternalIssueRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/issue/link": { + "put": { + "tags": [ + "test-item-controller" + ], + "summary": "Attach external issue for specified test items", + "operationId": "linkExternalIssues", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LinkExternalIssueRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/info": { + "put": { + "tags": [ + "test-item-controller" + ], + "summary": "Bulk update attributes and description", + "operationId": "bulkUpdate_1", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BulkInfoUpdateRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/filter": { + "get": { + "tags": [ + "user-filter-controller" + ], + "summary": "Get filters", + "operationId": "getAllFilters", + "parameters": [ + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "description": "Filters by 'name'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.owner", + "in": "query", + "description": "Filters by 'owner'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserFilterResource" + } + } + } + } + } + } + }, + "put": { + "tags": [ + "user-filter-controller" + ], + "summary": "Update list of user filters", + "operationId": "updateUserFilters", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CollectionsRQBulkUpdateFilterRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "user-filter-controller" + ], + "summary": "Create user filter", + "operationId": "createFilter", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateUserFilterRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/filter/{filterId}": { + "get": { + "tags": [ + "user-filter-controller" + ], + "summary": "Get specified user filter by id", + "operationId": "getFilter", + "parameters": [ + { + "name": "filterId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserFilterResource" + } + } + } + } + } + }, + "put": { + "tags": [ + "user-filter-controller" + ], + "summary": "Update specified user filter", + "operationId": "updateUserFilter", + "parameters": [ + { + "name": "filterId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateUserFilterRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "user-filter-controller" + ], + "summary": "Delete specified user filter by id", + "operationId": "deleteFilter", + "parameters": [ + { + "name": "filterId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/dashboard/{dashboardId}": { + "get": { + "tags": [ + "dashboard-controller" + ], + "summary": "Get specified dashboard by ID for specified project", + "operationId": "getDashboard", + "parameters": [ + { + "name": "dashboardId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DashboardResource" + } + } + } + } + } + }, + "put": { + "tags": [ + "dashboard-controller" + ], + "summary": "Update specified dashboard for specified project", + "operationId": "updateDashboard", + "parameters": [ + { + "name": "dashboardId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateDashboardRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "dashboard-controller" + ], + "summary": "Delete specified dashboard by ID for specified project", + "operationId": "deleteDashboard", + "parameters": [ + { + "name": "dashboardId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/dashboard/{dashboardId}/add": { + "put": { + "tags": [ + "dashboard-controller" + ], + "summary": "Add widget to specified dashboard", + "operationId": "addWidget", + "parameters": [ + { + "name": "dashboardId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AddWidgetRq" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/project/{projectName}": { + "get": { + "tags": [ + "project-controller" + ], + "summary": "Get information about project", + "description": "Only for users that are assigned to the project", + "operationId": "getProject", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProjectResource" + } + } + } + } + } + }, + "put": { + "tags": [ + "project-controller" + ], + "summary": "Update project", + "operationId": "updateProject", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateProjectRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/project/{projectName}/unassign": { + "put": { + "tags": [ + "project-controller" + ], + "summary": "Unassign users", + "operationId": "unassignProjectUsers", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UnassignUsersRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/project/{projectName}/preference/{filterId}": { + "put": { + "tags": [ + "project-controller" + ], + "summary": "Edit logged-in user preferences", + "description": "Only for logged-in user", + "operationId": "addUserPreference", + "parameters": [ + { + "name": "filterId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "project-controller" + ], + "summary": "Delete logged-in user preferences", + "description": "Only for logged-in user", + "operationId": "removeUserPreference", + "parameters": [ + { + "name": "filterId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/project/{projectName}/notification": { + "put": { + "tags": [ + "project-controller" + ], + "summary": "Update project notifications configuration", + "operationId": "updateProjectNotificationConfig", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProjectNotificationConfigDTO" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/project/{projectName}/index": { + "put": { + "tags": [ + "project-controller" + ], + "summary": "Starts reindex all project data in ML", + "operationId": "indexProjectData", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "project-controller" + ], + "summary": "Delete project index from ML", + "operationId": "deleteProjectIndex", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/project/{projectName}/assign": { + "put": { + "tags": [ + "project-controller" + ], + "summary": "Assign users", + "operationId": "assignProjectUsers", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AssignUsersRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/plugin/{projectName}/{pluginName}/common/{command}": { + "put": { + "tags": [ + "plugin-controller" + ], + "summary": "Execute command to the plugin instance", + "operationId": "executePluginCommand", + "parameters": [ + { + "name": "command", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "pluginName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/v1/plugin/{pluginId}": { + "put": { + "tags": [ + "plugin-controller" + ], + "summary": "Update ReportPortal plugin state", + "operationId": "updatePluginState", + "parameters": [ + { + "name": "pluginId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdatePluginStateRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "plugin-controller" + ], + "summary": "Delete plugin by id", + "operationId": "deletePlugin", + "parameters": [ + { + "name": "pluginId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/plugin/public/{pluginName}/{command}": { + "put": { + "tags": [ + "plugin-public-controller" + ], + "summary": "Execute public command without authentication", + "operationId": "executePublicPluginCommand", + "parameters": [ + { + "name": "command", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "pluginName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/v1/integration/{projectName}/{integrationId}": { + "get": { + "tags": [ + "integration-controller" + ], + "summary": "Get integration instance", + "operationId": "getProjectIntegration", + "parameters": [ + { + "name": "integrationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IntegrationResource" + } + } + } + } + } + }, + "put": { + "tags": [ + "integration-controller" + ], + "summary": "Update project integration instance", + "operationId": "updateProjectIntegration", + "parameters": [ + { + "name": "integrationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IntegrationRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "integration-controller" + ], + "summary": "Delete project integration instance", + "operationId": "deleteProjectIntegration", + "parameters": [ + { + "name": "integrationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/integration/{projectName}/{integrationId}/{command}": { + "put": { + "tags": [ + "integration-controller" + ], + "summary": "Execute command to the integration instance", + "operationId": "executeIntegrationCommand", + "parameters": [ + { + "name": "command", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "integrationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/v1/integration/{integrationId}": { + "get": { + "tags": [ + "integration-controller" + ], + "summary": "Get global ReportPortal integration instance", + "operationId": "getGlobalIntegration", + "parameters": [ + { + "name": "integrationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IntegrationResource" + } + } + } + } + } + }, + "put": { + "tags": [ + "integration-controller" + ], + "summary": "Update global ReportPortal integration instance", + "operationId": "updateGlobalIntegration", + "parameters": [ + { + "name": "integrationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IntegrationRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "integration-controller" + ], + "summary": "Delete global integration instance", + "operationId": "deleteGlobalIntegration", + "parameters": [ + { + "name": "integrationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/users/{login}": { + "get": { + "tags": [ + "user-controller" + ], + "summary": "Return information about specified user", + "description": "Only for administrators and profile's owner", + "operationId": "getUser", + "parameters": [ + { + "name": "login", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserResource" + } + } + } + } + } + }, + "put": { + "tags": [ + "user-controller" + ], + "summary": "Edit specified user", + "description": "Only for administrators and profile's owner", + "operationId": "editUser", + "parameters": [ + { + "name": "login", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EditUserRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v2/{projectName}/log": { + "post": { + "tags": [ + "log-async-controller" + ], + "summary": "Create Log", + "description": "Create log (batching operation)", + "operationId": "createLog", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "multipart/form-data": { + "schema": { + "required": [ + "json_request_part" + ], + "type": "object", + "properties": { + "json_request_part": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SaveLogRQ" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BatchSaveOperatingRS" + } + } + } + } + } + } + }, + "/v2/{projectName}/log/entry": { + "post": { + "tags": [ + "log-async-controller" + ], + "summary": "Create Log Entry", + "description": "Create log", + "operationId": "createLogEntry", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SaveLogRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedAsyncRS" + } + } + } + } + } + } + }, + "/v2/{projectName}/launch": { + "post": { + "tags": [ + "launch-async-controller" + ], + "summary": "Starts launch for specified project", + "operationId": "startLaunch", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartLaunchRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartLaunchRS" + } + } + } + } + } + } + }, + "/v2/{projectName}/launch/merge": { + "post": { + "tags": [ + "launch-async-controller" + ], + "summary": "Merge set of specified launches in common one", + "description": "This operation merges a set of launches into a common one. The IDs of the launches to be merged should be provided in the 'launches' field of the request body.", + "operationId": "mergeLaunches", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MergeLaunchesRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LaunchResource" + } + } + } + } + } + } + }, + "/v2/{projectName}/item": { + "post": { + "tags": [ + "test-item-async-controller" + ], + "summary": "Start Root Item", + "description": "Start a root test item", + "operationId": "startRootItem", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartTestItemRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedAsyncRS" + } + } + } + } + } + } + }, + "/v2/{projectName}/item/{parentItem}": { + "post": { + "tags": [ + "test-item-async-controller" + ], + "summary": "Start Child Item", + "description": "Start a child test item", + "operationId": "startChildItem", + "parameters": [ + { + "name": "parentItem", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartTestItemRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedAsyncRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/widget": { + "post": { + "tags": [ + "widget-controller" + ], + "summary": "Create a new widget", + "operationId": "createWidget", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WidgetRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/widget/preview": { + "post": { + "tags": [ + "widget-controller" + ], + "summary": "Get widget preview", + "operationId": "getWidgetPreview", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WidgetPreviewRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/settings/pattern": { + "post": { + "tags": [ + "project-settings-controller" + ], + "summary": "Create pattern template for items' log messages pattern analysis", + "operationId": "createPatternTemplate", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreatePatternTemplateRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/log": { + "get": { + "tags": [ + "log-controller" + ], + "summary": "Get logs by filter", + "operationId": "getLogs", + "parameters": [ + { + "name": "filter.eq.autoAnalyzed", + "in": "query", + "description": "Filters by 'autoAnalyzed'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.binaryContent", + "in": "query", + "description": "Filters by 'binaryContent'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.item", + "in": "query", + "description": "Filters by 'item'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.lastModified", + "in": "query", + "description": "Filters by 'lastModified'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.launch", + "in": "query", + "description": "Filters by 'launch'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.launchId", + "in": "query", + "description": "Filters by 'launchId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.level", + "in": "query", + "description": "Filters by 'level'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.logId", + "in": "query", + "description": "Filters by 'logId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.logTime", + "in": "query", + "description": "Filters by 'logTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.message", + "in": "query", + "description": "Filters by 'message'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.path", + "in": "query", + "description": "Filters by 'path'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.retryParentId", + "in": "query", + "description": "Filters by 'retryParentId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.retryParentLaunchId", + "in": "query", + "description": "Filters by 'retryParentLaunchId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.status", + "in": "query", + "description": "Filters by 'status'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.under.path", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/LogResource" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "log-controller" + ], + "summary": "Create log (batching operation)", + "operationId": "createLog_1", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "multipart/form-data": { + "schema": { + "required": [ + "json_request_part" + ], + "type": "object", + "properties": { + "json_request_part": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SaveLogRQ" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BatchSaveOperatingRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/log/under": { + "post": { + "tags": [ + "log-controller" + ], + "summary": "Get logs under items", + "operationId": "getLogsUnder", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetLogsUnderRq" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/LogResource" + } + } + } + } + } + } + } + } + }, + "/v1/{projectName}/log/search/{itemId}": { + "post": { + "tags": [ + "log-controller" + ], + "summary": "Search test items with similar error logs", + "operationId": "searchLogs", + "parameters": [ + { + "name": "itemId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SearchLogRq" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SearchLogRs" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/log/entry": { + "post": { + "tags": [ + "log-controller" + ], + "summary": "Create log", + "operationId": "createLogEntry_1", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SaveLogRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedAsyncRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/launch": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Get list of project launches by filter", + "operationId": "getProjectLaunches", + "parameters": [ + { + "name": "filter.eq.attributeKey", + "in": "query", + "description": "Filters by 'attributeKey'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.attributeValue", + "in": "query", + "description": "Filters by 'attributeValue'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.description", + "in": "query", + "description": "Filters by 'description'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.endTime", + "in": "query", + "description": "Filters by 'endTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.hasRetries", + "in": "query", + "description": "Filters by 'hasRetries'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.lastModified", + "in": "query", + "description": "Filters by 'lastModified'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.mode", + "in": "query", + "description": "Filters by 'mode'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "description": "Filters by 'name'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.number", + "in": "query", + "description": "Filters by 'number'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.startTime", + "in": "query", + "description": "Filters by 'startTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.statistics$defects$automation_bug$ab001", + "in": "query", + "description": "Filters by 'statistics$defects$automation_bug$ab001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$no_defect$nd001", + "in": "query", + "description": "Filters by 'statistics$defects$no_defect$nd001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$product_bug$pb001", + "in": "query", + "description": "Filters by 'statistics$defects$product_bug$pb001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$system_issue$si001", + "in": "query", + "description": "Filters by 'statistics$defects$system_issue$si001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$to_investigate$ti001", + "in": "query", + "description": "Filters by 'statistics$defects$to_investigate$ti001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$failed", + "in": "query", + "description": "Filters by 'statistics$executions$failed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$passed", + "in": "query", + "description": "Filters by 'statistics$executions$passed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$skipped", + "in": "query", + "description": "Filters by 'statistics$executions$skipped'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$total", + "in": "query", + "description": "Filters by 'statistics$executions$total'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.status", + "in": "query", + "description": "Filters by 'status'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.user", + "in": "query", + "description": "Filters by 'user'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.userId", + "in": "query", + "description": "Filters by 'userId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.uuid", + "in": "query", + "description": "Filters by 'uuid'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.has.compositeAttribute", + "in": "query", + "description": "Filters by 'compositeAttribute'", + "schema": { + "type": "string" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/LaunchResource" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "launch-controller" + ], + "summary": "Starts launch for specified project", + "operationId": "startLaunch_1", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartLaunchRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartLaunchRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "launch-controller" + ], + "summary": "Delete specified launches by ids", + "operationId": "deleteLaunches", + "parameters": [ + { + "name": "ids", + "in": "query", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteBulkRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/merge": { + "post": { + "tags": [ + "launch-controller" + ], + "summary": "Merge set of specified launches in common one", + "description": "This operation merges a set of launches into a common one. The IDs of the launches to be merged should be provided in the 'launches' field of the request body.", + "operationId": "mergeLaunches_1", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MergeLaunchesRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LaunchResource" + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/cluster": { + "post": { + "tags": [ + "launch-controller" + ], + "summary": "Create launch clusters", + "operationId": "createClusters", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateClustersRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/analyze": { + "post": { + "tags": [ + "launch-controller" + ], + "summary": "Start launch auto-analyzer on demand", + "operationId": "startLaunchAnalyzer", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AnalyzeLaunchRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/item/{parentItem}": { + "post": { + "tags": [ + "test-item-controller" + ], + "summary": "Start a child test item", + "operationId": "startChildItem_1", + "parameters": [ + { + "name": "parentItem", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartTestItemRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedAsyncRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/dashboard": { + "get": { + "tags": [ + "dashboard-controller" + ], + "summary": "Get all permitted dashboard resources for specified project", + "operationId": "getAllDashboards", + "parameters": [ + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "description": "Filters by 'name'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.owner", + "in": "query", + "description": "Filters by 'owner'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DashboardResource" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "dashboard-controller" + ], + "summary": "Create dashboard for specified project", + "operationId": "createDashboard", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateDashboardRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedRS" + } + } + } + } + } + } + }, + "/v1/project": { + "post": { + "tags": [ + "project-controller" + ], + "summary": "Create new project", + "operationId": "createProject", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateProjectRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "project-controller" + ], + "summary": "Delete multiple projects", + "description": "Could be deleted only by users with administrator role", + "operationId": "deleteProject", + "parameters": [ + { + "name": "ids", + "in": "query", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteBulkRS" + } + } + } + } + } + } + }, + "/v1/plugin": { + "get": { + "tags": [ + "plugin-controller" + ], + "summary": "Get all available plugins", + "operationId": "getPlugins", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IntegrationTypeResource" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "plugin-controller" + ], + "summary": "Upload new ReportPortal plugin", + "operationId": "uploadPlugin", + "requestBody": { + "content": { + "multipart/form-data": { + "schema": { + "required": [ + "file" + ], + "type": "object", + "properties": { + "file": { + "type": "string", + "format": "binary" + } + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedRS" + } + } + } + } + } + } + }, + "/v1/plugin/{projectName}/{pluginName}/import": { + "post": { + "tags": [ + "plugin-controller" + ], + "summary": "Send report to the specified plugin for importing", + "operationId": "executeImportPluginCommand", + "parameters": [ + { + "name": "pluginName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "multipart/form-data": { + "schema": { + "required": [ + "file" + ], + "type": "object", + "properties": { + "file": { + "type": "string", + "format": "binary" + }, + "launchImportRq": { + "$ref": "#/components/schemas/LaunchImportRQ" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + } + }, + "/v1/integration/{projectName}/{pluginName}": { + "post": { + "tags": [ + "integration-controller" + ], + "summary": "Create project ReportPortal integration instance", + "operationId": "createProjectIntegration", + "parameters": [ + { + "name": "pluginName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IntegrationRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedRS" + } + } + } + } + } + } + }, + "/v1/integration/{pluginName}": { + "post": { + "tags": [ + "integration-controller" + ], + "summary": "Create global ReportPortal integration instance", + "operationId": "createGlobalIntegration", + "parameters": [ + { + "name": "pluginName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IntegrationRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntryCreatedRS" + } + } + } + } + } + } + }, + "/v1/demo/{projectName}/generate": { + "post": { + "tags": [ + "demo-data-controller" + ], + "summary": "generate", + "operationId": "generate", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DemoDataRq" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DemoDataRs" + } + } + } + } + } + } + }, + "/v1/data/photo": { + "get": { + "tags": [ + "file-storage-controller" + ], + "summary": "Get photo of current user", + "operationId": "getMyPhoto", + "parameters": [ + { + "name": "loadThumbnail", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "post": { + "tags": [ + "file-storage-controller" + ], + "summary": "Upload user's photo", + "operationId": "uploadPhoto", + "requestBody": { + "content": { + "multipart/form-data": { + "schema": { + "required": [ + "file" + ], + "type": "object", + "properties": { + "file": { + "type": "string", + "format": "binary" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "file-storage-controller" + ], + "summary": "Delete user's photo", + "operationId": "deletePhoto", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/data/clean": { + "post": { + "tags": [ + "file-storage-controller" + ], + "summary": "Remove attachments from file storage according to uploaded csv file", + "operationId": "removeAttachmentsByCsv", + "requestBody": { + "content": { + "multipart/form-data": { + "schema": { + "required": [ + "file" + ], + "type": "object", + "properties": { + "file": { + "type": "string", + "format": "binary" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/bts/{projectName}/{integrationId}/ticket": { + "post": { + "tags": [ + "bug-tracking-system-controller" + ], + "summary": "Post ticket to the bts integration", + "operationId": "createIssue", + "parameters": [ + { + "name": "integrationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PostTicketRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Ticket" + } + } + } + } + } + } + }, + "/v1/activities/searches": { + "post": { + "tags": [ + "activity-event-controller" + ], + "summary": "Get activities by search criteria", + "operationId": "getActivities", + "parameters": [ + { + "name": "limit", + "in": "query", + "required": true, + "schema": { + "maximum": 300, + "minimum": 0, + "type": "integer", + "format": "int32" + } + }, + { + "name": "offset", + "in": "query", + "required": true, + "schema": { + "minimum": 0, + "type": "integer", + "format": "int32" + } + }, + { + "name": "order", + "in": "query", + "required": true, + "schema": { + "type": "string", + "enum": [ + "ASC", + "DESC" + ] + } + }, + { + "name": "sort", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SearchCriteriaRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PagedResponseActivityEventResource" + } + } + } + } + } + } + }, + "/users": { + "get": { + "tags": [ + "user-controller" + ], + "summary": "Return information about current logged-in user", + "operationId": "getMyself", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserResource" + } + } + } + } + } + }, + "post": { + "tags": [ + "user-controller" + ], + "summary": "Create specified user", + "description": "Allowable only for users with administrator role", + "operationId": "createUserByAdmin", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateUserRQFull" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateUserRS" + } + } + } + } + } + }, + "delete": { + "tags": [ + "user-controller" + ], + "summary": "Delete specified users by ids", + "operationId": "deleteUsers", + "parameters": [ + { + "name": "ids", + "in": "query", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteBulkRS" + } + } + } + } + } + } + }, + "/users/{userId}/api-keys": { + "get": { + "tags": [ + "user-controller" + ], + "summary": "Get List of users Api Keys", + "operationId": "getUsersApiKeys", + "parameters": [ + { + "name": "userId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiKeysRS" + } + } + } + } + } + }, + "post": { + "tags": [ + "user-controller" + ], + "summary": "Create new Api Key for current user", + "operationId": "createApiKey", + "parameters": [ + { + "name": "userId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiKeyRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiKeyRS" + } + } + } + } + } + } + }, + "/users/registration": { + "get": { + "tags": [ + "user-controller" + ], + "summary": "Get User Bid Info", + "operationId": "getUserBidInfo", + "parameters": [ + { + "name": "uuid", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserBidRS" + } + } + } + } + } + }, + "post": { + "tags": [ + "user-controller" + ], + "summary": "Activate invitation and create user in system", + "operationId": "createUser", + "parameters": [ + { + "name": "uuid", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateUserRQConfirm" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateUserRS" + } + } + } + } + } + } + }, + "/users/password/restore": { + "post": { + "tags": [ + "user-controller" + ], + "summary": "Create a restore password request", + "operationId": "restorePassword", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RestorePasswordRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/users/password/reset": { + "post": { + "tags": [ + "user-controller" + ], + "summary": "Reset password", + "operationId": "resetPassword", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResetPasswordRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/users/password/change": { + "post": { + "tags": [ + "user-controller" + ], + "summary": "Change own password", + "operationId": "changePassword", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ChangePasswordRQ" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/users/bid": { + "post": { + "tags": [ + "user-controller" + ], + "summary": "Register invitation for user who will be created", + "operationId": "createUserBid", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateUserRQ" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateUserBidRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/widget/names/all": { + "get": { + "tags": [ + "widget-controller" + ], + "summary": "Load all widget names which belong to a user", + "operationId": "getWidgetNames", + "parameters": [ + { + "name": "filter.eq.description", + "in": "query", + "description": "Filters by 'description'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "description": "Filters by 'name'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.owner", + "in": "query", + "description": "Filters by 'owner'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/widget/multilevel/{widgetId}": { + "get": { + "tags": [ + "widget-controller" + ], + "summary": "Get multilevel widget by ID", + "operationId": "getWidget_1", + "parameters": [ + { + "name": "attributes", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "params", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/MultiValueMapStringString" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "widgetId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WidgetResource" + } + } + } + } + } + } + }, + "/v1/{projectName}/settings": { + "get": { + "tags": [ + "project-settings-controller" + ], + "summary": "Get project specific issue sub-types", + "description": "Only for users that are assigned to the project", + "operationId": "getProjectSettings", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProjectSettingsResource" + } + } + } + } + } + } + }, + "/v1/{projectName}/log/{logId}": { + "get": { + "tags": [ + "log-controller" + ], + "summary": "Get log by ID", + "operationId": "getLog", + "parameters": [ + { + "name": "logId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LogResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "log-controller" + ], + "summary": "Delete log", + "operationId": "deleteLog", + "parameters": [ + { + "name": "logId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/log/{logId}/page": { + "get": { + "tags": [ + "log-controller" + ], + "summary": "Get logs by filter", + "operationId": "getPageNumber", + "parameters": [ + { + "name": "filter.eq.autoAnalyzed", + "in": "query", + "description": "Filters by 'autoAnalyzed'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.binaryContent", + "in": "query", + "description": "Filters by 'binaryContent'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.item", + "in": "query", + "description": "Filters by 'item'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.lastModified", + "in": "query", + "description": "Filters by 'lastModified'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.launch", + "in": "query", + "description": "Filters by 'launch'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.launchId", + "in": "query", + "description": "Filters by 'launchId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.level", + "in": "query", + "description": "Filters by 'level'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.logId", + "in": "query", + "description": "Filters by 'logId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.logTime", + "in": "query", + "description": "Filters by 'logTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.message", + "in": "query", + "description": "Filters by 'message'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.path", + "in": "query", + "description": "Filters by 'path'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.retryParentId", + "in": "query", + "description": "Filters by 'retryParentId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.retryParentLaunchId", + "in": "query", + "description": "Filters by 'retryParentLaunchId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.status", + "in": "query", + "description": "Filters by 'status'", + "schema": { + "type": "string" + } + }, + { + "name": "logId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/log/uuid/{logId}": { + "get": { + "tags": [ + "log-controller" + ], + "summary": "Get log by UUID (Will be removed in version 6.0)", + "operationId": "getLogByUuid", + "parameters": [ + { + "name": "logId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LogResource" + } + } + } + } + }, + "deprecated": true + } + }, + "/v1/{projectName}/log/nested/{parentId}": { + "get": { + "tags": [ + "log-controller" + ], + "summary": "Get nested steps with logs for the parent Test Item", + "operationId": "getNestedItems", + "parameters": [ + { + "name": "filter.eq.autoAnalyzed", + "in": "query", + "description": "Filters by 'autoAnalyzed'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.binaryContent", + "in": "query", + "description": "Filters by 'binaryContent'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.item", + "in": "query", + "description": "Filters by 'item'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.lastModified", + "in": "query", + "description": "Filters by 'lastModified'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.launch", + "in": "query", + "description": "Filters by 'launch'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.launchId", + "in": "query", + "description": "Filters by 'launchId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.level", + "in": "query", + "description": "Filters by 'level'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.logId", + "in": "query", + "description": "Filters by 'logId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.logTime", + "in": "query", + "description": "Filters by 'logTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.message", + "in": "query", + "description": "Filters by 'message'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.path", + "in": "query", + "description": "Filters by 'path'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.retryParentId", + "in": "query", + "description": "Filters by 'retryParentId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.retryParentLaunchId", + "in": "query", + "description": "Filters by 'retryParentLaunchId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.status", + "in": "query", + "description": "Filters by 'status'", + "schema": { + "type": "string" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "params", + "in": "query", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + { + "name": "parentId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/log/locations/{parentId}": { + "get": { + "tags": [ + "log-controller" + ], + "summary": "Get next or previous log in test item", + "operationId": "getErrorPage", + "parameters": [ + { + "name": "filter.eq.autoAnalyzed", + "in": "query", + "description": "Filters by 'autoAnalyzed'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.binaryContent", + "in": "query", + "description": "Filters by 'binaryContent'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.item", + "in": "query", + "description": "Filters by 'item'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.lastModified", + "in": "query", + "description": "Filters by 'lastModified'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.launch", + "in": "query", + "description": "Filters by 'launch'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.launchId", + "in": "query", + "description": "Filters by 'launchId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.level", + "in": "query", + "description": "Filters by 'level'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.logId", + "in": "query", + "description": "Filters by 'logId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.logTime", + "in": "query", + "description": "Filters by 'logTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.message", + "in": "query", + "description": "Filters by 'message'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.path", + "in": "query", + "description": "Filters by 'path'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.retryParentId", + "in": "query", + "description": "Filters by 'retryParentId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.retryParentLaunchId", + "in": "query", + "description": "Filters by 'retryParentLaunchId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.status", + "in": "query", + "description": "Filters by 'status'", + "schema": { + "type": "string" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "params", + "in": "query", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + { + "name": "parentId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PagedLogResource" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/{launchId}": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Get specified launch by ID", + "operationId": "getLaunch", + "parameters": [ + { + "name": "launchId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LaunchResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "launch-controller" + ], + "summary": "Delete specified launch by ID", + "operationId": "deleteLaunch", + "parameters": [ + { + "name": "launchId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/{launchId}/report": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Export specified launch", + "description": "Only following formats are supported: pdf (by default), xls, html.", + "operationId": "getLaunchReport", + "parameters": [ + { + "name": "launchId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "view", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "pdf", + "xls", + "html" + ] + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + } + }, + "/v1/{projectName}/launch/uuid/{launchId}": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Get specified launch by UUID", + "operationId": "getLaunchByUuid", + "parameters": [ + { + "name": "launchId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LaunchResource" + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/status": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Get Statuses", + "operationId": "getStatuses", + "parameters": [ + { + "name": "ids", + "in": "query", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/owners": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Get all unique owners of project launches", + "operationId": "getAllOwners", + "parameters": [ + { + "name": "filter.cnt.user", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "mode", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "DEFAULT" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/names": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Get launch names of project", + "operationId": "getAllLaunchNames", + "parameters": [ + { + "name": "filter.cnt.name", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/mode": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Get launches of specified project from DEBUG mode", + "operationId": "getDebugLaunches", + "parameters": [ + { + "name": "filter.eq.attributeKey", + "in": "query", + "description": "Filters by 'attributeKey'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.attributeValue", + "in": "query", + "description": "Filters by 'attributeValue'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.description", + "in": "query", + "description": "Filters by 'description'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.endTime", + "in": "query", + "description": "Filters by 'endTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.hasRetries", + "in": "query", + "description": "Filters by 'hasRetries'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.lastModified", + "in": "query", + "description": "Filters by 'lastModified'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.mode", + "in": "query", + "description": "Filters by 'mode'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "description": "Filters by 'name'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.number", + "in": "query", + "description": "Filters by 'number'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.startTime", + "in": "query", + "description": "Filters by 'startTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.statistics$defects$automation_bug$ab001", + "in": "query", + "description": "Filters by 'statistics$defects$automation_bug$ab001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$no_defect$nd001", + "in": "query", + "description": "Filters by 'statistics$defects$no_defect$nd001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$product_bug$pb001", + "in": "query", + "description": "Filters by 'statistics$defects$product_bug$pb001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$system_issue$si001", + "in": "query", + "description": "Filters by 'statistics$defects$system_issue$si001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$to_investigate$ti001", + "in": "query", + "description": "Filters by 'statistics$defects$to_investigate$ti001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$failed", + "in": "query", + "description": "Filters by 'statistics$executions$failed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$passed", + "in": "query", + "description": "Filters by 'statistics$executions$passed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$skipped", + "in": "query", + "description": "Filters by 'statistics$executions$skipped'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$total", + "in": "query", + "description": "Filters by 'statistics$executions$total'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.status", + "in": "query", + "description": "Filters by 'status'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.user", + "in": "query", + "description": "Filters by 'user'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.userId", + "in": "query", + "description": "Filters by 'userId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.uuid", + "in": "query", + "description": "Filters by 'uuid'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.has.compositeAttribute", + "in": "query", + "description": "Filters by 'compositeAttribute'", + "schema": { + "type": "string" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/LaunchResource" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/latest": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Get list of latest project launches by filter", + "operationId": "getLatestLaunches", + "parameters": [ + { + "name": "filter.eq.attributeKey", + "in": "query", + "description": "Filters by 'attributeKey'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.attributeValue", + "in": "query", + "description": "Filters by 'attributeValue'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.description", + "in": "query", + "description": "Filters by 'description'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.endTime", + "in": "query", + "description": "Filters by 'endTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.hasRetries", + "in": "query", + "description": "Filters by 'hasRetries'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.lastModified", + "in": "query", + "description": "Filters by 'lastModified'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.mode", + "in": "query", + "description": "Filters by 'mode'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "description": "Filters by 'name'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.number", + "in": "query", + "description": "Filters by 'number'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.startTime", + "in": "query", + "description": "Filters by 'startTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.statistics$defects$automation_bug$ab001", + "in": "query", + "description": "Filters by 'statistics$defects$automation_bug$ab001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$no_defect$nd001", + "in": "query", + "description": "Filters by 'statistics$defects$no_defect$nd001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$product_bug$pb001", + "in": "query", + "description": "Filters by 'statistics$defects$product_bug$pb001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$system_issue$si001", + "in": "query", + "description": "Filters by 'statistics$defects$system_issue$si001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$to_investigate$ti001", + "in": "query", + "description": "Filters by 'statistics$defects$to_investigate$ti001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$failed", + "in": "query", + "description": "Filters by 'statistics$executions$failed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$passed", + "in": "query", + "description": "Filters by 'statistics$executions$passed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$skipped", + "in": "query", + "description": "Filters by 'statistics$executions$skipped'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$total", + "in": "query", + "description": "Filters by 'statistics$executions$total'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.status", + "in": "query", + "description": "Filters by 'status'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.user", + "in": "query", + "description": "Filters by 'user'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.userId", + "in": "query", + "description": "Filters by 'userId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.uuid", + "in": "query", + "description": "Filters by 'uuid'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.has.compositeAttribute", + "in": "query", + "description": "Filters by 'compositeAttribute'", + "schema": { + "type": "string" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/LaunchResource" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/compare": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Compare launches", + "operationId": "compareLaunches", + "parameters": [ + { + "name": "ids", + "in": "query", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChartStatisticsContent" + } + } + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/cluster/{launchId}": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Get all index clusters of the launch", + "operationId": "getClusters", + "parameters": [ + { + "name": "launchId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ClusterInfoResource" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/attribute/values": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Get all unique attribute values of project launches", + "operationId": "getAttributeValues", + "parameters": [ + { + "name": "filter.cnt.attributeValue", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.attributeKey", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/launch/attribute/keys": { + "get": { + "tags": [ + "launch-controller" + ], + "summary": "Get all unique attribute keys of project launches", + "operationId": "getAttributeKeys", + "parameters": [ + { + "name": "filter.cnt.attributeKey", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/{itemId}": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Find test item by ID", + "operationId": "getTestItem", + "parameters": [ + { + "name": "itemId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TestItemResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "test-item-controller" + ], + "summary": "Delete test item", + "operationId": "deleteTestItem", + "parameters": [ + { + "name": "itemId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperationCompletionRS" + } + } + } + } + } + } + }, + "/v1/{projectName}/item/v2": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Find test items by specified filter", + "operationId": "getTestItemsV2", + "parameters": [ + { + "name": "filter.eq.attributeKey", + "in": "query", + "description": "Filters by 'attributeKey'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.attributeValue", + "in": "query", + "description": "Filters by 'attributeValue'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.autoAnalyzed", + "in": "query", + "description": "Filters by 'autoAnalyzed'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.clusterId", + "in": "query", + "description": "Filters by 'clusterId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.description", + "in": "query", + "description": "Filters by 'description'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.duration", + "in": "query", + "description": "Filters by 'duration'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.endTime", + "in": "query", + "description": "Filters by 'endTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.hasChildren", + "in": "query", + "description": "Filters by 'hasChildren'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.hasRetries", + "in": "query", + "description": "Filters by 'hasRetries'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.hasStats", + "in": "query", + "description": "Filters by 'hasStats'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.ignoreAnalyzer", + "in": "query", + "description": "Filters by 'ignoreAnalyzer'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.issueComment", + "in": "query", + "description": "Filters by 'issueComment'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.issueGroupId", + "in": "query", + "description": "Filters by 'issueGroupId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.issueId", + "in": "query", + "description": "Filters by 'issueId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.issueType", + "in": "query", + "description": "Filters by 'issueType'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.issueTypeId", + "in": "query", + "description": "Filters by 'issueTypeId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.key", + "in": "query", + "description": "Filters by 'key'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.lastModified", + "in": "query", + "description": "Filters by 'lastModified'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.launchId", + "in": "query", + "description": "Filters by 'launchId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.levelAttribute", + "in": "query", + "description": "Filters by 'levelAttribute'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.locator", + "in": "query", + "description": "Filters by 'locator'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.mode", + "in": "query", + "description": "Filters by 'mode'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "description": "Filters by 'name'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.parentId", + "in": "query", + "description": "Filters by 'parentId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.path", + "in": "query", + "description": "Filters by 'path'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.patternName", + "in": "query", + "description": "Filters by 'patternName'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.retryParentId", + "in": "query", + "description": "Filters by 'retryParentId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.startTime", + "in": "query", + "description": "Filters by 'startTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.statistics$defects$automation_bug$ab001", + "in": "query", + "description": "Filters by 'statistics$defects$automation_bug$ab001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$no_defect$nd001", + "in": "query", + "description": "Filters by 'statistics$defects$no_defect$nd001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$product_bug$pb001", + "in": "query", + "description": "Filters by 'statistics$defects$product_bug$pb001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$system_issue$si001", + "in": "query", + "description": "Filters by 'statistics$defects$system_issue$si001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$to_investigate$ti001", + "in": "query", + "description": "Filters by 'statistics$defects$to_investigate$ti001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$failed", + "in": "query", + "description": "Filters by 'statistics$executions$failed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$passed", + "in": "query", + "description": "Filters by 'statistics$executions$passed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$skipped", + "in": "query", + "description": "Filters by 'statistics$executions$skipped'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$total", + "in": "query", + "description": "Filters by 'statistics$executions$total'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.status", + "in": "query", + "description": "Filters by 'status'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.testCaseHash", + "in": "query", + "description": "Filters by 'testCaseHash'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.testCaseId", + "in": "query", + "description": "Filters by 'testCaseId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.ticketId", + "in": "query", + "description": "Filters by 'ticketId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.type", + "in": "query", + "description": "Filters by 'type'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.uniqueId", + "in": "query", + "description": "Filters by 'uniqueId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.uuid", + "in": "query", + "description": "Filters by 'uuid'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.value", + "in": "query", + "description": "Filters by 'value'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.has.compositeAttribute", + "in": "query", + "description": "Filters by 'compositeAttribute'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.has.compositeSystemAttribute", + "in": "query", + "description": "Filters by 'compositeSystemAttribute'", + "schema": { + "type": "string" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "params", + "in": "query", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TestItemResource" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/uuid/{itemId}": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Find test item by UUID", + "operationId": "getTestItemByUuid", + "parameters": [ + { + "name": "itemId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TestItemResource" + } + } + } + } + } + } + }, + "/v1/{projectName}/item/ticket/ids": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Get tickets that contains a term as a part inside for specified launch", + "operationId": "getTicketIds", + "parameters": [ + { + "name": "launch", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "term", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/ticket/ids/all": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Get tickets that contains a term as a part inside for specified launch", + "operationId": "getTicketIdsForProject", + "parameters": [ + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "term", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/suggest/{itemId}": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Search suggested items in analyzer for provided one", + "operationId": "getSuggestedItems", + "parameters": [ + { + "name": "itemId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SuggestedItem" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/suggest/cluster/{clusterId}": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Search suggested items in analyzer for provided one", + "operationId": "getSuggestedClusterItems", + "parameters": [ + { + "name": "clusterId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SuggestedItem" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/step/attribute/values": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Get all unique attribute values of step items under specified project", + "operationId": "getAttributeValues_1", + "parameters": [ + { + "name": "filter.cnt.attributeValue", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.attributeKey", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/step/attribute/keys": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Get all unique attribute keys of step items under specified project", + "operationId": "getAttributeKeys_1", + "parameters": [ + { + "name": "filter.cnt.attributeKey", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/statistics": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Find accumulated statistics of items by specified filter", + "operationId": "getTestItems_1", + "parameters": [ + { + "name": "filter.eq.attributeKey", + "in": "query", + "description": "Filters by 'attributeKey'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.attributeValue", + "in": "query", + "description": "Filters by 'attributeValue'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.autoAnalyzed", + "in": "query", + "description": "Filters by 'autoAnalyzed'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.clusterId", + "in": "query", + "description": "Filters by 'clusterId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.description", + "in": "query", + "description": "Filters by 'description'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.duration", + "in": "query", + "description": "Filters by 'duration'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.endTime", + "in": "query", + "description": "Filters by 'endTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.hasChildren", + "in": "query", + "description": "Filters by 'hasChildren'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.hasRetries", + "in": "query", + "description": "Filters by 'hasRetries'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.hasStats", + "in": "query", + "description": "Filters by 'hasStats'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.ignoreAnalyzer", + "in": "query", + "description": "Filters by 'ignoreAnalyzer'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.issueComment", + "in": "query", + "description": "Filters by 'issueComment'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.issueGroupId", + "in": "query", + "description": "Filters by 'issueGroupId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.issueId", + "in": "query", + "description": "Filters by 'issueId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.issueType", + "in": "query", + "description": "Filters by 'issueType'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.issueTypeId", + "in": "query", + "description": "Filters by 'issueTypeId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.key", + "in": "query", + "description": "Filters by 'key'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.lastModified", + "in": "query", + "description": "Filters by 'lastModified'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.launchId", + "in": "query", + "description": "Filters by 'launchId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.levelAttribute", + "in": "query", + "description": "Filters by 'levelAttribute'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.locator", + "in": "query", + "description": "Filters by 'locator'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.mode", + "in": "query", + "description": "Filters by 'mode'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "description": "Filters by 'name'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.parentId", + "in": "query", + "description": "Filters by 'parentId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.path", + "in": "query", + "description": "Filters by 'path'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.patternName", + "in": "query", + "description": "Filters by 'patternName'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.retryParentId", + "in": "query", + "description": "Filters by 'retryParentId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.startTime", + "in": "query", + "description": "Filters by 'startTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.statistics$defects$automation_bug$ab001", + "in": "query", + "description": "Filters by 'statistics$defects$automation_bug$ab001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$no_defect$nd001", + "in": "query", + "description": "Filters by 'statistics$defects$no_defect$nd001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$product_bug$pb001", + "in": "query", + "description": "Filters by 'statistics$defects$product_bug$pb001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$system_issue$si001", + "in": "query", + "description": "Filters by 'statistics$defects$system_issue$si001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$to_investigate$ti001", + "in": "query", + "description": "Filters by 'statistics$defects$to_investigate$ti001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$failed", + "in": "query", + "description": "Filters by 'statistics$executions$failed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$passed", + "in": "query", + "description": "Filters by 'statistics$executions$passed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$skipped", + "in": "query", + "description": "Filters by 'statistics$executions$skipped'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$total", + "in": "query", + "description": "Filters by 'statistics$executions$total'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.status", + "in": "query", + "description": "Filters by 'status'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.testCaseHash", + "in": "query", + "description": "Filters by 'testCaseHash'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.testCaseId", + "in": "query", + "description": "Filters by 'testCaseId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.ticketId", + "in": "query", + "description": "Filters by 'ticketId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.type", + "in": "query", + "description": "Filters by 'type'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.uniqueId", + "in": "query", + "description": "Filters by 'uniqueId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.uuid", + "in": "query", + "description": "Filters by 'uuid'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.value", + "in": "query", + "description": "Filters by 'value'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.has.compositeAttribute", + "in": "query", + "description": "Filters by 'compositeAttribute'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.has.compositeSystemAttribute", + "in": "query", + "description": "Filters by 'compositeSystemAttribute'", + "schema": { + "type": "string" + } + }, + { + "name": "params", + "in": "query", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StatisticsResource" + } + } + } + } + } + } + }, + "/v1/{projectName}/item/items": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Get test items by specified ids", + "operationId": "getTestItems_2", + "parameters": [ + { + "name": "ids", + "in": "query", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TestItemResource" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/history": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Load history of test items", + "operationId": "getItemsHistory", + "parameters": [ + { + "name": "filter.eq.attributeKey", + "in": "query", + "description": "Filters by 'attributeKey'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.attributeValue", + "in": "query", + "description": "Filters by 'attributeValue'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.autoAnalyzed", + "in": "query", + "description": "Filters by 'autoAnalyzed'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.clusterId", + "in": "query", + "description": "Filters by 'clusterId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.description", + "in": "query", + "description": "Filters by 'description'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.duration", + "in": "query", + "description": "Filters by 'duration'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.endTime", + "in": "query", + "description": "Filters by 'endTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.hasChildren", + "in": "query", + "description": "Filters by 'hasChildren'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.hasRetries", + "in": "query", + "description": "Filters by 'hasRetries'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.hasStats", + "in": "query", + "description": "Filters by 'hasStats'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.ignoreAnalyzer", + "in": "query", + "description": "Filters by 'ignoreAnalyzer'", + "schema": { + "type": "boolean" + } + }, + { + "name": "filter.eq.issueComment", + "in": "query", + "description": "Filters by 'issueComment'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.issueGroupId", + "in": "query", + "description": "Filters by 'issueGroupId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.issueId", + "in": "query", + "description": "Filters by 'issueId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.issueType", + "in": "query", + "description": "Filters by 'issueType'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.issueTypeId", + "in": "query", + "description": "Filters by 'issueTypeId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.key", + "in": "query", + "description": "Filters by 'key'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.lastModified", + "in": "query", + "description": "Filters by 'lastModified'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.launchId", + "in": "query", + "description": "Filters by 'launchId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.levelAttribute", + "in": "query", + "description": "Filters by 'levelAttribute'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.locator", + "in": "query", + "description": "Filters by 'locator'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.mode", + "in": "query", + "description": "Filters by 'mode'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "description": "Filters by 'name'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.parentId", + "in": "query", + "description": "Filters by 'parentId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.path", + "in": "query", + "description": "Filters by 'path'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.patternName", + "in": "query", + "description": "Filters by 'patternName'", + "schema": { + "type": "array" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.retryParentId", + "in": "query", + "description": "Filters by 'retryParentId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.startTime", + "in": "query", + "description": "Filters by 'startTime'", + "schema": { + "type": "string", + "format": "date" + } + }, + { + "name": "filter.eq.statistics$defects$automation_bug$ab001", + "in": "query", + "description": "Filters by 'statistics$defects$automation_bug$ab001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$no_defect$nd001", + "in": "query", + "description": "Filters by 'statistics$defects$no_defect$nd001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$product_bug$pb001", + "in": "query", + "description": "Filters by 'statistics$defects$product_bug$pb001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$system_issue$si001", + "in": "query", + "description": "Filters by 'statistics$defects$system_issue$si001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$defects$to_investigate$ti001", + "in": "query", + "description": "Filters by 'statistics$defects$to_investigate$ti001'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$failed", + "in": "query", + "description": "Filters by 'statistics$executions$failed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$passed", + "in": "query", + "description": "Filters by 'statistics$executions$passed'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$skipped", + "in": "query", + "description": "Filters by 'statistics$executions$skipped'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.statistics$executions$total", + "in": "query", + "description": "Filters by 'statistics$executions$total'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.status", + "in": "query", + "description": "Filters by 'status'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.testCaseHash", + "in": "query", + "description": "Filters by 'testCaseHash'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.testCaseId", + "in": "query", + "description": "Filters by 'testCaseId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.ticketId", + "in": "query", + "description": "Filters by 'ticketId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.type", + "in": "query", + "description": "Filters by 'type'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.uniqueId", + "in": "query", + "description": "Filters by 'uniqueId'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.uuid", + "in": "query", + "description": "Filters by 'uuid'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.value", + "in": "query", + "description": "Filters by 'value'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.has.compositeAttribute", + "in": "query", + "description": "Filters by 'compositeAttribute'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.has.compositeSystemAttribute", + "in": "query", + "description": "Filters by 'compositeSystemAttribute'", + "schema": { + "type": "string" + } + }, + { + "name": "filterId", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "historyDepth", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5 + } + }, + { + "name": "isLatest", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "launchesLimit", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 0 + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "type", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TestItemHistoryElement" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/attribute/values": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Get all unique attribute values of specified launch", + "operationId": "getAttributeValues_2", + "parameters": [ + { + "name": "filter.cnt.attributeValue", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.attributeKey", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "launch", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/attribute/keys": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Get all unique attribute keys of specified launch", + "operationId": "getAttributeKeys_2", + "parameters": [ + { + "name": "filter.cnt.attributeKey", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "launch", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/item/attribute/keys/all": { + "get": { + "tags": [ + "test-item-controller" + ], + "summary": "Get all unique attribute keys of specified launch", + "operationId": "getAttributeKeysForProject", + "parameters": [ + { + "name": "filter.cnt.attributeKey", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "filterId", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "isLatest", + "in": "query", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "launchesLimit", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 0 + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/filter/names": { + "get": { + "tags": [ + "user-filter-controller" + ], + "summary": "Get available filter names", + "operationId": "getAllFiltersNames", + "parameters": [ + { + "name": "filter.eq.id", + "in": "query", + "description": "Filters by 'id'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "filter.eq.name", + "in": "query", + "description": "Filters by 'name'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.owner", + "in": "query", + "description": "Filters by 'owner'", + "schema": { + "type": "string" + } + }, + { + "name": "filter.eq.projectId", + "in": "query", + "description": "Filters by 'projectId'", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.page", + "in": "query", + "description": "Results page you want to retrieve (0..N)", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.size", + "in": "query", + "description": "Number of records per page", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "page.sort", + "in": "query", + "description": "Sorting criteria in the format: property, (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "schema": { + "type": "string" + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OwnedEntityResource" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/filter/filters": { + "get": { + "tags": [ + "user-filter-controller" + ], + "summary": "Get list of specified user filters", + "operationId": "getUserFilters", + "parameters": [ + { + "name": "ids", + "in": "query", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + }, + { + "name": "projectName", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserFilterResource" + } + } + } + } + } + } + } + }, + "/v1/{projectName}/activity/{activityId}": { + "get": { + "tags": [ + "activity-controller" + ], + "summary": "Get an activity by its ID in a specific project", + "description": "Fetches the activity details by its ID for a specific project.", + "operationId": "getActivity", + "parameters": [ + { + "name": "activityId", + "in": "path", + "description": "The ID of the activity to be searched", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "projectName", + "in": "path", + "description": "The name of the project for which the activity should be searched", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Successful operation. Returns the Activity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ActivityResource" + }, + "examples": { + "Successful operation": { + "description": "Successful operation", + "value": { + "id": 1, + "user": "superadmin", + "loggedObjectId": 22, + "lastModified": "2024-03-29T15:03:54.156904Z", + "actionType": "finishLaunch", + "objectType": "LAUNCH", + "projectId": 1, + "details": { + "history": [] + }, + "objectName": "1 step (failed) - filled description" + } + } + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorRS" + }, + "examples": { + "Bad request": { + "description": "Bad request", + "value": { + "timestamp": "2024-05-20T07:12:15.698+00:00", + "status": 400, + "error": "Bad Request", + "path": "/v1/superadmin_personal/activity/1test" + } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorRS" + }, + "examples": { + "Unauthorized": { + "description": "Unauthorized", + "value": { + "error": "unauthorized", + "error_description": "Full authentication is required to access this resource." + } + } + } + } + } + }, + "403": { + "description": "Access Denied", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorRS" + }, + "examples": { + "Access Denied": { + "description": "Access Denied", + "value": { + "error": "access_denied", + "error_description": "You do not have enough permissions" + } + } + } + } + } + }, + "404": { + "description": "Activity not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorRS" + }, + "examples": { + "Activity not found": { + "description": "Activity not found", + "value": { + "errorCode": 40411, + "message": "Activity '1' not found. Did you use correct Activity ID?" + } + } + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorRS" + }, + "examples": { + "Unclassified error": { + "description": "Unclassified error", + "value": { + "errorCode": 5000, + "message": "Unclassified error" + } + } + } + } + } + } + } + } + }, + "/v1/{projectName}/activity/item/{itemId}": { + "get": { + "tags": [ + "activity-controller" + ], + "summary": "Get a list of item activities for a specific project", + "description": "Fetches a list of item activities for a specific project.\n
Action field can have these values:
\nPriority field can have these values:
\nObject type field can have these values:
\nSubject type field can have these values:
\nYou can filter by different operators:
\n