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]>
37 lines
686 B
JSON
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
|
|
}
|
|
}
|