Merge lp:~thekorn/launchpadlib/add_tilde_to_url into lp:launchpadlib

Proposed by Markus Korn
Status: Merged
Merged at revision: not available
Proposed branch: lp:~thekorn/launchpadlib/add_tilde_to_url
Merge into: lp:launchpadlib
Diff against target: 19 lines (+2/-2)
1 file modified
src/launchpadlib/wadl-to-refhtml.xsl (+2/-2)
To merge this branch: bzr merge lp:~thekorn/launchpadlib/add_tilde_to_url
Reviewer Review Type Date Requested Status
Leonard Richardson (community) Approve
Review via email: mp+18552@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Markus Korn (thekorn) wrote :

This branch adds a tilde to the uri of team_membership and wiki_name entries in the apidoc

For example team_membership urls has been shown as
   URL: https://api.launchpad.dev/beta/<team.name>/+member/<member.name>
But the correct scheme is
    URL: https://api.launchpad.dev/beta/~<team.name>/+member/<member.name>

Revision history for this message
Leonard Richardson (leonardr) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/launchpadlib/wadl-to-refhtml.xsl'
2--- src/launchpadlib/wadl-to-refhtml.xsl 2009-10-06 21:25:45 +0000
3+++ src/launchpadlib/wadl-to-refhtml.xsl 2010-02-03 19:42:14 +0000
4@@ -408,13 +408,13 @@
5 <var>&lt;id&gt;</var>
6 </xsl:when>
7 <xsl:when test="@id = 'team_membership'">
8- <xsl:text>/</xsl:text>
9+ <xsl:text>/~</xsl:text>
10 <var>&lt;team.name&gt;</var>
11 <xsl:text>/+member/</xsl:text>
12 <var>&lt;member.name&gt;</var>
13 </xsl:when>
14 <xsl:when test="@id = 'wiki_name'">
15- <xsl:text>/</xsl:text>
16+ <xsl:text>/~</xsl:text>
17 <var>&lt;person.name&gt;</var>
18 <xsl:text>/+wikiname/</xsl:text>
19 <var>&lt;id&gt;</var>

Subscribers

People subscribed via source and target branches