Skip to content

Commit

Permalink
Update api.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
OmariKing committed Jul 3, 2019
1 parent b7d2c76 commit fd2fd06
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,19 @@ Getting Your Token

::


cat /opt/dsiprouter/gui/settings.py | grep API_TOKEN
|
Executing Kamailio stats API
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

::
curl -H "Authorization: Bearer $DSIP_TOKEN"
-X GET http://<addressOfYourInstance>:5000/api/v1/kamailio/stats
|
One Line Version:
::
curl -H "Authorization: Bearer $DSIP_TOKEN" -X GET http://<addressOfYourInstance>:5000/api/v1/kamailio/stats
Expand Down

0 comments on commit fd2fd06

Please sign in to comment.