API:Random/zh

GET请求查看随机页面列表.

该模块可用作.





响应




参数历史

 * v1.26: Previous limit of 10/20 on  was increased to standard 500/5000 limits.
 * v1.26: 棄用.
 * v1.26: 啟用.
 * v1.14: 啟用.



附加提醒

 * 不像許多模塊一樣在 中,頁面的預設值是1而非10.
 * Pages are returned in a fixed sequence; only the starting point is actually random.
 * The default behavior is to pick pages from across the entire wiki, including talk pages, user pages, and so on. If you are looking for similar functionality as Special:Random, i.e. pick random articles, restrict  to.
 * If the number of pages is fewer than, the request will simply return all available pages. It will not repeat pages to pad out the response up to the limit.



參閱

 * - 介绍如何在后端配置API.