Skip to content

Commit

Permalink
IVIS-46: - Update API chapter (fix pupils).
Browse files Browse the repository at this point in the history
  • Loading branch information
RuslanPopenko committed Oct 26, 2016
1 parent 40e4bc7 commit c84508b
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion docs/api/pupils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Provides following method for `API <index.html>`_ calls:

* `Get pupil`_
* `Get pupils`_
* `Get current guardian pupils`_
* `Save pupil`_
* `Save pupils`_
* `Update pupil`_
Expand Down Expand Up @@ -77,11 +78,36 @@ Example of response:
"school_center_schema":[ ]
}
.. _`Get persons`:
.. _`Get current guardian pupils`:

Get pupils
----------

URL:
~~~~
*/pupils/all*

Method:
~~~~~~~
*GET*

Parameters request:
~~~~~~~~~~~~~~~~~~~
*null*

Parameters response:
~~~~~~~~~~~~~~~~~~~~
*Array*

.. seealso::

Array consists of objects from `Get pupil`_ method

.. _`Get current guardian pupils`:

Get current guardian pupils
---------------------------

URL:
~~~~
*/pupils*
Expand All @@ -102,6 +128,8 @@ Parameters response:

Array consists of objects from `Get pupil`_ method

.. _`Save pupil`:

Save pupil
----------

Expand All @@ -125,6 +153,8 @@ Null properties:
~~~~~~~~~~~~~~~~
*id*

.. _`Save pupils`:

Save pupils
-----------

Expand Down

0 comments on commit c84508b

Please sign in to comment.