Skip to content

Commit

Permalink
Merge pull request #2 from Keyclic/enhancement-operation-states
Browse files Browse the repository at this point in the history
Delete accepted and refused states on operation.
  • Loading branch information
kevin-lot committed Jul 2, 2018
2 parents b9f1c1f + c115065 commit 69c0174
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
Binary file modified images/operation_workflow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 0 additions & 15 deletions reports.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,21 +117,6 @@ To assign an operation to a member, the admin sends the following request :
where {member} is the member's id the operation is assigned to.

**Accept or refuse**

Once assigned, the operation can be either accepted or refused, by the assigned member or by the admin.
To accept the operation :

.. code-block:: bash
PATCH /operations/{operation}/state
.. code-block:: json
{
"transition": "accept"
}
**In progress and closing operation**

After being accepted, the operation will be changed to "in progress" then "resolved", either by the assigned member or the admin.
Expand Down

0 comments on commit 69c0174

Please sign in to comment.