From 10ce828971d5037bee0a467333a3ff595b3bce42 Mon Sep 17 00:00:00 2001
From: Sam
Date: Sun, 19 Dec 2021 12:37:05 +0100
Subject: [PATCH] update documentation
---
docs/_sources/api/auth.rst.txt | 1 +
docs/api/auth.html | 48 +++++++++++++++++++++++++++++++++
docs/http-routingtable.html | 5 ++++
docs/objects.inv | Bin 1246 -> 1266 bytes
docs/searchindex.js | 2 +-
docsrc/source/api/auth.rst | 1 +
6 files changed, 56 insertions(+), 1 deletion(-)
diff --git a/docs/_sources/api/auth.rst.txt b/docs/_sources/api/auth.rst.txt
index 7441626e..9195d865 100644
--- a/docs/_sources/api/auth.rst.txt
+++ b/docs/_sources/api/auth.rst.txt
@@ -10,6 +10,7 @@ Authentication
auth.edit_user,
auth.edit_user_preferences,
auth.edit_user_sport_preferences,
+ auth.reset_user_sport_preferences,
auth.edit_picture,
auth.del_picture,
auth.request_password_reset,
diff --git a/docs/api/auth.html b/docs/api/auth.html
index 5fe2db55..3c627be6 100644
--- a/docs/api/auth.html
+++ b/docs/api/auth.html
@@ -686,6 +686,54 @@
invalid token, please log in again
+404 Not Found –
+
+500 Internal Server Error – error, please try again or contact the administrator
+
+
+
+
+
+
+-
+DELETE /api/auth/profile/reset/sports/(sport_id)
+reset authenticated user preferences for a given sport
+Example request:
+DELETE /api/auth/profile/reset/sports/1 HTTP/1.1
+Content-Type: application/json
+
+
+Example response:
+HTTP/1.1 204 OK
+Content-Type: application/json
+
+
+
+- Parameters
+-
+
+- Request Headers
+-
+
+- Status Codes
+-
diff --git a/docs/http-routingtable.html b/docs/http-routingtable.html
index 98e13b7b..1eab8a84 100644
--- a/docs/http-routingtable.html
+++ b/docs/http-routingtable.html
@@ -290,6 +290,11 @@
DELETE /api/auth/picture |
|
+
+ |
+
+ DELETE /api/auth/profile/reset/sports/(sport_id) |
+ |
|
diff --git a/docs/objects.inv b/docs/objects.inv
index aca26a69f093e1d166e945c59d2dee345b7e9aa6..b7d38f0974abfeb6b219fc79069ca0e49f917f79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