Page MenuHomePhabricator

Wikidata - Main API
Closed, ResolvedPublic

Description

As a WME Engineer i want to enhance the main API with 3 endpoints.

  • /v2/wikidata/main/items/<Qid>

This endpoint will retrieve all QID's/items by identifier aka QID.

  • /v2/wikidata/main/properties/<Pid>

This endpoint will retrieve all PID's/properties by identifier aka PID.

  • /v2/wikidata/labels/<QID|PID>?lang=<identifier>,<identifier>

This endpoint will allow retrieval of all labels for an item/property or by specific language.

Acceptance Criteria

  • All endpoints available in DEV
  • Integration tests updated and passing