u
This commit is contained in:
41
docs/api/routes/public/telemetry/crash.md
Normal file
41
docs/api/routes/public/telemetry/crash.md
Normal file
@@ -0,0 +1,41 @@
|
||||
# `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`._
|
||||
Reference in New Issue
Block a user