Mholloway has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/397849 )

Change subject: Fill in remaining content format versions in spec.yaml
......................................................................

Fill in remaining content format versions in spec.yaml

Change-Id: Ia60dd9b7eb6b0576a162ce0e22c051ad19e85467
---
M spec.yaml
1 file changed, 10 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/mobileapps 
refs/changes/49/397849/1

diff --git a/spec.yaml b/spec.yaml
index bd199b8..c556a64 100644
--- a/spec.yaml
+++ b/spec.yaml
@@ -1,7 +1,7 @@
 swagger: '2.0'
 
 info:
-  version: 0.1.0
+  version: 0.3.0
   title: WMF MobileApps service
   description: A prototype for MediaWiki REST API services for mobile apps
   termsOfService: https://wikimediafoundation.org/wiki/Terms_of_Use
@@ -68,7 +68,7 @@
         - Announcements for apps
       description: Gets announcements for display in the official Wikipedia 
iOS and Android apps
       produces:
-        - application/json
+        - application/json; charset=utf-8; 
profile="https://www.mediawiki.org/wiki/Specs/announcements/0.1.0";
       responses:
         '200':
           description: Announcements for the given Wiki
@@ -105,7 +105,7 @@
         - Offline compilations
       description: Gets information about the offline compilations available 
for download
       produces:
-        - application/json
+        - application/json; charset=utf-8; 
profile="https://www.mediawiki.org/wiki/Specs/compilations/0.1.0";
       responses:
         '200':
           description: Offline compilation information
@@ -139,7 +139,7 @@
          - Holidays: a list of fixed holidays celebrated on the provided day 
and month
          - Events: a list of significant events which happened on the provided 
day and month and which are not covered by the other types yet
       produces:
-        - application/json
+        - application/json; charset=utf-8; 
profile="https://www.mediawiki.org/wiki/Specs/onthisday/1.3.1";
       parameters:
         - name: type
           in: path
@@ -491,7 +491,7 @@
         - Random article title
       description: Gets the title of a randomly picked article from main 
namespace. Preference is given to articles with a thumbnail, long extract, and 
an associated Wikidata description.
       produces:
-        - application/json
+        - application/json; charset=utf-8; 
profile="https://www.mediawiki.org/wiki/Specs/random/0.6.0";
       responses:
         '200':
           description: A random (good) article title
@@ -567,7 +567,7 @@
         - Media items on a given page
       description: Gets the media items (images, audio, and video) which 
appear on a given wiki page
       produces:
-        - application/json
+        - application/json; charset=utf-8; 
profile="https://www.mediawiki.org/wiki/Specs/Media/1.0.0";
       responses:
         '200':
           description: Gets media items from a wiki page
@@ -606,7 +606,7 @@
         - Wiktionary definition of {title}
       description: Gets definitions parsed from Wiktionary for {title}
       produces:
-        - application/json
+        - application/json; charset=utf-8; 
profile="https://www.mediawiki.org/wiki/Specs/definition/0.7.3";
       x-amples:
         - title: retrieve en-wiktionary definitions for 'cat'
           request:
@@ -786,7 +786,7 @@
         - Page content
       description: Gets the full page content of a given wiki page for mobile 
apps
       produces:
-        - application/json
+        - application/json; charset=utf-8; 
profile="https://www.mediawiki.org/wiki/Specs/mobile-sections/1.3.1";
       x-amples:
         - title: retrieve en.wp main page via mobile-sections
           request:
@@ -820,7 +820,7 @@
         - Lead section of page content
       description: Gets the lead section and general metadata of a given wiki 
page for mobile apps
       produces:
-        - application/json
+        - application/json; charset=utf-8; 
profile="https://www.mediawiki.org/wiki/Specs/mobile-sections/1.3.1";
       x-amples:
         - title: retrieve lead section of en.wp Altrincham page via 
mobile-sections-lead
           request:
@@ -858,7 +858,7 @@
         - Lead section of page content
       description: Gets the remaining sections of a given wiki page for mobile 
apps
       produces:
-        - application/json
+        - application/json; charset=utf-8; 
profile="https://www.mediawiki.org/wiki/Specs/mobile-sections/1.3.1";
       x-monitor: false
 
 definitions:

-- 
To view, visit https://gerrit.wikimedia.org/r/397849
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia60dd9b7eb6b0576a162ce0e22c051ad19e85467
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mobileapps
Gerrit-Branch: master
Gerrit-Owner: Mholloway <mhollo...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to