summaryrefslogtreecommitdiff
path: root/plugins/jobs/response_protocol.md
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jobs/response_protocol.md')
-rw-r--r--plugins/jobs/response_protocol.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/jobs/response_protocol.md b/plugins/jobs/response_protocol.md
index 577317d4..77c78cb8 100644
--- a/plugins/jobs/response_protocol.md
+++ b/plugins/jobs/response_protocol.md
@@ -15,7 +15,7 @@ Types are:
- `NO_ERROR`: contains only `type` and empty `data`.
- `ERROR` : contains `type`: 1, and `data` field with: `message` describing the error, `requeue` flag to requeue the
job,
- `dalay_seconds`: to delay a queue for a provided amount of seconds.
+ `dalay_seconds`: to delay a queue for a provided amount of seconds, `headers` - job's headers represented as hashmap with string key and array of strings as a value.
For example:
@@ -40,7 +40,12 @@ For example:
"requeue": true,
"headers": [
{
- "test": "1",
+ "test": [
+ {
+ "ttt": "11",
+ "ggg": "22"
+ }
+ ],
"test2": "2"
}
],