Skip to content

Commit

Permalink
Security update - Adding API token secure check for API endpoint `/ap…
Browse files Browse the repository at this point in the history
…i/v1/watch/<uuid>/history` @rozpuszczalny
  • Loading branch information
dgtlmoon committed Jan 18, 2024
1 parent 9510345 commit 402f1e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions changedetectionio/api/api_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/<string:uuid>/history
@auth.check_token
def get(self, uuid):
"""
@api {get} /api/v1/watch/<string:uuid>/history Get a list of all historical snapshots available for a watch
Expand Down

0 comments on commit 402f1e4

Please sign in to comment.