Skip to content

Commit f0b2929

Browse files
ref(docs): add info about mimetype in docs (#12118)
1 parent 93f5071 commit f0b2929

File tree

11 files changed

+154
-0
lines changed
  • docs/platforms
    • android/enriching-events/attachments
    • apple/common/enriching-events/attachments
    • dart/enriching-events/attachments
    • dotnet/common/enriching-events/attachments
    • flutter/enriching-events/attachments
    • java/common/enriching-events/attachments
    • kotlin-multiplatform/enriching-events/attachments
    • powershell/enriching-events/attachments
    • unity/enriching-events/attachments
    • unreal/enriching-events/attachments
  • platform-includes/enriching-events/add-attachment

11 files changed

+154
-0
lines changed

docs/platforms/android/enriching-events/attachments/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ The filename is the name of the file to display in Sentry. When using bytes you
2727

2828
The type of content stored in this attachment. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
2929

30+
`mimetype`
31+
32+
The specific media content type that determines how the attachment is rendered in the Sentry UI. We currently support and can render the following MIME types:
33+
34+
- `text/plain`
35+
- `text/css`
36+
- `text/csv`
37+
- `text/html`
38+
- `text/javascript`
39+
- `text/json` or `text/x-json` or `application/json` or `application/ld+json`
40+
- `image/jpeg`
41+
- `image/png`
42+
- `image/gif`
43+
3044
## Uploading Attachments
3145

3246
<PlatformContent includePath="enriching-events/add-attachment" />

docs/platforms/apple/common/enriching-events/attachments/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ The filename is the name of the file to display in Sentry. When using bytes you
2727

2828
The type of content stored in this attachment. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
2929

30+
`mimetype`
31+
32+
The specific media content type that determines how the attachment is rendered in the Sentry UI. We currently support and can render the following MIME types:
33+
34+
- `text/plain`
35+
- `text/css`
36+
- `text/csv`
37+
- `text/html`
38+
- `text/javascript`
39+
- `text/json` or `text/x-json` or `application/json` or `application/ld+json`
40+
- `image/jpeg`
41+
- `image/png`
42+
- `image/gif`
43+
3044
## Uploading Attachments
3145

3246
Attachments live on the <PlatformLink to="/enriching-events/scopes/">Scope</PlatformLink>. You can either add an attachment on the global scope to be sent with every event or add it on the <PlatformLink to="/enriching-events/scopes/#local-scopes">local Scope</PlatformLink> to just send the attachment with one specific event.

docs/platforms/dart/enriching-events/attachments/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ The filename is the name of the file to display in Sentry. When using bytes you
2727

2828
The type of content stored in this attachment. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
2929

30+
`mimetype`
31+
32+
The specific media content type that determines how the attachment is rendered in the Sentry UI. We currently support and can render the following MIME types:
33+
34+
- `text/plain`
35+
- `text/css`
36+
- `text/csv`
37+
- `text/html`
38+
- `text/javascript`
39+
- `text/json` or `text/x-json` or `application/json` or `application/ld+json`
40+
- `image/jpeg`
41+
- `image/png`
42+
- `image/gif`
43+
3044
## Uploading Attachments
3145

3246
Attachments live on the <PlatformLink to="/enriching-events/scopes/">Scope</PlatformLink>. You can either add an attachment on the global scope to be sent with every event or add it on the <PlatformLink to="/enriching-events/scopes/#local-scopes">local Scope</PlatformLink> to just send the attachment with one specific event.

docs/platforms/dotnet/common/enriching-events/attachments/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,20 @@ The filename is the name of the file to display in Sentry. When using bytes you
3333

3434
The type of content stored in this attachment. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
3535

36+
`mimetype`
37+
38+
The specific media content type that determines how the attachment is rendered in the Sentry UI. We currently support and can render the following MIME types:
39+
40+
- `text/plain`
41+
- `text/css`
42+
- `text/csv`
43+
- `text/html`
44+
- `text/javascript`
45+
- `text/json` or `text/x-json` or `application/json` or `application/ld+json`
46+
- `image/jpeg`
47+
- `image/png`
48+
- `image/gif`
49+
3650
## Uploading Attachments
3751

3852
Attachments live on the <PlatformLink to="/enriching-events/scopes/">Scope</PlatformLink>. You can either add an attachment on the global scope to be sent with every event or add it on the <PlatformLink to="/enriching-events/scopes/#local-scopes">local Scope</PlatformLink> to just send the attachment with one specific event.

docs/platforms/flutter/enriching-events/attachments/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ The filename is the name of the file to display in Sentry. When using bytes you
2727

2828
The type of content stored in this attachment. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
2929

30+
`mimetype`
31+
32+
The specific media content type that determines how the attachment is rendered in the Sentry UI. We currently support and can render the following MIME types:
33+
34+
- `text/plain`
35+
- `text/css`
36+
- `text/csv`
37+
- `text/html`
38+
- `text/javascript`
39+
- `text/json` or `text/x-json` or `application/json` or `application/ld+json`
40+
- `image/jpeg`
41+
- `image/png`
42+
- `image/gif`
43+
3044
## Uploading Attachments
3145

3246
Attachments live on the <PlatformLink to="/enriching-events/scopes/">Scope</PlatformLink>. You can either add an attachment on the global scope to be sent with every event or add it on the <PlatformLink to="/enriching-events/scopes/#local-scopes">local Scope</PlatformLink> to just send the attachment with one specific event.

docs/platforms/java/common/enriching-events/attachments/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ The filename is the name of the file to display in Sentry. When using bytes you
2727

2828
The type of content stored in this attachment. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
2929

30+
`mimetype`
31+
32+
The specific media content type that determines how the attachment is rendered in the Sentry UI. We currently support and can render the following MIME types:
33+
34+
- `text/plain`
35+
- `text/css`
36+
- `text/csv`
37+
- `text/html`
38+
- `text/javascript`
39+
- `text/json` or `text/x-json` or `application/json` or `application/ld+json`
40+
- `image/jpeg`
41+
- `image/png`
42+
- `image/gif`
43+
3044
## Uploading Attachments
3145

3246
<PlatformContent includePath="enriching-events/add-attachment" />

docs/platforms/kotlin-multiplatform/enriching-events/attachments/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ The filename is the name of the file to display in Sentry. When using bytes you
2727

2828
The type of content stored in this attachment. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
2929

30+
`mimetype`
31+
32+
The specific media content type that determines how the attachment is rendered in the Sentry UI. We currently support and can render the following MIME types:
33+
34+
- `text/plain`
35+
- `text/css`
36+
- `text/csv`
37+
- `text/html`
38+
- `text/javascript`
39+
- `text/json` or `text/x-json` or `application/json` or `application/ld+json`
40+
- `image/jpeg`
41+
- `image/png`
42+
- `image/gif`
43+
3044
## Uploading Attachments
3145

3246
<PlatformContent includePath="enriching-events/add-attachment" />

docs/platforms/powershell/enriching-events/attachments/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ The filename is the name of the file to display in Sentry. When using bytes you
2727

2828
The type of content stored in this attachment. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
2929

30+
`mimetype`
31+
32+
The specific media content type that determines how the attachment is rendered in the Sentry UI. We currently support and can render the following MIME types:
33+
34+
- `text/plain`
35+
- `text/css`
36+
- `text/csv`
37+
- `text/html`
38+
- `text/javascript`
39+
- `text/json` or `text/x-json` or `application/json` or `application/ld+json`
40+
- `image/jpeg`
41+
- `image/png`
42+
- `image/gif`
43+
3044
## Uploading Attachments
3145

3246
Attachments live on the <PlatformLink to="/enriching-events/scopes/">Scope</PlatformLink>. You can either add an attachment on the global scope to be sent with every event or add it on the <PlatformLink to="/enriching-events/scopes/#local-scopes">local Scope</PlatformLink> to just send the attachment with one specific event.

docs/platforms/unity/enriching-events/attachments/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,20 @@ The filename is the name of the file to display in Sentry. When using bytes you
3333

3434
The type of content stored in this attachment. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
3535

36+
`mimetype`
37+
38+
The specific media content type that determines how the attachment is rendered in the Sentry UI. We currently support and can render the following MIME types:
39+
40+
- `text/plain`
41+
- `text/css`
42+
- `text/csv`
43+
- `text/html`
44+
- `text/javascript`
45+
- `text/json` or `text/x-json` or `application/json` or `application/ld+json`
46+
- `image/jpeg`
47+
- `image/png`
48+
- `image/gif`
49+
3650
## Uploading Attachments
3751

3852
Unity features a global <PlatformLink to="/enriching-events/scopes/">scope</PlatformLink> to which you add an attachment that will be sent with every event.

docs/platforms/unreal/enriching-events/attachments/index.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,20 @@ The filename is the name of the file to display in Sentry. When using bytes you
5454

5555
The type of content stored in this attachment. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
5656

57+
`mimetype`
58+
59+
The specific media content type that determines how the attachment is rendered in the Sentry UI. We currently support and can render the following MIME types:
60+
61+
- `text/plain`
62+
- `text/css`
63+
- `text/csv`
64+
- `text/html`
65+
- `text/javascript`
66+
- `text/json` or `text/x-json` or `application/json` or `application/ld+json`
67+
- `image/jpeg`
68+
- `image/png`
69+
- `image/gif`
70+
5771
## Uploading Attachments
5872

5973
Attachments live on the <PlatformLink to="/enriching-events/scopes/">Scope</PlatformLink>. You can either add an attachment on the global scope to be sent with every event or add it on the <PlatformLink to="/enriching-events/scopes/#local-scopes">local Scope</PlatformLink> to just send the attachment with one specific event.

0 commit comments

Comments
 (0)