API:プロパティ

From MediaWiki.org
(Redirected from API:Query - Properties/ja)
Jump to navigation Jump to search
This page is a translated version of the page API:Properties and the translation is 19% complete.

Other languages:
Deutsch • ‎English • ‎dansk • ‎español • ‎français • ‎polski • ‎română • ‎sicilianu • ‎български • ‎русский • ‎українська • ‎հայերեն • ‎हिन्दी • ‎ไทย • ‎中文 • ‎日本語 • ‎한국어

選択されたページ群のプロパティを列挙する GET リクエストです。

APIの説明文書

Properties are data about a page, such as categories, or content on a page, such as images or links. To request a property, you pass the prop parameter of your query a valid property submodule, corresponding to the information that you need.

The page or pages whose data you are requesting are specified either by the titles, pageids, or revids parameters of the query, or via a generator .

Queries for properties are written like so: action=query&titles=title1&prop=property1|property2.

Property queries always have a limit on the number of items returned. To view more items, append the values inside the result's continue element to the original request.

Please see individual property API pages for more concrete examples of how to use properties:

追加的な注記

  • Most property submodules can be used as generators , unless otherwise noted.
  • Property query limits:
    • Results for property queries always have a limit; the default limit is 10. The results limit can be set as high as 500 for regular users, or 5000 for users with the apihighlimits right (typically bots and sysops). Some modules impose stricter limits under certain conditions.
    • If you're not sure which limit applies to you and just want as many results as possible, set the limit to max. In that case, a limits element will be returned, specifying the limits used.
    • The limit parameter for a given module consists of the module prefix followed by the word limit. For example, imlimit is the maximum number of images returned.

関連項目