Odpověď z MediaWiki API
Toto je HTML reprezentace formátu JSON. HTML se hodí pro ladění, ale pro aplikační použití je nevhodné.
Pro změnu výstupního formátu uveďte parametr format. Abyste viděli ne-HTML reprezentaci formátu JSON, nastavte format=json.
Více informací najdete v úplné dokumentaci nebo v nápovědě k API.
{ "content": { "archive": { "dynamic": "false", "properties": { "namespace": { "type": "long" }, "title": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "keyword": { "type": "text", "index_options": "docs", "similarity": "classic", "analyzer": "keyword" }, "near_match": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "near_match" }, "near_match_asciifolding": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "near_match_asciifolding" }, "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 }, "prefix": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "prefix", "search_analyzer": "near_match" }, "prefix_asciifolding": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "prefix_asciifolding", "search_analyzer": "near_match_asciifolding" } }, "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "wiki": { "type": "text", "index_options": "docs", "analyzer": "keyword" } } }, "namespace": { "dynamic": "false", "_all": [], "properties": { "name": { "type": "text", "index_options": "docs", "analyzer": "near_match_asciifolding" }, "wiki": { "type": "text", "index_options": "docs", "analyzer": "keyword" } } }, "page": { "dynamic": "false", "_all": [], "properties": { "all": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 } }, "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "all_near_match": { "type": "text", "index_options": "freqs", "similarity": "classic", "fields": { "asciifolding": { "type": "text", "index_options": "freqs", "similarity": "classic", "analyzer": "near_match_asciifolding" } }, "analyzer": "near_match" }, "auxiliary_text": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 } }, "copy_to": [ "all" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "category": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "lowercase_keyword": { "type": "text", "index_options": "docs", "similarity": "classic", "analyzer": "lowercase_keyword" }, "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 } }, "copy_to": [ "all", "all", "all", "all", "all", "all", "all", "all" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "content_model": { "type": "text", "index_options": "docs", "analyzer": "keyword" }, "external_link": { "type": "text", "index_options": "docs", "analyzer": "keyword" }, "file_bits": { "type": "long" }, "file_height": { "type": "long" }, "file_media_type": { "type": "text", "index_options": "docs", "analyzer": "lowercase_keyword" }, "file_mime": { "type": "text", "analyzer": "short_text", "search_analyzer": "short_text_search" }, "file_resolution": { "type": "long" }, "file_size": { "type": "long" }, "file_text": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 } }, "copy_to": [ "all" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "file_width": { "type": "long" }, "heading": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 } }, "copy_to": [ "all", "all", "all", "all", "all" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "incoming_links": { "type": "long" }, "language": { "type": "text", "index_options": "docs", "analyzer": "keyword" }, "local_sites_with_dupe": { "type": "text", "index_options": "docs", "analyzer": "lowercase_keyword" }, "namespace": { "type": "long" }, "namespace_text": { "type": "text", "index_options": "docs", "analyzer": "keyword" }, "opening_text": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 } }, "copy_to": [ "all", "all", "all" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "outgoing_link": { "type": "text", "index_options": "docs", "analyzer": "keyword" }, "redirect": { "dynamic": "false", "properties": { "namespace": { "type": "long" }, "title": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "keyword": { "type": "text", "index_options": "docs", "similarity": "classic", "analyzer": "keyword" }, "near_match": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "near_match" }, "near_match_asciifolding": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "near_match_asciifolding" }, "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 }, "prefix": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "prefix", "search_analyzer": "near_match" }, "prefix_asciifolding": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "prefix_asciifolding", "search_analyzer": "near_match_asciifolding" } }, "copy_to": [ "suggest", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 } } }, "source_text": { "type": "text", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "source_text_plain", "search_analyzer": "source_text_plain_search", "position_increment_gap": 10 } } }, "suggest": { "type": "text", "index_options": "freqs", "similarity": "classic", "analyzer": "suggest" }, "template": { "type": "text", "index_options": "docs", "analyzer": "lowercase_keyword" }, "text": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 }, "word_count": { "type": "token_count", "store": "", "analyzer": "plain" } }, "copy_to": [ "all" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "text_bytes": { "type": "long" }, "timestamp": { "type": "date", "format": "dateOptionalTime" }, "title": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "keyword": { "type": "text", "index_options": "docs", "similarity": "classic", "analyzer": "keyword" }, "near_match": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "near_match" }, "near_match_asciifolding": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "near_match_asciifolding" }, "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 }, "prefix": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "prefix", "search_analyzer": "near_match" }, "prefix_asciifolding": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "prefix_asciifolding", "search_analyzer": "near_match_asciifolding" } }, "copy_to": [ "suggest", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "wiki": { "type": "text", "index_options": "docs", "analyzer": "keyword" }, "wikibase_item": { "type": "text", "index_options": "docs", "analyzer": "keyword" } } } }, "general": { "archive": { "dynamic": "false", "properties": { "namespace": { "type": "long" }, "title": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "keyword": { "type": "text", "index_options": "docs", "similarity": "classic", "analyzer": "keyword" }, "near_match": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "near_match" }, "near_match_asciifolding": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "near_match_asciifolding" }, "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 }, "prefix": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "prefix", "search_analyzer": "near_match" }, "prefix_asciifolding": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "prefix_asciifolding", "search_analyzer": "near_match_asciifolding" } }, "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "wiki": { "type": "text", "index_options": "docs", "analyzer": "keyword" } } }, "namespace": { "dynamic": "false", "_all": [], "properties": { "name": { "type": "text", "index_options": "docs", "analyzer": "near_match_asciifolding" }, "wiki": { "type": "text", "index_options": "docs", "analyzer": "keyword" } } }, "page": { "dynamic": "false", "_all": [], "properties": { "all": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 } }, "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "all_near_match": { "type": "text", "index_options": "freqs", "similarity": "classic", "fields": { "asciifolding": { "type": "text", "index_options": "freqs", "similarity": "classic", "analyzer": "near_match_asciifolding" } }, "analyzer": "near_match" }, "auxiliary_text": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 } }, "copy_to": [ "all" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "category": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "lowercase_keyword": { "type": "text", "index_options": "docs", "similarity": "classic", "analyzer": "lowercase_keyword" }, "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 } }, "copy_to": [ "all", "all", "all", "all", "all", "all", "all", "all" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "content_model": { "type": "text", "index_options": "docs", "analyzer": "keyword" }, "external_link": { "type": "text", "index_options": "docs", "analyzer": "keyword" }, "file_bits": { "type": "long" }, "file_height": { "type": "long" }, "file_media_type": { "type": "text", "index_options": "docs", "analyzer": "lowercase_keyword" }, "file_mime": { "type": "text", "analyzer": "short_text", "search_analyzer": "short_text_search" }, "file_resolution": { "type": "long" }, "file_size": { "type": "long" }, "file_text": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 } }, "copy_to": [ "all" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "file_width": { "type": "long" }, "heading": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 } }, "copy_to": [ "all", "all", "all", "all", "all" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "incoming_links": { "type": "long" }, "language": { "type": "text", "index_options": "docs", "analyzer": "keyword" }, "local_sites_with_dupe": { "type": "text", "index_options": "docs", "analyzer": "lowercase_keyword" }, "namespace": { "type": "long" }, "namespace_text": { "type": "text", "index_options": "docs", "analyzer": "keyword" }, "opening_text": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 } }, "copy_to": [ "all", "all", "all" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "outgoing_link": { "type": "text", "index_options": "docs", "analyzer": "keyword" }, "redirect": { "dynamic": "false", "properties": { "namespace": { "type": "long" }, "title": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "keyword": { "type": "text", "index_options": "docs", "similarity": "classic", "analyzer": "keyword" }, "near_match": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "near_match" }, "near_match_asciifolding": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "near_match_asciifolding" }, "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 }, "prefix": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "prefix", "search_analyzer": "near_match" }, "prefix_asciifolding": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "prefix_asciifolding", "search_analyzer": "near_match_asciifolding" } }, "copy_to": [ "suggest", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 } } }, "source_text": { "type": "text", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "source_text_plain", "search_analyzer": "source_text_plain_search", "position_increment_gap": 10 } } }, "suggest": { "type": "text", "index_options": "freqs", "similarity": "classic", "analyzer": "suggest" }, "template": { "type": "text", "index_options": "docs", "analyzer": "lowercase_keyword" }, "text": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 }, "word_count": { "type": "token_count", "store": "", "analyzer": "plain" } }, "copy_to": [ "all" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "text_bytes": { "type": "long" }, "timestamp": { "type": "date", "format": "dateOptionalTime" }, "title": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "fields": { "keyword": { "type": "text", "index_options": "docs", "similarity": "classic", "analyzer": "keyword" }, "near_match": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "near_match" }, "near_match_asciifolding": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "near_match_asciifolding" }, "plain": { "type": "text", "term_vector": "with_positions_offsets", "similarity": "classic", "analyzer": "plain", "search_analyzer": "plain_search", "position_increment_gap": 10 }, "prefix": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "prefix", "search_analyzer": "near_match" }, "prefix_asciifolding": { "type": "text", "term_vector": "with_positions_offsets", "index_options": "docs", "similarity": "classic", "analyzer": "prefix_asciifolding", "search_analyzer": "near_match_asciifolding" } }, "copy_to": [ "suggest", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match", "all_near_match" ], "analyzer": "text", "search_analyzer": "text_search", "position_increment_gap": 10 }, "wiki": { "type": "text", "index_options": "docs", "analyzer": "keyword" }, "wikibase_item": { "type": "text", "index_options": "docs", "analyzer": "keyword" } } } } }