Get edited-pages counts for a project.
GET
/metrics/edited-pages/aggregate/{project}/{editor-type}/{page-type}/{activity-level}/{granularity}/{start}/{end}
Edited pages data
You can filter by editor-type (all-editor-types, anonymous, group-bot, name-bot, user),
page-type (all-page-types, content or non-content) or activity-level (1..4-edits,
5..24-edits, 25..99-edits, 100..-edits). You can choose between daily and monthly
granularity as well.
CC0 1.0 license.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://wikimedia.org/api/rest_v1/metrics/edited-pages/aggregate///////'
Response Response Example
200 - Example 1
{
"items": [
{
"activity-level": "string",
"editor-type": "string",
"granularity": "string",
"page-type": "string",
"project": "string",
"results": [
{
"edited_pages": 0,
"timestamp": "string"
}
]
}
]
}
Request
Path Params
project
string
required
for example en.wikipedia. You may pass en.wikipedia.org and the .org will be stripped
off. For projects like commons without language codes, use commons.wikimedia.
For projects like www.mediawiki.org, you can use that full string, or just use
mediawiki or mediawiki.org.
editor-type
string
required
accounts belonging to the bot group), name-bot (registered accounts not belonging to
the bot group but having bot-like names) or user (registered account not in bot group
nor having bot-like name). If you are interested in edits regardless of their
editor-type, use all-editor-types.
page-type
string
required
namespaces) or non-content (edited-pages in non-content namespaces). If you are
interested in edited-pages regardless of their page-type, use all-page-types.
activity-level
string
required
25..99-edits or 100..-edits. If you are interested in edited-pages regardless
of their activity level, use all-activity-levels.
granularity
string
required
daily and monthly.
start
string
required
end
string
required
Responses
Modified at 2023-08-15 06:49:12