confluence-go-api
confluence-go-api copied to clipboard
Add Download field into struct Links
Checklist
- [ ]
mage testpasses - [ ] 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.