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.md13
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/jobs/response_protocol.md b/plugins/jobs/response_protocol.md
index 77c78cb8..c89877e3 100644
--- a/plugins/jobs/response_protocol.md
+++ b/plugins/jobs/response_protocol.md
@@ -15,7 +15,8 @@ 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, `headers` - job's headers represented as hashmap with string key and array of strings as a value.
+ `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:
@@ -41,12 +42,10 @@ For example:
"headers": [
{
"test": [
- {
- "ttt": "11",
- "ggg": "22"
- }
- ],
- "test2": "2"
+ "1",
+ "2",
+ "3"
+ ]
}
],
"delay_seconds": 10