@volter/twin-sentry 0.1.37 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -140
- package/api/spec/SOURCE.md +32 -0
- package/api/spec/doc-examples.json +12 -0
- package/api/spec/openapi.json.gz +0 -0
- package/api/spec/patches.json +5350 -0
- package/api/spec/sources.json +122 -0
- package/api/src/fetch.ts +18 -0
- package/api/src/generated/surface.gen.json +1 -0
- package/api/src/generated/ui.gen.json +1 -0
- package/api/src/index.ts +3 -0
- package/api/src/manifest.ts +137 -0
- package/api/src/semantics/api.ts +247 -0
- package/api/src/semantics/around.ts +36 -0
- package/api/src/semantics/doors.ts +76 -0
- package/api/src/semantics/index.ts +19 -0
- package/api/src/semantics/shared.ts +31 -0
- package/api/src/semantics/states.ts +17 -0
- package/dist/api/spec/SOURCE.md +32 -0
- package/dist/api/spec/doc-examples.json +12 -0
- package/dist/api/spec/openapi.json.gz +0 -0
- package/dist/api/spec/patches.json +5350 -0
- package/dist/api/spec/sources.json +122 -0
- package/dist/api/src/fetch.d.ts +2 -0
- package/dist/api/src/fetch.js +17 -0
- package/dist/api/src/fetch.ts +18 -0
- package/dist/api/src/generated/surface.gen.json +1 -0
- package/dist/api/src/generated/ui.gen.json +1 -0
- package/dist/api/src/index.d.ts +2 -0
- package/dist/api/src/index.js +3 -0
- package/dist/api/src/index.ts +3 -0
- package/dist/api/src/manifest.d.ts +2 -0
- package/dist/api/src/manifest.js +136 -0
- package/dist/api/src/manifest.ts +137 -0
- package/dist/api/src/semantics/api.d.ts +13 -0
- package/dist/api/src/semantics/api.js +269 -0
- package/dist/api/src/semantics/api.ts +247 -0
- package/dist/api/src/semantics/around.d.ts +2 -0
- package/dist/api/src/semantics/around.js +41 -0
- package/dist/api/src/semantics/around.ts +36 -0
- package/dist/api/src/semantics/doors.d.ts +5 -0
- package/dist/api/src/semantics/doors.js +71 -0
- package/dist/api/src/semantics/doors.ts +76 -0
- package/dist/api/src/semantics/index.d.ts +2 -0
- package/dist/api/src/semantics/index.js +15 -0
- package/dist/api/src/semantics/index.ts +19 -0
- package/dist/api/src/semantics/shared.d.ts +14 -0
- package/dist/api/src/semantics/shared.js +26 -0
- package/dist/api/src/semantics/shared.ts +31 -0
- package/dist/api/src/semantics/states.d.ts +24 -0
- package/dist/api/src/semantics/states.js +17 -0
- package/dist/api/src/semantics/states.ts +17 -0
- package/dist/ingest/spec/SOURCE.md +30 -0
- package/dist/ingest/spec/authentication.mdx.gz +0 -0
- package/dist/ingest/spec/compression.mdx.gz +0 -0
- package/dist/ingest/spec/doc-examples.json +216 -0
- package/dist/ingest/spec/envelope-items.mdx.gz +0 -0
- package/dist/ingest/spec/envelopes.mdx.gz +0 -0
- package/dist/ingest/spec/openapi.json +178 -0
- package/dist/ingest/spec/rate-limiting.mdx.gz +0 -0
- package/dist/ingest/spec/sources.json +25 -0
- package/dist/ingest/spec/transport.mdx.gz +0 -0
- package/dist/ingest/spec/write-spec.ts +192 -0
- package/dist/ingest/src/fetch.d.ts +2 -0
- package/dist/ingest/src/fetch.js +15 -0
- package/dist/ingest/src/fetch.ts +16 -0
- package/dist/ingest/src/generated/surface.gen.json +1 -0
- package/dist/ingest/src/generated/ui.gen.json +1 -0
- package/dist/ingest/src/index.d.ts +2 -0
- package/dist/ingest/src/index.js +3 -0
- package/dist/ingest/src/index.ts +3 -0
- package/dist/ingest/src/manifest.d.ts +2 -0
- package/dist/ingest/src/manifest.js +37 -0
- package/dist/ingest/src/manifest.ts +42 -0
- package/dist/ingest/src/semantics/api.d.ts +2 -0
- package/dist/ingest/src/semantics/api.js +240 -0
- package/dist/ingest/src/semantics/api.ts +188 -0
- package/dist/ingest/src/semantics/around.d.ts +2 -0
- package/dist/ingest/src/semantics/around.js +6 -0
- package/dist/ingest/src/semantics/around.ts +7 -0
- package/dist/ingest/src/semantics/index.d.ts +2 -0
- package/dist/ingest/src/semantics/index.js +4 -0
- package/dist/ingest/src/semantics/index.ts +8 -0
- package/dist/ingest/src/semantics/shared.d.ts +4 -0
- package/dist/ingest/src/semantics/shared.js +2 -0
- package/dist/ingest/src/semantics/shared.ts +7 -0
- package/dist/ingest/src/semantics/states.d.ts +1 -0
- package/dist/ingest/src/semantics/states.js +2 -0
- package/dist/ingest/src/semantics/states.ts +2 -0
- package/dist/journeys/coverage.json +205 -0
- package/dist/journeys/customer-life.json +921 -0
- package/dist/journeys/customer-life.outline.md +51 -0
- package/dist/journeys/decisions.json +170 -0
- package/dist/journeys/demand.json +92 -0
- package/dist/journeys/first-use.json +22 -0
- package/dist/journeys/score.json +231 -0
- package/dist/journeys/unreachable.json +29 -0
- package/dist/journeys/vendor-examples.json +474 -0
- package/dist/spec/sources.json +76 -0
- package/dist/src/cli.js +12 -27
- package/dist/src/fetch.d.ts +2 -0
- package/dist/src/fetch.js +9 -0
- package/dist/src/index.d.ts +5 -15
- package/dist/src/index.js +13 -75
- package/dist/src/manifest.d.ts +2 -0
- package/dist/src/manifest.js +35 -0
- package/dist/src/semantics/shared.d.ts +88 -0
- package/dist/src/semantics/shared.js +407 -0
- package/dist/src/server.d.ts +7 -0
- package/dist/src/server.js +7 -0
- package/generated/pack-facts.json +101 -0
- package/ingest/spec/SOURCE.md +30 -0
- package/ingest/spec/authentication.mdx.gz +0 -0
- package/ingest/spec/compression.mdx.gz +0 -0
- package/ingest/spec/doc-examples.json +216 -0
- package/ingest/spec/envelope-items.mdx.gz +0 -0
- package/ingest/spec/envelopes.mdx.gz +0 -0
- package/ingest/spec/openapi.json +178 -0
- package/ingest/spec/rate-limiting.mdx.gz +0 -0
- package/ingest/spec/sources.json +25 -0
- package/ingest/spec/transport.mdx.gz +0 -0
- package/ingest/spec/write-spec.ts +192 -0
- package/ingest/src/fetch.ts +16 -0
- package/ingest/src/generated/surface.gen.json +1 -0
- package/ingest/src/generated/ui.gen.json +1 -0
- package/ingest/src/index.ts +3 -0
- package/ingest/src/manifest.ts +42 -0
- package/ingest/src/semantics/api.ts +188 -0
- package/ingest/src/semantics/around.ts +7 -0
- package/ingest/src/semantics/index.ts +8 -0
- package/ingest/src/semantics/shared.ts +7 -0
- package/ingest/src/semantics/states.ts +2 -0
- package/journeys/coverage.json +205 -0
- package/journeys/customer-life.json +921 -0
- package/journeys/customer-life.outline.md +51 -0
- package/journeys/decisions.json +170 -0
- package/journeys/demand.json +92 -0
- package/journeys/first-use.json +22 -0
- package/journeys/score.json +231 -0
- package/journeys/unreachable.json +29 -0
- package/journeys/vendor-examples.json +474 -0
- package/package.json +22 -47
- package/spec/sources.json +76 -0
- package/src/cli.ts +12 -24
- package/src/fetch.ts +10 -0
- package/src/index.ts +13 -143
- package/src/manifest.ts +41 -0
- package/src/semantics/shared.ts +439 -0
- package/src/server.ts +8 -0
- package/client/sentry-mirror.css +0 -99
- package/client/sentry-mirror.tsx +0 -352
- package/dist/client/sentry-mirror.bundle.js +0 -388
- package/dist/client/sentry-mirror.css +0 -99
- package/dist/client/sentry-mirror.d.ts +0 -17
- package/dist/client/sentry-mirror.js +0 -156
- package/dist/client/sentry-mirror.tsx +0 -352
- package/dist/src/sentry-budget.d.ts +0 -50
- package/dist/src/sentry-budget.js +0 -145
- package/dist/src/sentry-capabilities.d.ts +0 -3
- package/dist/src/sentry-capabilities.js +0 -1180
- package/dist/src/sentry-conformance.d.ts +0 -22
- package/dist/src/sentry-conformance.js +0 -97
- package/dist/src/sentry-connector.d.ts +0 -77
- package/dist/src/sentry-connector.js +0 -226
- package/dist/src/sentry-events.d.ts +0 -54
- package/dist/src/sentry-events.js +0 -132
- package/dist/src/sentry-ingest.d.ts +0 -137
- package/dist/src/sentry-ingest.js +0 -387
- package/dist/src/sentry-mirror-ui.d.ts +0 -38
- package/dist/src/sentry-mirror-ui.js +0 -162
- package/dist/src/sentry-perform-harness.d.ts +0 -9
- package/dist/src/sentry-perform-harness.js +0 -20
- package/dist/src/sentry-server.d.ts +0 -14
- package/dist/src/sentry-server.js +0 -27
- package/dist/src/sentry-twin.d.ts +0 -17
- package/dist/src/sentry-twin.js +0 -1739
- package/dist/test-fixtures/sentry-openapi-operations.SOURCE.md +0 -24
- package/dist/test-fixtures/sentry-openapi-operations.json +0 -1837
- package/src/sentry-budget.ts +0 -171
- package/src/sentry-capabilities.ts +0 -1222
- package/src/sentry-conformance.ts +0 -110
- package/src/sentry-connector.ts +0 -260
- package/src/sentry-events.ts +0 -172
- package/src/sentry-ingest.ts +0 -471
- package/src/sentry-mirror-ui.ts +0 -162
- package/src/sentry-perform-harness.ts +0 -19
- package/src/sentry-server.ts +0 -35
- package/src/sentry-twin.ts +0 -1615
- package/test-fixtures/sentry-openapi-operations.SOURCE.md +0 -24
- package/test-fixtures/sentry-openapi-operations.json +0 -1837
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Sentry's API
|
|
2
|
+
|
|
3
|
+
- **Why this document:** Sentry's own OpenAPI document for its web API, as it publishes it for its API reference:
|
|
4
|
+
getsentry/sentry-api-schema at `98ec014705fbecf18c2650097e4630afe51ffd85` (2026-09-29), `openapi-derefed.json`,
|
|
5
|
+
vendored gzipped (`openapi.json.gz`); packaged public sample changes are listed below.
|
|
6
|
+
- **Servers:** `https://{region}.sentry.io` (us, de); sentry-cli and the applications call `https://sentry.io/api/0/`.
|
|
7
|
+
- **Corrections** (`patches.json`, each with its evidence): the chunk upload (`/chunk-upload/`) and artifact bundle assembly
|
|
8
|
+
(`/artifactbundle/assemble/`) that sentry-cli uploads source maps through; and a single project's release paths
|
|
9
|
+
sentry-cli uses; and its previous-release-with-commits lookup during local git fallback. Their evidence is getsentry/sentry at `2efdd4760a75a3d395e3534b7f66a7fbb0c3f22e` and
|
|
10
|
+
getsentry/sentry-cli 2.58.4 and 2.58.5 (the versions the applications lock).
|
|
11
|
+
|
|
12
|
+
- **Resource normalization:** the five refresh reads reference named copies of their unchanged inline response schemas. The patches cite each operation in the pinned upstream document; no wire field is added or removed.
|
|
13
|
+
|
|
14
|
+
- **Original upstream document SHA-256** (openapi.json.gz, decompressed bytes where gzipped): `bb07d2bb747b10b31c14722066cd1d11bd0bb76eea8dcfb5f341b4c421c1c1f9`.
|
|
15
|
+
- **Read by:** Codex contributor.
|
|
16
|
+
|
|
17
|
+
## Packaged public example scalars
|
|
18
|
+
|
|
19
|
+
`api/spec/openapi.json.gz` retains the pinned source above with only the string-scalar replacements listed below. Original inputs are retained outside the package at `/Volumes/PeakSSD/peak-floor/state/prod-ops/releases/vo3818-source-captures/sentry/api/spec/openapi.json.gz` and `/Volumes/PeakSSD/peak-floor/state/prod-ops/releases/vo3818-source-captures/sentry/api/spec/openapi.json`. Original uncompressed SHA-256: `bb07d2bb747b10b31c14722066cd1d11bd0bb76eea8dcfb5f341b4c421c1c1f9`; packaged uncompressed SHA-256: `e39f236da03e6162bc1fcee602a0865b04f7642fd00eb362cb256bd1cfb01d80`. Every byte outside the listed JSON string values is unchanged. These public samples are inert; runtime credentials are issued through the existing doors.
|
|
20
|
+
|
|
21
|
+
| JSON pointer | Packaged value | Reason |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| `/paths/~1api~10~1organizations~1{organization_id_or_slug}~1preprodartifacts~1snapshots~1latest-base~1/get/responses/200/content/application~1json/examples/LatestBaseSnapshot/value/images/0/image_url` | `/api/0/projects/org-slug/my-project/files/images/000000000000/` | Preserves the image key component of the public example URL. |
|
|
24
|
+
| `/paths/~1api~10~1organizations~1{organization_id_or_slug}~1preprodartifacts~1snapshots~1latest-base~1/get/responses/200/content/application~1json/examples/LatestBaseSnapshot/value/images/0/key` | `000000000000` | Inert fixed-width image identifier; matching image URL uses the same identifier. |
|
|
25
|
+
| `/paths/~1api~10~1organizations~1{organization_id_or_slug}~1preprodartifacts~1snapshots~1{snapshot_id}~1/get/responses/200/content/application~1json/examples/SnapshotWithComparison(Diff)/value/changed/0/head_image/key` | `000000000000` | Inert fixed-width image identifier; matching image URL uses the same identifier. |
|
|
26
|
+
| `/paths/~1api~10~1organizations~1{organization_id_or_slug}~1preprodartifacts~1snapshots~1{snapshot_id}~1/get/responses/200/content/application~1json/examples/SnapshotWithoutComparison(Solo)/value/images/0/key` | `000000000000` | Inert fixed-width image identifier; matching image URL uses the same identifier. |
|
|
27
|
+
| `/paths/~1api~10~1organizations~1{organization_id_or_slug}~1preprodartifacts~1snapshots~1{snapshot_id}~1images~1{image_identifier}~1/get/responses/200/content/application~1json/examples/ChangedImage/value/head_image/image_url` | `/api/0/projects/org-slug/project-slug/files/images/000000000000/` | Preserves the image key component of the public example URL. |
|
|
28
|
+
| `/paths/~1api~10~1organizations~1{organization_id_or_slug}~1preprodartifacts~1snapshots~1{snapshot_id}~1images~1{image_identifier}~1/get/responses/200/content/application~1json/examples/ChangedImage/value/head_image/key` | `000000000000` | Inert fixed-width image identifier; matching image URL uses the same identifier. |
|
|
29
|
+
| `/paths/~1api~10~1projects~1{organization_id_or_slug}~1{project_id_or_slug}~1hooks~1/get/responses/200/content/application~1json/example/0/secret` | `0000000000000000000000000000000000000000000000000000000000000000` | Inert fixed-width webhook secret sample, shared across hook read/create/update examples. |
|
|
30
|
+
| `/paths/~1api~10~1projects~1{organization_id_or_slug}~1{project_id_or_slug}~1hooks~1/post/responses/201/content/application~1json/example/secret` | `0000000000000000000000000000000000000000000000000000000000000000` | Inert fixed-width webhook secret sample, shared across hook read/create/update examples. |
|
|
31
|
+
| `/paths/~1api~10~1projects~1{organization_id_or_slug}~1{project_id_or_slug}~1hooks~1{hook_id}~1/get/responses/200/content/application~1json/example/secret` | `0000000000000000000000000000000000000000000000000000000000000000` | Inert fixed-width webhook secret sample, shared across hook read/create/update examples. |
|
|
32
|
+
| `/paths/~1api~10~1projects~1{organization_id_or_slug}~1{project_id_or_slug}~1hooks~1{hook_id}~1/put/responses/200/content/application~1json/example/secret` | `0000000000000000000000000000000000000000000000000000000000000000` | Inert fixed-width webhook secret sample, shared across hook read/create/update examples. |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"title": "Event read requires the project scope",
|
|
4
|
+
"operation": "getProjectEvent",
|
|
5
|
+
"source": "https://raw.githubusercontent.com/getsentry/sentry-api-schema/98ec014705fbecf18c2650097e4630afe51ffd85/openapi-derefed.json",
|
|
6
|
+
"means": "getProjectEvent",
|
|
7
|
+
"status": 403,
|
|
8
|
+
"output": {
|
|
9
|
+
"detail": "You do not have permission to perform this action."
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
]
|
|
Binary file
|