List Attachments
List attachments in a particular stream.
Stream Id
Timestamp of first required attachment. This is a long integer value representing milliseconds since Jan 1 1970
Timestamp of last required attachment. This is a long integer value representing milliseconds since Jan 1 1970
Maximum number of attachments to return. Default is 50. Must be a positive integer and must not exceed 100.
Attachment date sort direction : ASC or DESC (default to ASC)
Session authentication token.
OK
File attachments for a message in a stream
PYLHNm/1K6p...peOpj+FbQ154808993394614568529068038The attachment File ID.
internal_14362The file name.
butterfly.jpgSize in bytes.
70186image/jpegClient error, see response body for further details.
Unauthorized: Invalid session token.
Forbidden: Caller lacks necessary entitlement.
Server error, see response body for further details.
GET /pod/v1/streams/{sid}/attachments HTTP/1.1
Host: yourpodURL.symphony.com
sessionToken: text
Accept: */*
[
{
"messageId": "PYLHNm/1K6p...peOpj+FbQ",
"userId": "USER_ID",
"ingestionDate": 1548089933946,
"fileId": "internal_143623",
"name": "butterfly.jpg",
"size": 70186,
"contentType": "image/jpeg",
"previews": [
{
"fileId": "internal_143623",
"width": 600
}
]
},
{
"messageId": "KpjYuzMLR+JK1co7QBfukX///peOpZmdbQ==",
"userId": "USER_ID",
"ingestionDate": 1548089976418,
"fileId": "internal_1436237",
"name": "car.png",
"size": 15754,
"contentType": "image/png",
"previews": [
{
"fileId": "internal_14362370637",
"width": 600
}
]
}
]Last updated
Was this helpful?