List Attachments
List attachments in a particular stream.
Path parameters
sidstringRequired
Stream Id
Query parameters
sinceinteger · int64Optional
Timestamp of first required attachment. This is a long integer value representing milliseconds since Jan 1 1970
tointeger · int64Optional
Timestamp of last required attachment. This is a long integer value representing milliseconds since Jan 1 1970
limitintegerOptional
Maximum number of attachments to return. Default is 50. Must be a positive integer and must not exceed 100.
sortDirstringOptional
Attachment date sort direction : ASC or DESC (default to ASC)
Header parameters
sessionTokenstringRequired
Session authentication token.
Responses
200
OK
application/json
400
Client error, see response body for further details.
application/json
401
Unauthorized: Invalid session token.
application/json
403
Forbidden: Caller lacks necessary entitlement.
application/json
500
Server error, see response body for further details.
application/json
get
GET /pod/v1/streams/{sid}/attachments HTTP/1.1
Host: yourpodURL.symphony.com
sessionToken: text
Accept: */*
[
{
"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
}
]
}
]
Last updated
Was this helpful?