Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

List Attachments

List attachments in a particular stream.

Get attachments in a particular stream.

get
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

File attachments for a message in a stream

messageIdstringOptionalExample: PYLHNm/1K6p...peOpj+FbQ
ingestionDateinteger · int64OptionalExample: 1548089933946
userIdinteger · int64OptionalExample: 14568529068038
fileIdstringOptional

The attachment File ID.

Example: internal_14362
namestringOptional

The file name.

Example: butterfly.jpg
sizeinteger · int64Optional

Size in bytes.

Example: 70186
content-typestringOptionalExample: image/jpeg
get/v1/streams/{sid}/attachments
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?