Page MenuHomePhabricator

Reading List REST Interface: DELETE lists/{id}/entries endpoint
Closed, ResolvedPublic

Description

Create a REST handler and any other necessary associated code (extension.json entry, helper classes, etc.) for the DELETE lists/{id}/entries endpoint.

  • endpoint implemented
  • tests created
  • tests pass

Endpoint summary:
Delete a list entry.

Endpoint description:
Deletes a given list entry.
The list must belong to the current user and the request must be authenticated with a MediaWiki session cookie.
Stability: unstable

Associated RESTBase code
lists.yaml (spec+forwarding)
lists.js (tests)

Associated Action API code
ApiReadingListsDeleteEntry
ApiReadingListsDeleteEntryTest

Parameters:

namesourcerequiredtypeexampledefaultpossible valuesdescription
idpathyesinteger42N/AN/A
entry_idpathyesinteger64N/AN/A

Error Response

#/components/schemas/problem per API.md and draft-nottingham-http-problem

Success Response

json object

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
BPirkle renamed this task from Reading List REST Interface: create lists/{id}/entries DELETE endpoint to Reading List REST Interface: DELETE lists/{id}/entries endpoint.Nov 14 2023, 2:58 AM
BPirkle updated the task description. (Show Details)

Change 988736 had a related patch set uploaded (by BPirkle; author: BPirkle):

[mediawiki/extensions/ReadingLists@master] REST Handlers for managing reading lists entries

https://gerrit.wikimedia.org/r/988736

Change 988736 merged by jenkins-bot:

[mediawiki/extensions/ReadingLists@master] REST Handlers for managing reading lists entries

https://gerrit.wikimedia.org/r/988736

BPirkle updated the task description. (Show Details)