NOTE: The deprecated "id" value from the response is not being used by any callers and can be removed in the new implementation
Create a REST handler and any other necessary associated code (extension.json entry, helper classes, etc.) for the PUT lists endpoint.
Endpoint summary: Update a list
Endpoint description: List must belong to current user and request must be authenticated with a MediaWiki session cookie. If the name is changed, the new name must not be in use. Stability: unstable
Associated RESTBase code lists.yaml (spec+forwarding) lists.js (tests)
Associated Action API code ApiReadingListsUpdate ApiReadingListsUpdateTest
Parameters:
Request Body: list_write
Error Response
#/components/schemas/problem per API.md and draft-nottingham-http-problem
Success Response
Response Headers
This endpoints has additional response headers specified in the RESTBase code:
headers: content-type: application/json; charset=utf-8
Change 983241 had a related patch set uploaded (by BPirkle; author: BPirkle):
[mediawiki/extensions/ReadingLists@master] REST Handlers for managing reading lists
https://gerrit.wikimedia.org/r/983241
Change 983241 merged by jenkins-bot: