I'm working with the AiO Tests REST API and need help accessing detailed test case information including steps and attachments.
Current situation:
Using endpoint: GET /project/{projectKeyOrId}/testcase
Successfully retrieving test case lists with basic info (key, name, objective, steps_count)
Authorization working correctly with AioAuth {token} header
What I need: I need to access the full test case details including:
Complete step information (CaseStep objects)
Step attachments (stepAttachments, dataAttachments, expectedResultAttachments)
What is the correct API endpoint or parameter to retrieve complete test case details with steps and attachments? I've reviewed the documentation at
/aio-tcms/aiotcms-static/api-docs/
but couldn't find a specific endpoint for individual test case details
Hello,
Our "Get Testcase Detail API" (/api/v1/project/{jiraProjectId}/testcase/{testCaseId}/detail), will give you the information you are looking for.
This API has a "needAttachments" parameter which can be set to retrieve attachment IDs and then using the /api/v1/project/{jiraProjectId}/attachment/{attachmentId} API, you can get the relevant attachment.
Hope this helps!