Справка MediaWiki API

Это автоматически сгенерированная страница документации MediaWiki API.

Документация и примеры: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=wbgetclaims

(main | wbgetclaims)
  • Этот модуль требует прав на чтение.
  • Источник: WikibaseRepository
  • Лицензия: GPL-2.0-or-later

Получает заявления Wikibase.

Определённые параметры:
Other general parameters are available.
entity

ID of the entity from which to obtain claims. Required unless claim GUID is provided.

property

Optional filter to only return claims with a main snak that has the specified property.

claim

A GUID identifying the claim. Required unless entity is provided. The GUID is the globally unique identifier for a claim, e.g. "q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F".

rank

Optional filter to return only the claims that have the specified rank

Одно из следующих значений: deprecated, normal, preferred
props

Some parts of the claim are returned optionally. This parameter controls which ones are returned.

Значения (разделённые с помощью | или альтернативного разделителя): references
По умолчанию: references