미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
format=json
(main | json)
- 이 모듈은 read 권한을 요구합니다.
 - 출처: MediaWiki
 - 라이선스: GPL-2.0+
 
Output data in JSON format.
변수:
- callback
 If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.
- utf8
 If specified, encodes most (but not all) non-ASCII characters as UTF-8 instead of replacing them with hexadecimal escape sequences. Default when formatversion is not 1.
- 유형: 부울 (자세한 정보)
 - ascii
 If specified, encodes all non-ASCII using hexadecimal escape sequences. Default when formatversion is 1.
- 유형: 부울 (자세한 정보)
 - formatversion
 Output formatting:
- 1
 - Backwards-compatible format (XML-style booleans, * keys for content nodes, etc.).
 - 2
 - Experimental modern format. Details may change!
 - latest
 - Use the latest format (currently 2), may change without warning.
 
- 하나의 값: 1, 2, latest
 - 기본값: 1
 
예시:
- Return the query result in the JSON format.
 - api.php?action=query&meta=siteinfo&siprop=namespaces&format=json [open in sandbox]