Add /ping/ route to docs

This commit is contained in:
2020-02-04 08:39:26 +00:00
parent 3565bddf8d
commit 51b6be93cc
2 changed files with 18 additions and 4 deletions
+14
View File
@@ -893,3 +893,17 @@ Door
:param card_number: Usually a 10 character hex string.
No authentication required.
Ping
----
.. http:post:: /ping/
Does nothing except check if a user's auth token is still valid.
:requestheader Authorization: ``Token <token>``
**Response**
:status 200: