Skip to content

Commit

Permalink
DOC: implement proposed suggestions for PR #145
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgav committed Apr 6, 2021
1 parent 28f827f commit 084a0a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,10 @@ be set to the UID of the item to be updated. Additional API parameter 'replace'
is updated or replaced. If the parameter is skipped or set *false*, the item is updated. If the
parameter is set *true*, the item is replaced (i.e. new item UID is generated)::

http POST http://localhost:60610/queue/item/update item:='{"item_uid": "<existing-uid>", "name":"count", "args":[["det1", "det2"]], "item_type": "plan"}'
http POST http://localhost:60610/queue/item/update item:='{"item_uid": "<existing-uid>", "name":"queue_stop", , "item_type": "instruction"}'
http POST http://localhost:60610/queue/item/update replace:=true item:='{"item_uid": "<existing-uid>", "name":"count", "args":[["det1", "det2"]], "item_type": "plan"}'
http POST http://localhost:60610/queue/item/update replace:=true item:='{"item_uid": "<existing-uid>", "name":"queue_stop", "item_type": "instruction"}'
http POST http://localhost:60610/queue/item/update item:='{"item_uid":"<existing-uid>", "name":"count", "args":[["det1", "det2"]], "item_type":"plan"}'
http POST http://localhost:60610/queue/item/update item:='{"item_uid":"<existing-uid>", "name":"queue_stop", "item_type":"instruction"}'
http POST http://localhost:60610/queue/item/update replace:=true item:='{"item_uid":"<existing-uid>", "name":"count", "args":[["det1", "det2"]], "item_type":"plan"}'
http POST http://localhost:60610/queue/item/update replace:=true item:='{"item_uid":"<existing-uid>", "name":"queue_stop", "item_type":"instruction"}'

Remove all entries from the plan queue::

Expand Down

0 comments on commit 084a0a6

Please sign in to comment.