mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
docs(api): regenerate the contract for the loopback wording
The four notification routes describe private_origin_not_grantable as link-local, metadata or unspecified only; the generated YAML follows. Refs #947
This commit is contained in:
1 parent
94bed12edc
commit
2380a4e7e6
1 file changed
+6
-6
@@ -12022,8 +12022,8 @@ paths:
|
||||
"422":
|
||||
description: Body matched neither accepted shape, or `enabled` is true while the stored config has no server URL and
|
||||
topic; or the server URL is on a private network the operator has not listed in
|
||||
`NOTIFICATION_PRIVATE_ORIGINS` (`meta.errorCode` = `private_origin_not_approved`), or it is a loopback,
|
||||
link-local or metadata address that no grant can open (`private_origin_not_grantable`). Nothing was stored.
|
||||
`NOTIFICATION_PRIVATE_ORIGINS` (`meta.errorCode` = `private_origin_not_approved`), or it is a link-local,
|
||||
metadata or unspecified address that no grant can open (`private_origin_not_grantable`). Nothing was stored.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
@@ -12150,8 +12150,8 @@ paths:
|
||||
"422":
|
||||
description: Body matched neither accepted shape, or `enabled` is true while no webhook URL is stored; or the URL is on
|
||||
a private network the operator has not listed in `NOTIFICATION_PRIVATE_ORIGINS` (`meta.errorCode` =
|
||||
`private_origin_not_approved`), or it is a loopback, link-local or metadata address that no grant can open
|
||||
(`private_origin_not_grantable`). Nothing was stored.
|
||||
`private_origin_not_approved`), or it is a link-local, metadata or unspecified address that no grant can
|
||||
open (`private_origin_not_grantable`). Nothing was stored.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
@@ -12388,7 +12388,7 @@ paths:
|
||||
"401": *a1
|
||||
"422":
|
||||
description: The saved server is on a private network the operator has not approved (`meta.errorCode` =
|
||||
`private_origin_not_approved`), or is a loopback, link-local or metadata address that no grant can open
|
||||
`private_origin_not_approved`), or is a link-local, metadata or unspecified address that no grant can open
|
||||
(`private_origin_not_grantable`). The resolved address is never echoed.
|
||||
content:
|
||||
application/json:
|
||||
@@ -12439,7 +12439,7 @@ paths:
|
||||
"401": *a1
|
||||
"422":
|
||||
description: The saved URL is on a private network the operator has not approved (`meta.errorCode` =
|
||||
`private_origin_not_approved`), or is a loopback, link-local or metadata address that no grant can open
|
||||
`private_origin_not_approved`), or is a link-local, metadata or unspecified address that no grant can open
|
||||
(`private_origin_not_grantable`). The resolved address is never echoed.
|
||||
content:
|
||||
application/json:
|
||||
|
||||
Reference in new issue
Block a user