Wikimedia
Wikimedia is the organization and platform ecosystem behind Wikipedia and related free-knowledge projects.
- Base URL:
https://wikimedia.org/api/rest_v1 - Auth:
header:cookie(pass your key via theapiKeyinput)
Operations
get_feed_availability— GET /feed/availability — Gets availability of featured feed content for the apps by wiki domain.get_media_math_formula_hash— GET /media/math/formula/{hash} — Get a previously-stored formulaget_media_math_render_format_hash— GET /media/math/render/{format}/{hash} — Get rendered formula in the given format.-
get_metrics_bytes_difference_absolute_aggregate_— GET /metrics/bytes-difference/absolute/aggregate/{project}/{editor-type}/{page-type}/{granularity}/{start}/{end} — Get the sum of absolute value of text bytes difference between current edit and previous one. -
get_metrics_bytes_difference_absolute_per_page_p— GET /metrics/bytes-difference/absolute/per-page/{project}/{page-title}/{editor-type}/{granularity}/{start}/{end} — Get the sum of absolute text bytes difference per page. get_metrics_bytes_difference_net_aggregate_proje— GET /metrics/bytes-difference/net/aggregate/{project}/{editor-type}/{page-type}/{granularity}/{start}/{end} — Get the sum of net text bytes difference between current edit and previous one.
Inputs
apiKey— your wikimedia API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_feed_availability
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: get_feed_availability, get_media_math_formula_hash, get_media_math_render_format_hash, get_metrics_bytes_difference_absolute_aggregate_, get_metrics_bytes_difference_absolute_per_page_p, get_metrics_bytes_difference_net_aggregate_proje |
editor-type |
string | no | — | Path parameter editor-type (required by some operations). |
end |
string | no | — | Path parameter end (required by some operations). |
format |
string | no | — | Path parameter format (required by some operations). |
granularity |
string | no | — | Path parameter granularity (required by some operations). |
hash |
string | no | — | Path parameter hash (required by some operations). |
page-title |
string | no | — | Path parameter page-title (required by some operations). |
page-type |
string | no | — | Path parameter page-type (required by some operations). |
project |
string | no | — | Path parameter project (required by some operations). |
start |
string | no | — | Path parameter start (required by some operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |