curl --request PUT \
--url http://localhost:3000/api/v1/missions/{missionId}/notifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"notifications": {
"rules": [
{
"id": "<string>",
"name": "<string>",
"events": [
"<string>"
],
"channels": [
"<string>"
],
"condition": null,
"severity": "info",
"template": "<string>",
"cooldownMs": 1,
"includeOutcomes": true,
"outcomeFilter": [
"file"
],
"maxAttachmentSize": 1
}
],
"inherit": true
}
}
'{
"ok": true,
"data": null
}curl --request PUT \
--url http://localhost:3000/api/v1/missions/{missionId}/notifications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"notifications": {
"rules": [
{
"id": "<string>",
"name": "<string>",
"events": [
"<string>"
],
"channels": [
"<string>"
],
"condition": null,
"severity": "info",
"template": "<string>",
"cooldownMs": 1,
"includeOutcomes": true,
"outcomeFilter": [
"file"
],
"maxAttachmentSize": 1
}
],
"inherit": true
}
}
'{
"ok": true,
"data": null
}API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.
Show child attributes