{ "opencollection": "1.0.0", "info": { "name": "TestRail API (v2) Cases Sections API", "version": "2.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Sections", "type": "folder" }, "items": [ { "info": { "name": "Get sections", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.testrail.io/index.php?/api/v2/get_sections/:project_id", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The ID of the project." }, { "name": "suite_id", "value": "", "type": "query", "description": "The ID of the test suite (optional if the project is single-suite)." } ] }, "docs": "Returns a list of sections for a project and optional suite." }, { "info": { "name": "Add section", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.testrail.io/index.php?/api/v2/add_section/:project_id", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The ID of the project." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new section in a project's suite." }, { "info": { "name": "Update section", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.testrail.io/index.php?/api/v2/update_section/:section_id", "params": [ { "name": "section_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing section." }, { "info": { "name": "Delete section", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.testrail.io/index.php?/api/v2/delete_section/:section_id", "params": [ { "name": "section_id", "value": "", "type": "path" } ] }, "docs": "Deletes an existing section and all contained cases." } ] } ], "bundled": true }