jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Mholloway: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: Id2742d192150c4d6331abe8c3f3a7b17d1ca3348
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mobileapps
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: BearND <[email protected]>
Gerrit-Reviewer: Dbrant <[email protected]>
Gerrit-Reviewer: Fjalapeno <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: Jhernandez <[email protected]>
Gerrit-Reviewer: Mholloway <[email protected]>
Gerrit-Reviewer: Mhurd <[email protected]>
Gerrit-Reviewer: Mobrovac <[email protected]>
Gerrit-Reviewer: Niedzielski <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits