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
Add a +json suffix to the attachment placeholder content type to signal
that it is syntactically JSON. The old value is still parsed correctly
for compatibility.
Copy file name to clipboardExpand all lines: develop-docs/sdk/telemetry/attachments.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,7 @@ Trace attachments use item type `"attachment"` with content type `"application/v
178
178
Attachment placeholders are an experimental feature, the protocol is subject to change.
179
179
</Alert>
180
180
181
-
Attachment placeholders use item type `"attachment"` with content type `"application/vnd.sentry.attachment-ref"`. A placeholder contains a **reference** to an attachment uploaded elsewhere — it does _not_ contain the actual attachment payload. The purpose is for the attachment to be handled (rate limited, filtered, etc.) together with the event payload, even if it was uploaded separately.
181
+
Attachment placeholders use item type `"attachment"` with content type `"application/vnd.sentry.attachment-ref+json"`. A placeholder contains a **reference** to an attachment uploaded elsewhere — it does _not_ contain the actual attachment payload. The purpose is for the attachment to be handled (rate limited, filtered, etc.) together with the event payload, even if it was uploaded separately.
182
182
183
183
SDKs **SHOULD** send placeholders in the same envelope as the event the file is attached to.
184
184
@@ -250,7 +250,7 @@ SDKs **SHOULD** send placeholders in the same envelope as the event the file is
250
250
| Field | Type | Required | Description |
251
251
|-------|------|----------|-------------|
252
252
|`type`| String |**REQUIRED**|**MUST** be `"attachment"`. |
253
-
|`content_type`| String |**REQUIRED**|**MUST** be `"application/vnd.sentry.attachment-ref"`. |
253
+
|`content_type`| String |**REQUIRED**|**MUST** be `"application/vnd.sentry.attachment-ref+json"`. |
254
254
|`length`| Integer |**REQUIRED**| Size of the placeholder payload in bytes. |
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. |
0 commit comments