Template:API comparison/ja: Difference between revisions
Appearance
Content deleted Content added
Created page with "MediaWiki REST API" |
Updating to match new version of source page |
||
| Line 17: | Line 17: | ||
$1 |
$1 |
||
{{!}} /api.php |
{{!}} /api.php |
||
{{!}} |
{{!}} https://$2/w/api.php?action=query&prop=info&titles=$3 |
||
{{!}}- |
{{!}}- |
||
{{!}} [[File:MediaWiki-2020-small-icon.svg|18px]] '''{{ll|API:REST API|2=MediaWiki REST API}}''' |
{{!}} [[File:MediaWiki-2020-small-icon.svg|18px]] '''{{ll|API:REST API|2=MediaWiki REST API}}''' |
||
| Line 23: | Line 23: | ||
$1 |
$1 |
||
{{!}} /rest.php |
|||
}} |
|||
{{!}} https://$2/w/rest.php/v1/page/$3 |
|||
{{!}}- |
|||
| ⚫ | |||
| ⚫ | |||
|- |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
<div lang="en" dir="ltr" class="mw-content-ltr"> |
||
Available for [[m:Special:MyLanguage/Wikimedia projects|Wikimedia projects]] only |
Available for [[m:Special:MyLanguage/Wikimedia projects|Wikimedia projects]] only |
||
</div> |
</div> |
||
{{!}} /api/rest |
|||
{{!}} https://$2/api/rest_v1/page/title/$3 |
|||
| ⚫ | |||
|3=<span lang="en" dir="ltr" class="mw-content-ltr">Earth</span> |
|||
}}<!--tmpl--> |
|||
|}</onlyinclude> |
|}</onlyinclude> |
||
{{Documentation|{{translatable-doc}}}} |
{{Documentation|{{translatable-doc}}}} |
||
Revision as of 11:17, 19 July 2021
| API | Availability | URL base | 例 |
|---|---|---|---|
| Included with MediaWiki 1.35+
Enabled on Wikimedia projects |
/api.php | https://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Earth | |
| Included with MediaWiki
Enabled on Wikimedia projects |
/rest.php | https://en.wikipedia.org/w/rest.php/v1/page/Earth | |
| Not included with MediaWiki
Available for Wikimedia projects only |
/api/rest | https://en.wikipedia.org/api/rest_v1/page/title/Earth |
これは、ビジュアルエディターまたは他のツールで使用される、このテンプレート向けのテンプレートデータ説明文です。
API comparison
Used to list REST API types on the linked pages. No parameters.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||