Результат MediaWiki API

Это HTML-представление формата JSON. HTML хорош для отладки, но неудобен для практического применения.

Укажите параметр format для изменения формата вывода. Для отображения не-HTML-представления формата JSON, присвойте format=json.

См. полную документацию или справку API для получения дополнительной информации.

{
    "content": {
        "page": {
            "dynamic": "false",
            "properties": {
                "all": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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": "bm25",
                    "fields": {
                        "asciifolding": {
                            "type": "text",
                            "index_options": "freqs",
                            "similarity": "bm25",
                            "analyzer": "near_match_asciifolding"
                        }
                    },
                    "analyzer": "near_match"
                },
                "auxiliary_text": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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": "bm25",
                    "fields": {
                        "lowercase_keyword": {
                            "type": "text",
                            "index_options": "docs",
                            "similarity": "bm25",
                            "analyzer": "lowercase_keyword"
                        },
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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"
                },
                "create_timestamp": {
                    "type": "date",
                    "format": "dateOptionalTime"
                },
                "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": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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": "bm25",
                            "fields": {
                                "keyword": {
                                    "type": "text",
                                    "index_options": "docs",
                                    "similarity": "bm25",
                                    "analyzer": "keyword"
                                },
                                "near_match": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "bm25",
                                    "analyzer": "near_match"
                                },
                                "near_match_asciifolding": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "bm25",
                                    "analyzer": "near_match_asciifolding"
                                },
                                "plain": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "similarity": "bm25",
                                    "analyzer": "plain",
                                    "search_analyzer": "plain_search",
                                    "position_increment_gap": 10
                                },
                                "prefix": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "bm25",
                                    "analyzer": "prefix",
                                    "search_analyzer": "near_match"
                                },
                                "prefix_asciifolding": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "bm25",
                                    "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": "bm25",
                            "analyzer": "source_text_plain",
                            "search_analyzer": "source_text_plain_search",
                            "position_increment_gap": 10
                        }
                    }
                },
                "suggest": {
                    "type": "text",
                    "index_options": "freqs",
                    "similarity": "bm25",
                    "analyzer": "suggest"
                },
                "template": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "lowercase_keyword"
                },
                "text": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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": "bm25",
                    "fields": {
                        "keyword": {
                            "type": "text",
                            "index_options": "docs",
                            "similarity": "bm25",
                            "analyzer": "keyword"
                        },
                        "near_match": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "bm25",
                            "analyzer": "near_match"
                        },
                        "near_match_asciifolding": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "bm25",
                            "analyzer": "near_match_asciifolding"
                        },
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        },
                        "prefix": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "bm25",
                            "analyzer": "prefix",
                            "search_analyzer": "near_match"
                        },
                        "prefix_asciifolding": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "bm25",
                            "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"
                }
            }
        }
    },
    "general": {
        "page": {
            "dynamic": "false",
            "properties": {
                "all": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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": "bm25",
                    "fields": {
                        "asciifolding": {
                            "type": "text",
                            "index_options": "freqs",
                            "similarity": "bm25",
                            "analyzer": "near_match_asciifolding"
                        }
                    },
                    "analyzer": "near_match"
                },
                "auxiliary_text": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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": "bm25",
                    "fields": {
                        "lowercase_keyword": {
                            "type": "text",
                            "index_options": "docs",
                            "similarity": "bm25",
                            "analyzer": "lowercase_keyword"
                        },
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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"
                },
                "create_timestamp": {
                    "type": "date",
                    "format": "dateOptionalTime"
                },
                "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": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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": "bm25",
                            "fields": {
                                "keyword": {
                                    "type": "text",
                                    "index_options": "docs",
                                    "similarity": "bm25",
                                    "analyzer": "keyword"
                                },
                                "near_match": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "bm25",
                                    "analyzer": "near_match"
                                },
                                "near_match_asciifolding": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "bm25",
                                    "analyzer": "near_match_asciifolding"
                                },
                                "plain": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "similarity": "bm25",
                                    "analyzer": "plain",
                                    "search_analyzer": "plain_search",
                                    "position_increment_gap": 10
                                },
                                "prefix": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "bm25",
                                    "analyzer": "prefix",
                                    "search_analyzer": "near_match"
                                },
                                "prefix_asciifolding": {
                                    "type": "text",
                                    "term_vector": "with_positions_offsets",
                                    "index_options": "docs",
                                    "similarity": "bm25",
                                    "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": "bm25",
                            "analyzer": "source_text_plain",
                            "search_analyzer": "source_text_plain_search",
                            "position_increment_gap": 10
                        }
                    }
                },
                "suggest": {
                    "type": "text",
                    "index_options": "freqs",
                    "similarity": "bm25",
                    "analyzer": "suggest"
                },
                "template": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "lowercase_keyword"
                },
                "text": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "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": "bm25",
                    "fields": {
                        "keyword": {
                            "type": "text",
                            "index_options": "docs",
                            "similarity": "bm25",
                            "analyzer": "keyword"
                        },
                        "near_match": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "bm25",
                            "analyzer": "near_match"
                        },
                        "near_match_asciifolding": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "bm25",
                            "analyzer": "near_match_asciifolding"
                        },
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        },
                        "prefix": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "bm25",
                            "analyzer": "prefix",
                            "search_analyzer": "near_match"
                        },
                        "prefix_asciifolding": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "index_options": "docs",
                            "similarity": "bm25",
                            "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"
                }
            }
        }
    },
    "archive": {
        "archive": {
            "dynamic": "false",
            "properties": {
                "namespace": {
                    "type": "long"
                },
                "title": {
                    "type": "text",
                    "term_vector": "with_positions_offsets",
                    "similarity": "bm25",
                    "fields": {
                        "plain": {
                            "type": "text",
                            "term_vector": "with_positions_offsets",
                            "similarity": "bm25",
                            "analyzer": "plain",
                            "search_analyzer": "plain_search",
                            "position_increment_gap": 10
                        }
                    },
                    "analyzer": "text",
                    "search_analyzer": "text_search",
                    "position_increment_gap": 10
                },
                "wiki": {
                    "type": "text",
                    "index_options": "docs",
                    "analyzer": "keyword"
                }
            }
        }
    }
}