API:リスト
Jump to navigation
Jump to search
![]() | このページは MediaWiki 操作 API の説明文書の一部です。 |
GET request to list items that match select criteria.
APIの説明文書
Lists generally return aggregations of data, such as pages gathered from across a wiki, or links gathered within a single page. To request a list, pass the list
parameter of your query string a valid list submodule, such as allimages
or usercontribs
.
リストAPIの使用には、URL欄で action=query&list=list1|list2
を指定します。
See individual list API pages for more concrete examples of how to use lists:
- allcategories
- alldeletedrevisions
- allfileusages
- allimages
- alllinks
- allpages
- allredirects
- allrevisions
- alltransclusions
- allusers
- backlinks
- blocks
- categorymembers
- deletedrevs
- embeddedin
- exturlusage
- filearchive
- imageusage
- iwbacklinks
- langbacklinks
- logevents
- pagepropnames
- pageswithprop
- prefixsearch
- protectedtitles
- querypage
- random
- recentchanges
- search
- tags
- usercontribs
- users
- watchlist
- watchlistraw
追加的な注記
- Most list submodules can be used as generators , unless otherwise noted.
- リストは properties とは異なります - データを
pages
の要素に追加する代わりに、それぞれのリストはquery
要素で独自の分離したブランチを持ちます。
- List query limits:
- 結果の件数の上限は、一般利用者は 500、
apihighlimits
権限を持つ利用者 (主にボットと管理者) は 5000 まで引き上げて設定できます。 - いくつかのモジュールは特定の条件でより厳しい制限を課しています。 See this subpage for more details.
- どんな制限が自分に適用されているか分からない場合、可能な限りたくさんの結果を得るには制限を
max
に設定します。 In that case, alimits
element will be returned, specifying the limits used. - The limit parameter for a given module consists of the module prefix followed by
limit
, soptlimit
is the maximum number ofprotectedtitles
returned, andcmlimit
is the maximum number ofcategorymembers
returned.
- 結果の件数の上限は、一般利用者は 500、
関連項目
![]() | このページまたはプロジェクト は Core Platform Team によって保守されています。
ヘルプを得る:
|