Files
Radosław SmolińskiandClaude Fable 5.2 fef2c51bae Mail relay: contract 1.7.0 — X-Intecion-Site on every request with a token, host-mismatch
contracts/mail-relay refreshed from IWDL 6cd99f7 (64 files). A token the service knows as another
site's is forgotten without revoking and the site enrols as itself; a hand-issued one is refused.
The fake requires the header and answers host-mismatch.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-25 22:13:58 +01:00

37 lines
686 B
JSON

{
"id": "status-active",
"title": "Status of an active site",
"given": {
"site": "active"
},
"request": {
"method": "GET",
"path": "/v1/status",
"headers": {
"authorization": "Bearer {{token}}",
"x-intecion-site": "{{host}}"
}
},
"response": {
"status": 200,
"schema": "StatusResponse",
"body": {
"ok": true,
"state": "active",
"host": "{{host}}",
"product": "iapl",
"service": {
"name": "Intecion Notifications Webservice"
},
"sender": {
"address": "{{senderAddress}}"
}
}
},
"client": {
"retry": false,
"reEnrol": false,
"status": null
}
}