You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0e6c703
Browse filesBrowse the repository at this point in the historyBrowse files
docs: Update attachment header requirements in documentation (#17040)
While implementing this in Relay noticed that `ChunkedAttachment` has a
`attachment_type` field which we want to set with the original file's
attachment type.
Copy file name to clipboardExpand all lines: develop-docs/sdk/telemetry/attachments.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -255,7 +255,7 @@ SDKs **SHOULD** send placeholders in the same envelope as the event the file is
255
255
|`attachment_length`| Integer |**REQUIRED**| Size of the referenced attachment in bytes. |
256
256
|`filename`| String |**REQUIRED**| The name of the uploaded file without a path component. |
257
257
258
-
The item header **MAY** also contain `attachment_type`and the original file's `content_type` as an additional field (see [Standard Attachment Item](#standard-attachment-item)).
258
+
The item header **MUST** also contain the original file's `attachment_type`if it was set. The item payload **MUST** contain the original file's `content_type` as a field in the JSON object (see [Standard Attachment Item](#standard-attachment-item)).
0 commit comments