mirror of
https://github.com/pi-hole/FTL.git
synced 2025-12-20 01:38:23 +00:00
Merge pull request #2689 from pi-hole/list_doc
Be more explicit about required path and query parameters for list manipulation
This commit is contained in:
@@ -46,7 +46,7 @@ components:
|
||||
- "List management"
|
||||
operationId: "replace_lists"
|
||||
description: |
|
||||
Items may be updated by replacing them. `{list}` is required.
|
||||
Items may be updated by replacing them. `{list}` and `{listtype}` are required.
|
||||
|
||||
Ensure to send all the required parameters (such as `comment`) to ensure these properties are retained.
|
||||
The read-only fields `id` and `date_added` are preserved, `date_modified` is automatically updated on success.
|
||||
@@ -96,6 +96,7 @@ components:
|
||||
- "List management"
|
||||
operationId: "delete_lists"
|
||||
description: |
|
||||
`{list}` and `{listtype}` are required.
|
||||
*Note:* There will be no content on success.
|
||||
responses:
|
||||
'204':
|
||||
|
||||
Reference in New Issue
Block a user