mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-22 21:36:18 +00:00
Env var - PAGE_WATCH_LIMIT enhancements (#4359)
This commit is contained in:
+20
-1
@@ -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
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user