Reading lists

Create a new list entry.

Creates a new list entry in the given list. On conflict, does nothing and returns the data of an existing list.

The list must belong to the current user and the request must be authenticated with a MediaWiki session cookie.

Stability: unstable

This endpoint is deprecated and might be removed without warning. Use the batch version instead.

post/data/lists/{id}/entries/

Request

  • Base URL: https://en.wikipedia.org/api/rest_v1
  • URL: https://en.wikipedia.org/api/rest_v1/data/lists/{id}/entries/
  • Auth: none declared

Path parameters

idinteger required
Example:42

Query parameters

csrf_tokenstring required
Example:f63c343876da566045e6b59c4532450559c828d3+\

The CRSF edit token provided by the MediaWiki API

Response

The data for the new list entry.

Changes

No recorded changes to this operation across all 1 revision of this API.