gurock / testrail-api

TestRail API: Examples on how to use TestRail's API from various languages
Other
116 stars 86 forks source link

Screenshots not accessible/downloadable through the API's methods #37

Open yfrindel opened 2 years ago

yfrindel commented 2 years ago

Hi,

I would like to download the screenshots present in the steps of the test cases (With C#) for a migration. I can access to the screenshots in the browser with this kind of link "https://url.testrail.com/index.php?/attachments/get/attachmentNumber", but when I call the API method called "index.php?/api/v2/get_attachments_for_case/caseNumber" I can't see the screenshots in the attachments list returned by the method, so I can't download the screenshots with the method "index.php?/api/v2/get_attachment/attachmentID". Is there a way to download the screenshots please? Or is it a bug?

Thank you