I'm getting a whole Domino Document with the
/api/data/documents/unid/
syntax. I've seen that I get a base64-encoded version of the attachment
"contentType": "application/octet-stream; name=\"Spitzbuben.docx\"",
and I'm just wondering what would be a good way to display this to the user using angular - I'm looking for some sort of file upload directive.
Do you have a suggestion?
Update:
The response to the DDS REST GET call to the document actually returns every single attachment as an multipart array; I've actually got the data in memory. I'm just wondering which would be the most elegant way of displaying to the user the fact that he can 'download' one or many of the attachments.
This is the GET call I am using right now: http://magermandemo2.ch/Development/handbuch/handbuch1_0/Handbuch_(1_0)_Dev.nsf/api/data/documents/unid/B011CE4D9E3DC16DC1257DAA00718FBB
And domino adds this (See attached file: Spitzbuben.doc) at the end of the rich-text-rendered-into-HTML: