Merge lp:~cjwatson/launchpad/snap-api-doc-links into lp:launchpad

Proposed by Colin Watson on 2018-08-10
Status: Merged
Merged at revision: 18750
Proposed branch: lp:~cjwatson/launchpad/snap-api-doc-links
Merge into: lp:launchpad
Diff against target: 32 lines (+22/-0)
1 file modified
lib/lp/services/webservice/wadl-to-refhtml.xsl (+22/-0)
To merge this branch: bzr merge lp:~cjwatson/launchpad/snap-api-doc-links
Reviewer Review Type Date Requested Status
William Grant code 2018-08-10 Approve on 2018-08-14
Review via email: mp+352885@code.launchpad.net

Commit message

Document API URLs for snap, snap_build, and snap_build_request.

To post a comment you must log in.
William Grant (wgrant) :
review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== 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 @@
509 <xsl:text>/messages/</xsl:text>509 <xsl:text>/messages/</xsl:text>
510 <var >&lt;message.index&gt;</var>510 <var >&lt;message.index&gt;</var>
511 </xsl:when>511 </xsl:when>
512 <xsl:when test="@id = 'snap'">
513 <xsl:text>/~</xsl:text>
514 <var>&lt;person.name&gt;</var>
515 <xsl:text>/+snap/</xsl:text>
516 <var>&lt;snap.name&gt;</var>
517 </xsl:when>
518 <xsl:when test="@id = 'snap_build'">
519 <xsl:text>/~</xsl:text>
520 <var>&lt;person.name&gt;</var>
521 <xsl:text>/+snap/</xsl:text>
522 <var>&lt;snap.name&gt;</var>
523 <xsl:text>/+build/</xsl:text>
524 <var>&lt;id&gt;</var>
525 </xsl:when>
526 <xsl:when test="@id = 'snap_build_request'">
527 <xsl:text>/~</xsl:text>
528 <var>&lt;person.name&gt;</var>
529 <xsl:text>/+snap/</xsl:text>
530 <var>&lt;snap.name&gt;</var>
531 <xsl:text>/+build-request/</xsl:text>
532 <var>&lt;id&gt;</var>
533 </xsl:when>
512 <xsl:when test="@id = 'source_package'">534 <xsl:when test="@id = 'source_package'">
513 <xsl:text>/</xsl:text>535 <xsl:text>/</xsl:text>
514 <var>&lt;distribution.name&gt;</var>536 <var>&lt;distribution.name&gt;</var>