Forum

API access to attac...
 
Notifications
Clear all

API access to attachments

2 Posts
2 Users
0 Reactions
1,995 Views
(@andyb)
Posts: 12
Active Member
Topic starter
 
[#5521]

I'm using version 7.1.5 and needing to access attachments via the API.

Is there a way to do this?

Basically, I'm looking at doing some unattended/automated testing driven from Test Sessions.

I've created a number of Test Cases and attached to each one a script to drive that particular test.

I've added the Test Cases to a Test Session

The testing application will identify each Test Session to run and loop through each of the attached Test Cases running its script and then updating the status depending on the result (and with a bit of luck logging a Ticket).

But... I can't find an endpoint which lets me access the actual attached document. The attachment endpoint gives me the metadata associated with the document and a path on the web server to the file which doesn't really help me.

Is there a way to get the actual document via the API?


 
Posted : 31 Oct 2018 15H22
(@babynus)
Posts: 14952
Member Admin
 

I'm using version 7.1.5 and needing to access attachments via the API.

No, it's not possible to manage attachments through API.
Even if it would be possible, you could access meta data of the attachùents, not the corresponding file; I don't thing it would be sane to manage file sthrough API


 
Posted : 31 Oct 2018 15H30
Share:

Scroll to Top