Overview
Copy stories from this queue to queue with destination ID.
HTTP method |
POST |
|
---|---|---|
URI template variables |
- |
|
Query parameters |
qkey |
Password for key-locked queue. |
Request body |
In the request body, supply data with the following structure:
|
|
HTTP response |
200 OK |
|
Response body |
||
Available in |
Description
Copy stories from this queue to queue with destination ID.
Examples
Example:
{
"op": "copy",
"stories": ["queue1_story5", "queue1_story6"],
"destination": "QUEUE2"
}
For QUEUE2 with INVERTED attribute will result to:
QUEUE1 | QUEUE2 |
---|---|
… |
queue1_story6 |
queue1_story5 |
queue1_story5 |
queue1_story6 |
queue2_story4 |
… |
… |
For QUEUE2 without INVERTED attribute will result to:
QUEUE1 | QUEUE2 |
---|---|
… |
… |
queue1_story5 |
queues_story4 |
queue1_story6 |
queue1_story5 |
… |
queue1_story6 |
Example:
{
"op": "move",
"stories": ["queue1_story5", "queue1_story6"],
"destination": "QUEUE2",
"position": "queue2_story3"
}
For QUEUE2 with INVERTED attribute will result to:
QUEUE1 | QUEUE2 |
---|---|
… |
… |
queue1_story4 |
queue2_story3 |
queue1_story5 |
queue1_story6 |
queue1_story6 |
queue1_story5 |
queue1_story7 |
queue2_story2 |
… |
… |
For QUEUE2 without INVERTED attribute will result to:
QUEUE1 | QUEUE2 |
---|---|
… |
… |
queue1_story4 |
queue2_story2 |
queue1_story5 |
queue1_story5 |
queue1_story6 |
queue1_story6 |
queue1_story7 |
queue2_story3 |