launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #24232
[Merge] ~cjwatson/launchpad:apidoc-snaps-urls into launchpad:master
Colin Watson has proposed merging ~cjwatson/launchpad:apidoc-snaps-urls into launchpad:master.
Commit message:
Fix URLs of top-level snap collections
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/377654
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:apidoc-snaps-urls into launchpad:master.
diff --git a/lib/lp/services/webservice/wadl-to-refhtml.xsl b/lib/lp/services/webservice/wadl-to-refhtml.xsl
index d5198b0..19aa544 100644
--- a/lib/lp/services/webservice/wadl-to-refhtml.xsl
+++ b/lib/lp/services/webservice/wadl-to-refhtml.xsl
@@ -722,6 +722,15 @@
<xsl:when test="@id = 'hwdb'">
<xsl:text>/+hwdb</xsl:text>
</xsl:when>
+ <xsl:when test="@id = 'snap_bases'">
+ <xsl:text>/+snap-bases</xsl:text>
+ </xsl:when>
+ <xsl:when test="@id = 'snappy_serieses'">
+ <xsl:text>/+snappy-series</xsl:text>
+ </xsl:when>
+ <xsl:when test="@id = 'snaps'">
+ <xsl:text>/+snaps</xsl:text>
+ </xsl:when>
<xsl:otherwise>
<xsl:text>/</xsl:text><xsl:value-of select="@id" />
</xsl:otherwise>