Page MenuHomePhabricator

Wikimedia Commons API call
Open, Needs TriagePublic


Wikimedia Commons API call should read subcategories and structured data

API Sandbox

Structured data

Development of Structured Data on Commons is tracked on Phabricator.

Structured Data on Wikimedia Commons is powered by the Wikibase software. Data can be accessed via API; see for documentation.

Requirements for the API call

  • The request must query the linked Wikimedia Commons category and its subcategories recursively. The query must take into account possible loops. (MediaWiki API)
  • Text based search results will be added to the result set (MediaWiki API)
  • SDC query results will be added to the result set. (SPARQL)

Event Timeline