From 402f1e47e78ecd155b1e90f30cce424ff7763e0f Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 18 Jan 2024 22:29:44 +0100 Subject: [PATCH] Security update - Adding API token secure check for API endpoint `/api/v1/watch//history` @rozpuszczalny --- changedetectionio/api/api_v1.py | 1 + 1 file changed, 1 insertion(+) diff --git a/changedetectionio/api/api_v1.py b/changedetectionio/api/api_v1.py index 190bd449dd9..92b4728c624 100644 --- a/changedetectionio/api/api_v1.py +++ b/changedetectionio/api/api_v1.py @@ -133,6 +133,7 @@ def __init__(self, **kwargs): # Get a list of available history for a watch by UUID # curl http://localhost:5000/api/v1/watch//history + @auth.check_token def get(self, uuid): """ @api {get} /api/v1/watch//history Get a list of all historical snapshots available for a watch