{ "opencollection": "1.0.0", "info": { "name": "UiPath Automation Hub Alerts TestCases API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "TestCases", "type": "folder" }, "items": [ { "info": { "name": "UiPath List Test Cases in a Project", "type": "http" }, "http": { "method": "GET", "url": "https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1/api/v2/projects/:projectId/testcases", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Unique identifier of the test project" }, { "name": "page", "value": "1", "type": "query", "description": "Page number for pagination (0-based)" }, { "name": "pageSize", "value": "1", "type": "query", "description": "Number of records per page" } ] }, "docs": "Retrieves all test cases defined within a specific test project. Each test case represents a single test scenario with preconditions, steps, and expected results. Supports pagination and filtering. Requires the TM.TestCases or TM.TestCases.Read OAuth scope." }, { "info": { "name": "UiPath Create a Test Case", "type": "http" }, "http": { "method": "POST", "url": "https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1/api/v2/projects/:projectId/testcases", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Unique identifier of the test project" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new test case within a test project. The test case can be linked to automation packages deployed in Orchestrator to enable automated test execution via test sets. Requires the TM.TestCases OAuth scope." }, { "info": { "name": "UiPath Get a Test Case by ID", "type": "http" }, "http": { "method": "GET", "url": "https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1/api/v2/projects/:projectId/testcases/:testCaseId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Unique identifier of the test project" }, { "name": "testCaseId", "value": "", "type": "path", "description": "Unique identifier of the test case" } ] }, "docs": "Retrieves a specific test case by its unique identifier within a project. Returns full test case details including steps, labels, custom fields, automation linkage, and preconditions." } ] } ], "bundled": true }