confluence-go-api icon indicating copy to clipboard operation
confluence-go-api copied to clipboard

Add Download field into struct Links

Open LubosD opened this issue 3 years ago • 0 comments

Checklist
  • [ ] mage test passes
  • [ ] unit tests are included and tested
  • [ ] documentation is added or changed

I hope I'm not making a fool out of myself by missing something completely obvious, but nowhere in godoc or examples could I find a way how to download (binary) attachment contents. Confluence's REST API provides a download link for attachments, but the Links struct contained no such field.

This PR merely adds that one field.

LubosD avatar Sep 10 '22 12:09 LubosD