List Attachments

List attachments in a particular stream.

Get attachments in a particular stream.

get
Path parameters
sidanyrequired

Stream Id

Query parameters
sinceanyoptional

Timestamp of first required attachment. This is a long integer value representing milliseconds since Jan 1 1970

toanyoptional

Timestamp of last required attachment. This is a long integer value representing milliseconds since Jan 1 1970

limitanyoptional

Maximum number of attachments to return. Default is 50. Must be a positive integer and must not exceed 100.

sortDiranyoptional

Attachment date sort direction : ASC or DESC (default to ASC)

Header parameters
sessionTokenanyrequired

Session authentication token.

Responses
curl -L \
  --url 'yourpodURL.symphony.com/pod/v1/streams/{sid}/attachments'
[
  {
    "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?