Jdlrobson has uploaded a new change for review. https://gerrit.wikimedia.org/r/314307
Change subject: Fix documentation for existing experimental endpoints ...................................................................... Fix documentation for existing experimental endpoints This was a copy pasta fail. Change-Id: Id2742d192150c4d6331abe8c3f3a7b17d1ca3348 --- M routes/mobile-sections.js 1 file changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/mobileapps refs/changes/07/314307/1 diff --git a/routes/mobile-sections.js b/routes/mobile-sections.js index e1524ba..9498ee1 100644 --- a/routes/mobile-sections.js +++ b/routes/mobile-sections.js @@ -217,15 +217,15 @@ if ( process.env.MOBILE_CONTENT_SERVICE_EDGE_VERSION ) { /** - * GET {domain}/v1/page/mobile-sections/{title} - * Gets the mobile app version of a given wiki page. + * GET {domain}/v1/page/formatted/{title}/{revision?} + * Gets a formatted version of a given wiki page rather than a blob of wikitext. */ router.get('/formatted/:title/:revision?', function (req, res) { return buildAllResponse( req, res, true ); }); /** - * GET {domain}/v1/page/mobile-sections/{title} - * Gets the mobile app version of a given wiki page. + * GET {domain}/v1/page/formatted-lead/{title}/{revision?} + * Gets a formatted version of a given wiki page rather than a blob of wikitext. */ router.get('/formatted-lead/:title/:revision?', function (req, res) { return buildLeadResponse( req, res, true ); -- To view, visit https://gerrit.wikimedia.org/r/314307 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id2742d192150c4d6331abe8c3f3a7b17d1ca3348 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/services/mobileapps Gerrit-Branch: master Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits