Mforns has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/366852 )
Change subject: Add specific license for pageview end-points
......................................................................
Add specific license for pageview end-points
Bug: T170602
Change-Id: Ia633003ed7af0d2be2cb99853b65bb80c9b233b0
---
M projects/wikimedia.org.yaml
M v1/metrics.yaml
2 files changed, 17 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/restbase
refs/changes/52/366852/1
diff --git a/projects/wikimedia.org.yaml b/projects/wikimedia.org.yaml
index 0ddbe40..9db0573 100644
--- a/projects/wikimedia.org.yaml
+++ b/projects/wikimedia.org.yaml
@@ -28,6 +28,9 @@
made through this API under the
[CC-BY-SA
3.0](https://creativecommons.org/licenses/by-sa/3.0/)
License and the [GFDL](https://www.gnu.org/copyleft/fdl.html).
+ Note: Some of the end-points described in this page have their
own
+ specific license. Please read the "Implementation Notes" of
the end-points
+ you'd like to use.
termsOfService: https://wikimediafoundation.org/wiki/Terms_of_Use
contact:
diff --git a/v1/metrics.yaml b/v1/metrics.yaml
index b0c1b17..38ef67e 100644
--- a/v1/metrics.yaml
+++ b/v1/metrics.yaml
@@ -19,6 +19,8 @@
description: |
This is the root of all pageview data endpoints. The list of paths
that this returns includes ways to query by article, project, top articles,
etc. If browsing the interactive documentation, see the specifics for each
endpoint below.
+ Data served via this end-point is released under the
[CC0](https://creativecommons.org/publicdomain/zero/1.0/) license.
+
- Stability:
[stable](https://www.mediawiki.org/wiki/API_versioning#Stable)
- Rate limit: 100 req/s
produces:
@@ -41,6 +43,8 @@
summary: Get pageview counts for a page.
description: |
Given a Mediawiki article and a date range, returns a daily timeseries
of its pageview counts. You can also filter by access method and/or agent type.
+
+ Data served via this end-point is released under the
[CC0](https://creativecommons.org/publicdomain/zero/1.0/) license.
- Stability:
[stable](https://www.mediawiki.org/wiki/API_versioning#Stable)
- Rate limit: 100 req/s
@@ -116,6 +120,8 @@
summary: Get pageview counts for a project.
description: |
Given a date range, returns a timeseries of pageview counts. You can
filter by project, access method and/or agent type. You can choose between
daily and hourly granularity as well.
+
+ Data served via this end-point is released under the
[CC0](https://creativecommons.org/publicdomain/zero/1.0/) license.
- Stability:
[stable](https://www.mediawiki.org/wiki/API_versioning#Stable)
- Rate limit: 100 req/s
@@ -210,6 +216,8 @@
description: |
Lists the 1000 most viewed articles for a given project and timespan
(month or day). You can filter by access method.
+ Data served via this end-point is released under the
[CC0](https://creativecommons.org/publicdomain/zero/1.0/) license.
+
- Stability:
[stable](https://www.mediawiki.org/wiki/API_versioning#Stable)
- Rate limit: 100 req/s
produces:
@@ -272,6 +280,8 @@
summary: Get unique devices count per project
description: |
Given a project and a date range, returns a timeseries of unique
devices counts. You need to specify a project, and can filter by accessed site
(mobile or desktop). You can choose between daily and hourly granularity as
well.
+
+ Data served via this end-point is released under the
[CC0](https://creativecommons.org/publicdomain/zero/1.0/) license.
- Stability:
[stable](https://www.mediawiki.org/wiki/API_versioning#Stable)
- Rate limit: 100 req/s
@@ -337,6 +347,8 @@
description: |
This is the root of all legacy data endpoints. For the moment it only
contains aggregated pagecounts.
+ Data served via this end-point is released under the
[CC0](https://creativecommons.org/publicdomain/zero/1.0/) license.
+
- Stability:
[stable](https://www.mediawiki.org/wiki/API_versioning#Stable)
- Rate limit: 100 req/s
produces:
@@ -359,6 +371,8 @@
description: |
Given a project and a date range, returns a timeseries of pagecounts.
You can filter by access site (mobile or desktop) and you can choose between
monthly, daily and hourly granularity as well.
+ Data served via this end-point is released under the
[CC0](https://creativecommons.org/publicdomain/zero/1.0/) license.
+
- Stability:
[experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- Rate limit: 100 req/s
produces:
--
To view, visit https://gerrit.wikimedia.org/r/366852
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia633003ed7af0d2be2cb99853b65bb80c9b233b0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/restbase
Gerrit-Branch: master
Gerrit-Owner: Mforns <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits