Add 413 error to /sendToDevice

This commit is contained in:
Mathieu Velten 2026-03-20 17:32:14 +01:00
parent 3c9ba4a06d
commit b47858b981
No known key found for this signature in database

View file

@ -82,6 +82,18 @@ paths:
examples: examples:
response: response:
value: {} value: {}
"413":
description: At least one device message is too large to fit in a single EDU.
content:
application/json:
schema:
$ref: definitions/errors/error.yaml
examples:
response:
value: {
"errcode": "M_TOO_LARGE",
"error": "device message to @test:example.com too large to fit in a single EDU"
}
tags: tags:
- Send-to-Device messaging - Send-to-Device messaging
servers: servers: