Env var - PAGE_WATCH_LIMIT enhancements (#4359)

This commit is contained in:
dgtlmoon
2026-09-02 13:37:55 +02:00
committed by GitHub
parent af234636b9
commit 68a445df1b
41 changed files with 290 additions and 117 deletions
+20 -1
View File
@@ -28,7 +28,7 @@ info:
For example: `x-api-key: YOUR_API_KEY`
version: 0.1.7
version: 0.1.8
contact:
name: ChangeDetection.io
url: https://github.com/dgtlmoon/changedetection.io
@@ -1046,6 +1046,15 @@ paths:
schema:
type: string
example: "OK"
'429':
description: |
Watch limit reached (server has `PAGE_WATCH_LIMIT` set; unlimited by default).
No watch was created - delete one to make room.
content:
text/plain:
schema:
type: string
example: "Watch limit reached (50/50 watches). Cannot add more watches."
'500':
description: Server error
content:
@@ -2140,6 +2149,16 @@ paths:
type: string
format: uuid
description: List of created watch UUIDs
'429':
description: |
Watch limit reached (server has `PAGE_WATCH_LIMIT` set; unlimited by default).
The batch is rejected whole - no watches are created - so the same request can be
retried unchanged once there is room.
content:
text/plain:
schema:
type: string
example: "Watch limit reached (48/50 watches), importing 5 URL(s) would exceed it. No watches were imported."
'500':
description: Server error
+12 -2
View File
File diff suppressed because one or more lines are too long