Page MenuHomePhabricator

Provide property data using Wikibase REST API
Closed, ResolvedPublic

Description

As a developer I want to fetch the data of a property, so I can use elements I need in my application

GET /entities/properties/{property_id}

Can be seen as a counterpart of GET /entities/items/{item_id}

The structure of data in response will be similar to item data structure with additional top-level data-type field carrying the data on the property's data type. There will be no sitelinks field and the Action API's claims field will be renamed to statements.

To include

  • conditional headers
  • authentication and authorization
  • _fields parameter: note data-type field to also be used for filtering.

Not to include:

  • sitelinks incl _fields filter for sitelinks
  • redirects (do not exist for properties)

Event Timeline