Files
dashback/docs/api/routes/public/telemetry/crash.md
2026-10-08 16:11:47 +02:00

42 lines
696 B
Markdown

# `POST /public/telemetry/crash`
Public. No cookie required.
Receipt crash dump
Public endpoint to receive crash dumps. Saves the content parameter to a file named with the epoch millisecond.
## Body (JSON)
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `content` | yes | | Crash dump content to store |
```json
{
"content": "…"
}
```
## Response `200`
Crash dump saved
```json
{
"ok": true,
"filename": "1728395535123"
}
```
## Errors
| Status | Description |
|--------|-------------|
| 400 | Missing content parameter |
| 500 | Storage failure |
---
_Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._