List attachments in a particular stream.
Last updated 4 months ago
Stream Id
OK
The attachment File ID.
The file name.
Size in bytes.
const response = await fetch('yourpodURL.symphony.com/pod/v1/streams/{sid}/attachments', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "messageId": "PYLHNm/1K6p...peOpj+FbQ", "ingestionDate": 1548089933946, "userId": 14568529068038, "fileId": "internal_14362", "name": "butterfly.jpg", "size": 70186, "content-type": "image/jpeg", "previews": [ { "fileId": "internal_14362", "width": 600 } ] } ]