openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 96.7 kB
JSON
{"openapi":"3.0.0","info":{"contact":{"name":"the Wikimedia Services team","url":"http://mediawiki.org/wiki/REST_API"},"description":"This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats.\n### Global Rules\n- Limit your clients to no more than 200 requests/s to this API.\n Each API endpoint's documentation may detail more specific usage limits.\n- Set a unique `User-Agent` or `Api-User-Agent` header that\n allows us to contact you quickly. Email addresses or URLs\n of contact pages work well.\n\nBy using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details.\n### Endpoint documentation\nPlease consult each endpoint's documentation for details on:\n- Licensing information for the specific type of content\n and data served via the endpoint.\n- Stability markers to inform you about development status and\n change policy, according to\n [our API version policy](https://www.mediawiki.org/wiki/API_versioning).\n- Endpoint specific usage limits.\n","license":{"name":"Software available under the Apache 2 license","url":"http://www.apache.org/licenses/LICENSE-2.0"},"termsOfService":"https://wikimediafoundation.org/wiki/Terms_of_Use","title":"Wikimedia","version":"1.0.0","x-apisguru-categories":["media"],"x-logo":{"url":"https://twitter.com/Wikipedia/profile_image?size=original"},"x-origin":[{"format":"swagger","url":"https://wikimedia.org/api/rest_v1/?spec","version":"2.0"}],"x-providerName":"wikimedia.org"},"tags":[{"description":"formula rendering","name":"Math"}],"paths":{"/feed/availability":{"get":{"description":"Gets availability of featured feed content for the apps by wiki domain.\n\nStability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n","responses":{"200":{"description":"JSON containing lists of wiki domains for which feed content is available.","content":{"application/json; charset=utf-8; profile=\"https://www.mediawiki.org/wiki/Specs/Availability/1.0.1\"":{"schema":{"$ref":"#/components/schemas/availability"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/availability"}}}},"default":{"description":"Error","content":{"application/json; charset=utf-8; profile=\"https://www.mediawiki.org/wiki/Specs/Availability/1.0.1\"":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Gets availability of featured feed content for the apps by wiki domain.","tags":["Feed content availability"],"x-monitor":false}},"/media/math/check/{type}":{"post":{"description":"Checks the supplied TeX formula for correctness and returns the\nnormalised formula representation as well as information about\nidentifiers. Available types are tex and inline-tex. The response\ncontains the `x-resource-location` header which can be used to retrieve\nthe render of the checked formula in one of the supported rendering\nformats. Just append the value of the header to `/media/math/{format}/`\nand perform a GET request against that URL.\n\nStability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable).\n","parameters":[{"description":"The input type of the given formula; can be tex or inline-tex","in":"path","name":"type","required":true,"schema":{"type":"string","enum":["tex","inline-tex","chem"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"q":{"description":"The formula to check","type":"string"}},"required":["q"]}}},"required":true},"responses":{"200":{"description":"Information about the checked formula"},"400":{"description":"Invalid type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Check and normalize a TeX formula.","tags":["Math"],"x-amples":[{"request":{"body":{"q":"E=mc^{2}"},"params":{"domain":"wikimedia.org","type":"tex"}},"response":{"body":{"checked":"/.+/","success":true},"headers":{"cache-control":"no-cache","content-type":"/^application\\/json/","x-resource-location":"/.+/"},"status":200},"title":"Mathoid - check test formula"}],"x-monitor":true}},"/media/math/formula/{hash}":{"get":{"description":"Returns the previously-stored formula via `/media/math/check/{type}` for\nthe given hash.\n\nStability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable).\n","parameters":[{"description":"The hash string of the previous POST data","in":"path","name":"hash","required":true,"schema":{"type":"string","minLength":1}}],"responses":{"200":{"description":"Information about the checked formula"},"404":{"description":"Data for the given hash cannot be found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get a previously-stored formula","tags":["Math"],"x-monitor":false}},"/media/math/render/{format}/{hash}":{"get":{"description":"Given a request hash, renders a TeX formula into its mathematic\nrepresentation in the given format. When a request is issued to the\n`/media/math/check/{format}` POST endpoint, the response contains the\n`x-resource-location` header denoting the hash ID of the POST data. Once\nobtained, this endpoint has to be used to obtain the actual render.\n\nStability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable).\n","parameters":[{"description":"The output format; can be svg or mml","in":"path","name":"format","required":true,"schema":{"type":"string","enum":["svg","mml","png"]}},{"description":"The hash string of the previous POST data","in":"path","name":"hash","required":true,"schema":{"type":"string","minLength":1}}],"responses":{"200":{"description":"The rendered formula"},"404":{"description":"Unknown format or hash ID","content":{"image/svg+xml":{"schema":{"$ref":"#/components/schemas/problem"}},"application/mathml+xml":{"schema":{"$ref":"#/components/schemas/problem"}},"image/png":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}},"default":{"description":"Error","content":{"image/svg+xml":{"schema":{"$ref":"#/components/schemas/problem"}},"application/mathml+xml":{"schema":{"$ref":"#/components/schemas/problem"}},"image/png":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get rendered formula in the given format.","tags":["Math"],"x-monitor":false}},"/metrics/bytes-difference/absolute/aggregate/{project}/{editor-type}/{page-type}/{granularity}/{start}/{end}":{"get":{"description":"Given a Mediawiki project and a date range, returns a timeseries of absolute bytes\ndifference sums. You can filter by editors-type (all-editor-types, anonymous, group-bot,\nname-bot, user) and page-type (all-page-types, content, non-content). You can choose\nbetween daily and monthly granularity as well.\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia. For\nprojects like www.mediawiki.org, you can use that full string, or just use mediawiki\nor mediawiki.org. If you're interested in the aggregation of all projects, use\nall-projects.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging to\nthe bot group but having bot-like names) or user (registered account not in bot group\nnor having bot-like name). If you are interested in edits regardless of their\neditor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"If you want to filter by page-type, use one of content (edits on pages in content\nnamespaces) or non-content (edits on pages in non-content namespaces). If you are\ninterested in edits regardless of their page-type, use all-page-types.\n","in":"path","name":"page-type","required":true,"schema":{"type":"string","enum":["all-page-types","content","non-content"]}},{"description":"Time unit for the response data. As of today, supported values are daily and monthly\n","in":"path","name":"granularity","required":true,"schema":{"type":"string","enum":["daily","monthly"]}},{"description":"The date of the first day to include, in YYYYMMDD format","in":"path","name":"start","required":true,"schema":{"type":"string"}},{"description":"The date of the last day to include, in YYYYMMDD format","in":"path","name":"end","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/absolute-bytes-difference"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/absolute-bytes-difference"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get the sum of absolute value of text bytes difference between current edit and\nprevious one.\n","tags":["Bytes difference data"],"x-monitor":false}},"/metrics/bytes-difference/absolute/per-page/{project}/{page-title}/{editor-type}/{granularity}/{start}/{end}":{"get":{"description":"Given a Mediawiki project, a page-title prefixed with canonical namespace (for\ninstance 'User:Jimbo_Wales') and a date range, returns a timeseries of bytes\ndifference absolute sums. You can filter by editors-type (all-editor-types, anonymous,\ngroup-bot, name-bot, user). You can choose between daily and monthly granularity as well.\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia. For\nprojects like www.mediawiki.org, you can use that full string, or just use mediawiki\nor mediawiki.org.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"The page-title to request absolute bytes-difference for. Should be prefixed with the\npage canonical namespace.\n","in":"path","name":"page-title","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging to\nthe bot group but having bot-like names) or user (registered account not in bot group\nnor having bot-like name). If you are interested in edits regardless of their\neditor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"Time unit for the response data. As of today, supported values are daily and monthly\n","in":"path","name":"granularity","required":true,"schema":{"type":"string","enum":["daily","monthly"]}},{"description":"The date of the first day to include, in YYYYMMDD format","in":"path","name":"start","required":true,"schema":{"type":"string"}},{"description":"The date of the last day to include, in YYYYMMDD format","in":"path","name":"end","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/absolute-bytes-difference-per-page"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/absolute-bytes-difference-per-page"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get the sum of absolute text bytes difference per page.","tags":["Bytes difference data"],"x-monitor":false}},"/metrics/bytes-difference/net/aggregate/{project}/{editor-type}/{page-type}/{granularity}/{start}/{end}":{"get":{"description":"Given a Mediawiki project and a date range, returns a timeseries of bytes difference net\nsums. You can filter by editors-type (all-editor-types, anonymous, group-bot, name-bot,\nuser) and page-type (all-page-types, content or non-content). You can choose between\ndaily and monthly granularity as well.\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia. For\nprojects like www.mediawiki.org, you can use that full string, or just use mediawiki\nor mediawiki.org. If you're interested in the aggregation of all projects, use\nall-projects.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging to\nthe bot group but having bot-like names) or user (registered account not in bot group\nnor having bot-like name). If you are interested in edits regardless of their\neditor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"If you want to filter by page-type, use one of content (edits on pages in content\nnamespaces) or non-content (edits on pages in non-content namespaces). If you are\ninterested in edits regardless of their page-type, use all-page-types.\n","in":"path","name":"page-type","required":true,"schema":{"type":"string","enum":["all-page-types","content","non-content"]}},{"description":"Time unit for the response data. As of today, supported values are daily and monthly\n","in":"path","name":"granularity","required":true,"schema":{"type":"string","enum":["daily","monthly"]}},{"description":"The date of the first day to include, in YYYYMMDD format","in":"path","name":"start","required":true,"schema":{"type":"string"}},{"description":"The date of the last day to include, in YYYYMMDD format","in":"path","name":"end","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net-bytes-difference"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/net-bytes-difference"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get the sum of net text bytes difference between current edit and previous one.","tags":["Bytes difference data"],"x-monitor":false}},"/metrics/bytes-difference/net/per-page/{project}/{page-title}/{editor-type}/{granularity}/{start}/{end}":{"get":{"description":"Given a Mediawiki project, a page-title prefixed with canonical namespace (for\ninstance 'User:Jimbo_Wales') and a date range, returns a timeseries of bytes\ndifference net sums. You can filter by editors-type (all-editor-types, anonymous,\ngroup-bot, name-bot, user). You can choose between daily and monthly granularity as well.\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia. For\nprojects like www.mediawiki.org, you can use that full string, or just use mediawiki\nor mediawiki.org.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"The page-title to request net bytes-difference for. Should be prefixed with the\npage canonical namespace.\n","in":"path","name":"page-title","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging to\nthe bot group but having bot-like names) or user (registered account not in bot group\nnor having bot-like name). If you are interested in edits regardless of their\neditor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"Time unit for the response data. As of today, supported values are daily and monthly\n","in":"path","name":"granularity","required":true,"schema":{"type":"string","enum":["daily","monthly"]}},{"description":"The date of the first day to include, in YYYYMMDD format","in":"path","name":"start","required":true,"schema":{"type":"string"}},{"description":"The date of the last day to include, in YYYYMMDD format","in":"path","name":"end","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/net-bytes-difference-per-page"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/net-bytes-difference-per-page"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get the sum of net text bytes difference per page.","tags":["Bytes difference data"],"x-monitor":false}},"/metrics/edited-pages/aggregate/{project}/{editor-type}/{page-type}/{activity-level}/{granularity}/{start}/{end}":{"get":{"description":"Given a Mediawiki project and a date range, returns a timeseries of its edited-pages counts.\nYou can filter by editor-type (all-editor-types, anonymous, group-bot, name-bot, user),\npage-type (all-page-types, content or non-content) or activity-level (1..4-edits,\n5..24-edits, 25..99-edits, 100..-edits). You can choose between daily and monthly\ngranularity as well.\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia.\nFor projects like www.mediawiki.org, you can use that full string, or just use\nmediawiki or mediawiki.org.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging to\nthe bot group but having bot-like names) or user (registered account not in bot group\nnor having bot-like name). If you are interested in edits regardless of their\neditor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"If you want to filter by page-type, use one of content (edited-pages in content\nnamespaces) or non-content (edited-pages in non-content namespaces). If you are\ninterested in edited-pages regardless of their page-type, use all-page-types.\n","in":"path","name":"page-type","required":true,"schema":{"type":"string","enum":["all-page-types","content","non-content"]}},{"description":"If you want to filter by activity-level, use one of 1..4-edits, 5..24-edits,\n25..99-edits or 100..-edits. If you are interested in edited-pages regardless\nof their activity level, use all-activity-levels.\n","in":"path","name":"activity-level","required":true,"schema":{"type":"string","enum":["all-activity-levels","1..4-edits","5..24-edits","25..99-edits","100..-edits"]}},{"description":"The time unit for the response data. As of today, supported values are\ndaily and monthly.\n","in":"path","name":"granularity","required":true,"schema":{"type":"string","enum":["daily","monthly"]}},{"description":"The date of the first day to include, in YYYYMMDD format","in":"path","name":"start","required":true,"schema":{"type":"string"}},{"description":"The date of the last day to include, in YYYYMMDD format","in":"path","name":"end","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/edited-pages"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/edited-pages"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get edited-pages counts for a project.","tags":["Edited pages data"],"x-monitor":false}},"/metrics/edited-pages/new/{project}/{editor-type}/{page-type}/{granularity}/{start}/{end}":{"get":{"description":"Given a Mediawiki project and a date range, returns a timeseries of its new pages counts.\nYou can filter by editor type (all-editor-types, anonymous, group-bot, name-bot, user)\nor page-type (all-page-types, content or non-content). You can choose between daily and\nmonthly granularity as well.\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia.\nFor projects like www.mediawiki.org, you can use that full string, or just use\nmediawiki or mediawiki.org. If you're interested in the aggregation of all\nprojects, use all-projects.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging\nto the bot group but having bot-like names) or user (registered account not in bot\ngroup nor having bot-like name). If you are interested in edits regardless of\ntheir editor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"If you want to filter by page-type, use one of content (new pages in content\nnamespaces) or non-content (new pages in non-content namespaces). If you are\ninterested in new-articles regardless of their page-type, use all-page-types.\n","in":"path","name":"page-type","required":true,"schema":{"type":"string","enum":["all-page-types","content","non-content"]}},{"description":"The time unit for the response data. As of today, supported values are\ndaily and monthly.\n","in":"path","name":"granularity","required":true,"schema":{"type":"string","enum":["daily","monthly"]}},{"description":"The date of the first day to include, in YYYYMMDD format","in":"path","name":"start","required":true,"schema":{"type":"string"}},{"description":"The date of the last day to include, in YYYYMMDD format","in":"path","name":"end","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/new-pages"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/new-pages"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get new pages counts for a project.","tags":["Edited pages data"],"x-monitor":false}},"/metrics/edited-pages/top-by-absolute-bytes-difference/{project}/{editor-type}/{page-type}/{year}/{month}/{day}":{"get":{"description":"Given a Mediawiki project and a date (day or month), returns a timeseries of the top 100\nedited-pages by absolute bytes-difference. You can filter by editor-type (all-editor-types,\nanonymous, group-bot, name-bot, user) or page-type (all-page-types, content or non-content).\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia. For\nprojects like www.mediawiki.org, you can use that full string, or just use mediawiki\nor mediawiki.org.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging to\nthe bot group but having bot-like names) or user (registered account not in bot group\nnor having bot-like name). If you are interested in edits regardless of their\neditor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"If you want to filter by page-type, use one of content (edits on pages in content\nnamespaces) or non-content (edits on pages in non-content namespaces). If you are\ninterested in edits regardless of their page-type, use all-page-types.\n","in":"path","name":"page-type","required":true,"schema":{"type":"string","enum":["all-page-types","content","non-content"]}},{"description":"The year of the date for which to retrieve top edited-pages, in YYYY format.","in":"path","name":"year","required":true,"schema":{"type":"string"}},{"description":"The month of the date for which to retrieve top edited-pages, in MM format. If you want to get the top edited-pages of a whole month, the day parameter should be all-days.","in":"path","name":"month","required":true,"schema":{"type":"string"}},{"description":"The day of the date for which to retrieve top edited-pages, in DD format, or all-days for a monthly value.","in":"path","name":"day","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/top-edited-pages-by-abs-bytes-diff"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/top-edited-pages-by-abs-bytes-diff"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get top 100 edited-pages by absolute bytes-difference.","tags":["Edited pages data"],"x-monitor":false}},"/metrics/edited-pages/top-by-edits/{project}/{editor-type}/{page-type}/{year}/{month}/{day}":{"get":{"description":"Given a Mediawiki project and a date (day or month), returns a timeseries of the top\n100 edited-pages by edits count. You can filter by editor-type (all-editor-types,\nanonymous, group-bot, name-bot, user) or page-type (all-page-types, content or\nnon-content).\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia. For\nprojects like www.mediawiki.org, you can use that full string, or just use mediawiki\nor mediawiki.org.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging to\nthe bot group but having bot-like names) or user (registered account not in bot group\nnor having bot-like name). If you are interested in edits regardless of their\neditor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"If you want to filter by page-type, use one of content (edits on pages in content\nnamespaces) or non-content (edits on pages in non-content namespaces). If you are\ninterested in edits regardless of their page-type, use all-page-types.\n","in":"path","name":"page-type","required":true,"schema":{"type":"string","enum":["all-page-types","content","non-content"]}},{"description":"The year of the date for which to retrieve top edited-pages, in YYYY format.","in":"path","name":"year","required":true,"schema":{"type":"string"}},{"description":"The month of the date for which to retrieve top edited-pages, in MM format. If you want to get the top edited-pages of a whole month, the day parameter should be all-days.","in":"path","name":"month","required":true,"schema":{"type":"string"}},{"description":"The day of the date for which to retrieve top edited-pages, in DD format, or all-days for a monthly value.","in":"path","name":"day","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/top-edited-pages-by-edits"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/top-edited-pages-by-edits"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get top 100 edited-pages by edits count.","tags":["Edited pages data"],"x-monitor":false}},"/metrics/edited-pages/top-by-net-bytes-difference/{project}/{editor-type}/{page-type}/{year}/{month}/{day}":{"get":{"description":"Given a Mediawiki project and a date (day or month), returns a timeseries of the top 100\nedited-pages by net bytes-difference. You can filter by editor-type (all-editor-types,\nanonymous, group-bot, name-bot, user) or page-type (all-page-types, content or non-content).\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia. For\nprojects like www.mediawiki.org, you can use that full string, or just use mediawiki\nor mediawiki.org.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging to\nthe bot group but having bot-like names) or user (registered account not in bot group\nnor having bot-like name). If you are interested in edits regardless of their\neditor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"If you want to filter by page-type, use one of content (edits on pages in content\nnamespaces) or non-content (edits on pages in non-content namespaces). If you are\ninterested in edits regardless of their page-type, use all-page-types.\n","in":"path","name":"page-type","required":true,"schema":{"type":"string","enum":["all-page-types","content","non-content"]}},{"description":"The year of the date for which to retrieve top edited-pages, in YYYY format.","in":"path","name":"year","required":true,"schema":{"type":"string"}},{"description":"The month of the date for which to retrieve top edited-pages, in MM format. If you want to get the top edited-pages of a whole month, the day parameter should be all-days.","in":"path","name":"month","required":true,"schema":{"type":"string"}},{"description":"The day of the date for which to retrieve top edited-pages, in DD format, or all-days for a monthly value.","in":"path","name":"day","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/top-edited-pages-by-net-bytes-diff"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/top-edited-pages-by-net-bytes-diff"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get top 100 edited-pages by net bytes-difference.","tags":["Edited pages data"],"x-monitor":false}},"/metrics/editors/aggregate/{project}/{editor-type}/{page-type}/{activity-level}/{granularity}/{start}/{end}":{"get":{"description":"Given a Mediawiki project and a date range, returns a timeseries of its editors counts.\nYou can filter by editory-type (all-editor-types, anonymous, group-bot, name-bot, user),\npage-type (all-page-types, content or non-content) or activity-level (1..4-edits,\n5..24-edits, 25..99-edits or 100..-edits). You can choose between daily and monthly\ngranularity as well.\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia.\nFor projects like www.mediawiki.org, you can use that full string, or just use\nmediawiki or mediawiki.org.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging\nto the bot group but having bot-like names) or user (registered account not in bot\ngroup nor having bot-like name). If you are interested in edits regardless\nof their editor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"If you want to filter by page-type, use one of content (edits made in content\nnamespaces) or non-content (edits made in non-content namespaces). If you are\ninterested in editors regardless of their page-type, use all-page-types.\n","in":"path","name":"page-type","required":true,"schema":{"type":"string","enum":["all-page-types","content","non-content"]}},{"description":"If you want to filter by activity-level, use one of 1..4-edits, 5..24-edits,\n25..99-edits or 100..-edits. If you are interested in editors regardless\nof their activity-level, use all-activity-levels.\n","in":"path","name":"activity-level","required":true,"schema":{"type":"string","enum":["all-activity-levels","1..4-edits","5..24-edits","25..99-edits","100..-edits"]}},{"description":"The time unit for the response data. As of today, supported values are\ndaily and monthly.\n","in":"path","name":"granularity","required":true,"schema":{"type":"string","enum":["daily","monthly"]}},{"description":"The date of the first day to include, in YYYYMMDD format","in":"path","name":"start","required":true,"schema":{"type":"string"}},{"description":"The date of the last day to include, in YYYYMMDD format","in":"path","name":"end","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/editors"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/editors"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get editors counts for a project.","tags":["Editors data"],"x-monitor":false}},"/metrics/editors/top-by-absolute-bytes-difference/{project}/{editor-type}/{page-type}/{year}/{month}/{day}":{"get":{"description":"Given a Mediawiki project and a date (day or month), returns a timeseries of the top 100\neditors by absolute bytes-difference. You can filter by editor-type (all-editor-types,\nanonymous, group-bot, name-bot, user) or page-type (all-page-types, content or non-content).\nThe user_text returned is either the mediawiki user_text if the user is registered, or\nnull if user is anonymous.\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia. For\nprojects like www.mediawiki.org, you can use that full string, or just use mediawiki\nor mediawiki.org.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging to\nthe bot group but having bot-like names) or user (registered account not in bot group\nnor having bot-like name). If you are interested in edits regardless of their\neditor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"If you want to filter by page-type, use one of content (edits on pages in content\nnamespaces) or non-content (edits on pages in non-content namespaces). If you are\ninterested in edits regardless of their page-type, use all-page-types.\n","in":"path","name":"page-type","required":true,"schema":{"type":"string","enum":["all-page-types","content","non-content"]}},{"description":"The year of the date for which to retrieve top editors, in YYYY format.","in":"path","name":"year","required":true,"schema":{"type":"string"}},{"description":"The month of the date for which to retrieve top editors, in MM format. If you want to get the top editors of a whole month, the day parameter should be all-days.","in":"path","name":"month","required":true,"schema":{"type":"string"}},{"description":"The day of the date for which to retrieve top editors, in DD format, or all-days for a monthly value.","in":"path","name":"day","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/top-editors-by-abs-bytes-diff"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/top-editors-by-abs-bytes-diff"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get top 100 editors by absolute bytes-difference.","tags":["Editors data"],"x-monitor":false}},"/metrics/editors/top-by-edits/{project}/{editor-type}/{page-type}/{year}/{month}/{day}":{"get":{"description":"Given a Mediawiki project and a date (day or month), returns a timeseries of the top\n100 editors by edits count. You can filter by editor-type (all-editor-types,\nanonymous, group-bot, name-bot, user) or page-type (all-page-types, content or\nnon-content). The user_text returned is either the mediawiki user_text if the user is\nregistered, or null if user is anonymous.\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia. For\nprojects like www.mediawiki.org, you can use that full string, or just use mediawiki\nor mediawiki.org.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging to\nthe bot group but having bot-like names) or user (registered account not in bot group\nnor having bot-like name). If you are interested in edits regardless of their\neditor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"If you want to filter by page-type, use one of content (edits on pages in content\nnamespaces) or non-content (edits on pages in non-content namespaces). If you are\ninterested in edits regardless of their page-type, use all-page-types.\n","in":"path","name":"page-type","required":true,"schema":{"type":"string","enum":["all-page-types","content","non-content"]}},{"description":"The year of the date for which to retrieve top editors, in YYYY format.","in":"path","name":"year","required":true,"schema":{"type":"string"}},{"description":"The month of the date for which to retrieve top editors, in MM format. If you want to get the top editors of a whole month, the day parameter should be all-days.","in":"path","name":"month","required":true,"schema":{"type":"string"}},{"description":"The day of the date for which to retrieve top editors, in DD format, or all-days for a monthly value.","in":"path","name":"day","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/top-editors-by-edits"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/top-editors-by-edits"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get top 100 editors by edits count.","tags":["Editors data"],"x-monitor":false}},"/metrics/editors/top-by-net-bytes-difference/{project}/{editor-type}/{page-type}/{year}/{month}/{day}":{"get":{"description":"Given a Mediawiki project and a date (day or month), returns a timeseries of the top 100\neditors by net bytes-difference. You can filter by editor-type (all-editor-types, anonymous,\ngroup-bot, name-bot, user) or page-type (all-page-types, content or non-content). The\nuser_text returned is either the mediawiki user_text if the user is registered, or\n\"Anonymous Editor\" if user is anonymous.\n\n- Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)\n- Rate limit: 25 req/s\n- License: Data accessible via this endpoint is available under the\n [CC0 1.0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","parameters":[{"description":"The name of any Wikimedia project formatted like {language code}.{project name},\nfor example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped\noff. For projects like commons without language codes, use commons.wikimedia. For\nprojects like www.mediawiki.org, you can use that full string, or just use mediawiki\nor mediawiki.org.\n","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"If you want to filter by editor-type, use one of anonymous, group-bot (registered\naccounts belonging to the bot group), name-bot (registered accounts not belonging to\nthe bot group but having bot-like names) or user (registered account not in bot group\nnor having bot-like name). If you are interested in edits regardless of their\neditor-type, use all-editor-types.\n","in":"path","name":"editor-type","required":true,"schema":{"type":"string","enum":["all-editor-types","anonymous","group-bot","name-bot","user"]}},{"description":"If you want to filter by page-type, use one of content (edits on pages in content\nnamespaces) or non-content (edits on pages in non-content namespaces). If you are\ninterested in edits regardless of their page-type, use all-page-types.\n","in":"path","name":"page-type","required":true,"schema":{"type":"string","enum":["all-page-types","content","non-content"]}},{"description":"The year of the date for which to retrieve top editors, in YYYY format.","in":"path","name":"year","required":true,"schema":{"type":"string"}},{"description":"The month of the date for which to retrieve top editors, in MM format. If you want to get the top editors of a whole month, the day parameter should be all-days.","in":"path","name":"month","required":true,"schema":{"type":"string"}},{"description":"The day of the date for which to retrieve top editors, in DD format, or all-days for a monthly value.","in":"path","name":"day","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The list of values","content":{"application/json":{"schema":{"$ref":"#/components/schemas/top-editors-by-net-bytes-diff"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/top-editors-by-net-bytes-diff"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/problem"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/problem"}}}}},"summary":"Get top 100 editors by net bytes-difference.","tags":["Editors data"],"x-monitor":false}},"/metrics/edits/aggregate/{project}/{editor-type}/{page-type}/{granularity}/{start}/{end}":{"get":{"description":"Given a Mediawiki project and a date range, returns a timeseries of