launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #22805
[Merge] lp:~cjwatson/launchpad/snap-api-doc-links into lp:launchpad
Colin Watson has proposed merging lp:~cjwatson/launchpad/snap-api-doc-links into lp:launchpad.
Commit message:
Document API URLs for snap, snap_build, and snap_build_request.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/snap-api-doc-links/+merge/352885
--
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~cjwatson/launchpad/snap-api-doc-links into lp:launchpad.
=== modified file 'lib/lp/services/webservice/wadl-to-refhtml.xsl'
--- lib/lp/services/webservice/wadl-to-refhtml.xsl 2017-07-31 11:45:32 +0000
+++ lib/lp/services/webservice/wadl-to-refhtml.xsl 2018-08-10 10:18:49 +0000
@@ -509,6 +509,28 @@
<xsl:text>/messages/</xsl:text>
<var ><message.index></var>
</xsl:when>
+ <xsl:when test="@id = 'snap'">
+ <xsl:text>/~</xsl:text>
+ <var><person.name></var>
+ <xsl:text>/+snap/</xsl:text>
+ <var><snap.name></var>
+ </xsl:when>
+ <xsl:when test="@id = 'snap_build'">
+ <xsl:text>/~</xsl:text>
+ <var><person.name></var>
+ <xsl:text>/+snap/</xsl:text>
+ <var><snap.name></var>
+ <xsl:text>/+build/</xsl:text>
+ <var><id></var>
+ </xsl:when>
+ <xsl:when test="@id = 'snap_build_request'">
+ <xsl:text>/~</xsl:text>
+ <var><person.name></var>
+ <xsl:text>/+snap/</xsl:text>
+ <var><snap.name></var>
+ <xsl:text>/+build-request/</xsl:text>
+ <var><id></var>
+ </xsl:when>
<xsl:when test="@id = 'source_package'">
<xsl:text>/</xsl:text>
<var><distribution.name></var>
Follow ups