Skip to content

Commit 7ee94a2

Browse files
committed
Use 202 for templated PNP push and align error responses with flexible PNP
- Templated PNP push returns 202 Accepted (empty body) on success. - Drop the 400 response so the error responses match the flexible PNP push (200/202 + 422).
1 parent a5d2808 commit 7ee94a2

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

‎messaging-api.yml‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,14 +1763,8 @@ paths:
17631763
"$ref": "#/components/schemas/PnpTemplatedMessageRequest"
17641764
required: true
17651765
responses:
1766-
"200":
1767-
description: "OK"
1768-
"400":
1769-
description: "Bad Request"
1770-
content:
1771-
"application/json":
1772-
schema:
1773-
"$ref": "#/components/schemas/ErrorResponse"
1766+
"202":
1767+
description: "Accepted"
17741768
"422":
17751769
description: "Unprocessable Entity"
17761770
content:

0 commit comments

Comments
 (0)