Merge lp:~jamalta/launchpad/515761 into lp:launchpad/db-devel

Proposed by Jamal Fanaian
Status: Work in progress
Proposed branch: lp:~jamalta/launchpad/515761
Merge into: lp:launchpad/db-devel
Diff against target: 28317 lines (+28227/-3) (has conflicts)
4 files modified
lib/canonical/launchpad/apidoc/wadl-testrunner.xml (+28134/-2)
lib/canonical/launchpad/security.py (+67/-1)
lib/lp/bugs/stories/webservice/xx-bug.txt (+12/-0)
lib/lp/registry/stories/webservice/xx-project-registry.txt (+14/-0)
Text conflict in lib/canonical/launchpad/security.py
To merge this branch: bzr merge lp:~jamalta/launchpad/515761
Reviewer Review Type Date Requested Status
Jamal Fanaian (community) Disapprove
Paul Hummer Pending
Review via email: mp+18638@code.launchpad.net

Commit message

Created View classes for IMessage, IProductRelease, and IBugSubscription to allow anonymous API access to these interfaces. Fixed misspelling of 'permission' attribute for ViewProductSeries.

To post a comment you must log in.
Revision history for this message
Jamal Fanaian (jamalta) wrote :

= Summary =

Anonymous API Access to some collections returns nothing.

== Proposed fix ==

Create View classes in security.py for the interfaces that need anonymous access.

== Pre-implementation notes ==

Decision to make these collections available to everyone needs to be considered during review.

== Implementation details ==

Created ViewBugMessage, ViewProductRelease, and ViewBugSubscription in security.py with checkUnauthorized and checkAuthorized both returning True.

== Tests ==

% bin/test -vvct webservice/xx-bug.txt
% bin/test -vvct xx-project-registry

== Demo and Q/A ==

>>> from launchpadlib.launchpad import Launchpad
>>> launchpad = Launchpad.login('test', '', '', 'https://api.launchpad.dev/beta/')
>>> list(launchpad.projects['alsa-utils'].series)
[<project_series at https://api.launchpad.dev/beta/alsa-utils/trunk>]
>>> list(launchpad.bugs[1].messages)
[<message at https://api.launchpad.dev/beta/firefox/+bug/1/comments/0>, <message at https://api.launchpad.dev/beta/firefox/+bug/1/comments/1>]
>>> list(launchpad.bugs[1].subscriptions)
[<bug_subscription at https://api.launchpad.dev/beta/bugs/1/+subscription/stevea>, <bug_subscription at https://api.launchpad.dev/beta/bugs/1/+subscription/name12>]

== Launchpad lint ==

Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.

Linting changed files:
  lib/canonical/launchpad/security.py
  lib/canonical/launchpad/apidoc/wadl-testrunner.xml
  lib/lp/bugs/stories/webservice/xx-bug.txt
  lib/lp/registry/stories/webservice/xx-project-registry.txt

Revision history for this message
Jamal Fanaian (jamalta) wrote :

Oops, I need to fix this branch first. Sorry about that.

review: Disapprove
Revision history for this message
Paul Hummer (rockstar) wrote :

I'm going to set this branch as "Work in progress" since it doesn't seem to be ready for review.

Unmerged revisions

10251. By Jamal Fanaian

Fixed duplicate imports of IProductRelease in security.py

10250. By Jamal Fanaian

Created tests for product series and releases, and fixed tests in bugs

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lib/canonical/launchpad/apidoc/wadl-testrunner.xml'
--- lib/canonical/launchpad/apidoc/wadl-testrunner.xml 2009-12-10 16:41:34 +0000
+++ lib/canonical/launchpad/apidoc/wadl-testrunner.xml 2010-02-04 21:05:33 +0000
@@ -1,10 +1,28142 @@
1<?xml version="1.0"?>1<?xml version="1.0"?>
2<!DOCTYPE application [
3 <!ENTITY nbsp "\&#160;">
4]>
2<wadl:application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"5<wadl:application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns="http://research.sun.com/wadl/2006/10"6 xmlns="http://research.sun.com/wadl/2006/10"
7 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4 xmlns:wadl="http://research.sun.com/wadl/2006/10"8 xmlns:wadl="http://research.sun.com/wadl/2006/10"
5 xsi:schemaLocation="http://research.sun.com/wadl/2006/10/wadl.xsd">9 xsi:schemaLocation="http://research.sun.com/wadl/2006/10/wadl.xsd">
610
7 <!--This file is for testing purposes only. See11 <!--There is one "service root" resource, located (as you'd expect)
8 canonical/launcpad/pagetests/webservice/xx-wadl.txt -->12 at the service root. This very document is the WADL
13 representation of the "service root" resource.-->
14 <wadl:resources base="http://api.launchpad.dev/beta/">
15 <wadl:resource path="" type="#service-root"/>
16 </wadl:resources>
17
18 <!--A "service root" resource responds to GET.-->
19 <wadl:resource_type id="service-root">
20 <wadl:doc>The root of the web service.</wadl:doc>
21 <wadl:method name="GET" id="service-root-get">
22 <wadl:response>
23 <wadl:representation href="#service-root-json"/>
24 <wadl:representation mediaType="application/vnd.sun.wadl+xml" id="service-root-wadl"/>
25 </wadl:response>
26 </wadl:method>
27 </wadl:resource_type>
28
29 <!--The JSON representation of a "service root" resource contains a
30 number of links to collection-type resources.-->
31 <wadl:representation mediaType="application/json" id="service-root-json">
32
33 <wadl:param style="plain" path="$['me_link']"
34 name="me_link">
35 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
36 </wadl:param>
37
38
39 <wadl:param style="plain"
40 path="$['cves_collection_link']"
41 name="cves_collection_link">
42 <wadl:link resource_type="http://api.launchpad.dev/beta/#cves"/>
43 </wadl:param>
44
45
46 <wadl:param style="plain"
47 path="$['branches_collection_link']"
48 name="branches_collection_link">
49 <wadl:link resource_type="http://api.launchpad.dev/beta/#branches"/>
50 </wadl:param>
51
52
53 <wadl:param style="plain"
54 path="$['packagesets_collection_link']"
55 name="packagesets_collection_link">
56 <wadl:link resource_type="http://api.launchpad.dev/beta/#packagesets"/>
57 </wadl:param>
58
59
60 <wadl:param style="plain"
61 path="$['distributions_collection_link']"
62 name="distributions_collection_link">
63 <wadl:link resource_type="http://api.launchpad.dev/beta/#distributions"/>
64 </wadl:param>
65
66
67 <wadl:param style="plain"
68 path="$['projects_collection_link']"
69 name="projects_collection_link">
70 <wadl:link resource_type="http://api.launchpad.dev/beta/#projects"/>
71 </wadl:param>
72
73
74 <wadl:param style="plain"
75 path="$['project_groups_collection_link']"
76 name="project_groups_collection_link">
77 <wadl:link resource_type="http://api.launchpad.dev/beta/#project_groups"/>
78 </wadl:param>
79
80
81 <wadl:param style="plain" path="$['pillars_link']"
82 name="pillars_link">
83 <wadl:link resource_type="http://api.launchpad.dev/beta/#pillars"/>
84 </wadl:param>
85
86
87 <wadl:param style="plain"
88 path="$['translation_import_queue_entries_collection_link']"
89 name="translation_import_queue_entries_collection_link">
90 <wadl:link resource_type="http://api.launchpad.dev/beta/#translation_import_queue_entries"/>
91 </wadl:param>
92
93
94 <wadl:param style="plain"
95 path="$['people_collection_link']"
96 name="people_collection_link">
97 <wadl:link resource_type="http://api.launchpad.dev/beta/#people"/>
98 </wadl:param>
99
100
101 <wadl:param style="plain"
102 path="$['bugs_collection_link']"
103 name="bugs_collection_link">
104 <wadl:link resource_type="http://api.launchpad.dev/beta/#bugs"/>
105 </wadl:param>
106
107 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
108 <wadl:doc>The link to the WADL description of this resource.</wadl:doc>
109 <wadl:link/>
110 </wadl:param>
111 </wadl:representation>
112
113 <!--In addition to the service root, this document describes all the
114 types of resources you might encounter as you browse this web
115 service.-->
116
117 <!--Begin resource_type definitions for collection resources.-->
118
119 <wadl:resource_type id="branches">
120 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
121Interface representing the set of branches.
122</wadl:doc>
123 <wadl:method name="GET" id="branches-get">
124 <wadl:response>
125 <wadl:representation
126 href="http://api.launchpad.dev/beta/#branch-page"/>
127 <wadl:representation
128 mediaType="application/vnd.sun.wadl+xml"
129 id="branches-wadl"/>
130 </wadl:response>
131 </wadl:method>
132
133 <wadl:method id="branches-getByUrls" name="GET">
134 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
135<p>Finds branches by URL.</p>
136<p>Either from the external specified in Branch.url, from the URL on
137<a class="rst-reference external" href="http://bazaar.launchpad.net/" target="_top">http://bazaar.launchpad.net/</a>, or from the lp: URL.</p>
138<p>This is a frontend shim to IBranchLookup.getByUrls to allow it to be
139exported over the API. If you want to call this from within the
140Launchpad app, use the IBranchLookup version instead.</p>
141<table class="rst-docutils field-list" frame="void" rules="none">
142<col class="field-name" />
143<col class="field-body" />
144<tbody valign="top">
145<tr class="rst-field"><th class="rst-field-name">param urls:</th><td class="rst-field-body">An iterable of URLs expressed as strings.</td>
146</tr>
147<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">A dictionary mapping URLs to branches. If the URL has no
148associated branch, the URL will map to None.</td>
149</tr>
150</tbody>
151</table>
152
153</wadl:doc>
154 <wadl:request>
155
156 <wadl:param style="query" name="ws.op"
157 required="true" fixed="getByUrls">
158 <wadl:doc>The name of the operation being invoked.</wadl:doc>
159 </wadl:param>
160 <wadl:param style="query" required="true"
161 name="urls">
162 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
163<p>A list of URLs of branches</p>
164<p>These can be URLs external to Launchpad, lp: URLs, or <a class="rst-reference external" href="http://bazaar.launchpad.net/" target="_top">http://bazaar.launchpad.net/</a> URLs, or any mix of all these different kinds.</p>
165
166</wadl:doc>
167
168 </wadl:param>
169
170 </wadl:request>
171
172 </wadl:method>
173 <wadl:method id="branches-getByUniqueName" name="GET">
174 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
175<p>Find a branch by its ~owner/product/name unique name.</p>
176<p>Return None if no match was found.</p>
177
178</wadl:doc>
179 <wadl:request>
180
181 <wadl:param style="query" name="ws.op"
182 required="true"
183 fixed="getByUniqueName">
184 <wadl:doc>The name of the operation being invoked.</wadl:doc>
185 </wadl:param>
186 <wadl:param style="query" required="true"
187 name="unique_name">
188 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
189Branch unique name
190</wadl:doc>
191
192 </wadl:param>
193
194 </wadl:request>
195 <wadl:response>
196
197 <wadl:representation
198 href="http://api.launchpad.dev/beta/#branch-full"/>
199 </wadl:response>
200 </wadl:method>
201 <wadl:method id="branches-getByUrl" name="GET">
202 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
203<p>Find a branch by URL.</p>
204<p>Either from the external specified in Branch.url, from the URL on
205<a class="rst-reference external" href="http://bazaar.launchpad.net/" target="_top">http://bazaar.launchpad.net/</a> or the lp: URL.</p>
206<p>This is a frontend shim to IBranchLookup.getByUrl to allow it to be
207exported over the API. If you want to call this from within the
208Launchpad app, use the IBranchLookup version instead.</p>
209<p>Return None if no match was found.</p>
210
211</wadl:doc>
212 <wadl:request>
213
214 <wadl:param style="query" name="ws.op"
215 required="true" fixed="getByUrl">
216 <wadl:doc>The name of the operation being invoked.</wadl:doc>
217 </wadl:param>
218 <wadl:param style="query" required="true"
219 name="url">
220 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
221Branch URL
222</wadl:doc>
223
224 </wadl:param>
225
226 </wadl:request>
227 <wadl:response>
228
229 <wadl:representation
230 href="http://api.launchpad.dev/beta/#branch-full"/>
231 </wadl:response>
232 </wadl:method>
233 </wadl:resource_type>
234
235
236
237 <wadl:resource_type id="cves">
238 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
239The set of ICve objects.
240</wadl:doc>
241 <wadl:method name="GET" id="cves-get">
242 <wadl:response>
243 <wadl:representation
244 href="http://api.launchpad.dev/beta/#cve-page"/>
245 <wadl:representation
246 mediaType="application/vnd.sun.wadl+xml" id="cves-wadl"/>
247 </wadl:response>
248 </wadl:method>
249
250 </wadl:resource_type>
251
252
253
254 <wadl:resource_type id="distributions">
255 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
256Interface for DistrosSet
257</wadl:doc>
258 <wadl:method name="GET" id="distributions-get">
259 <wadl:response>
260 <wadl:representation
261 href="http://api.launchpad.dev/beta/#distribution-page"/>
262 <wadl:representation
263 mediaType="application/vnd.sun.wadl+xml"
264 id="distributions-wadl"/>
265 </wadl:response>
266 </wadl:method>
267
268 </wadl:resource_type>
269
270
271
272 <wadl:resource_type id="bugs">
273 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
274Application root for malone.
275</wadl:doc>
276 <wadl:method name="GET" id="bugs-get">
277 <wadl:response>
278 <wadl:representation
279 href="http://api.launchpad.dev/beta/#bug-page"/>
280 <wadl:representation
281 mediaType="application/vnd.sun.wadl+xml" id="bugs-wadl"/>
282 </wadl:response>
283 </wadl:method>
284
285 <wadl:method id="bugs-createBug" name="POST">
286 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
287<p>Create a bug (with an appropriate bugtask) and return it.</p>
288<table class="rst-docutils field-list" frame="void" rules="none">
289<col class="field-name" />
290<col class="field-body" />
291<tbody valign="top">
292<tr class="rst-field"><th class="rst-field-name">param target:</th><td class="rst-field-body">The Product, Distribution or DistributionSourcePackage
293affected by this bug.</td>
294</tr>
295</tbody>
296</table>
297<p>Things to note when using this factory:</p>
298<blockquote>
299<ul class="rst-simple">
300<li>the owner will be subscribed to the bug</li>
301<li>distribution, product and package contacts (whichever ones are
302applicable based on the bug report target) will bug subscribed to
303all <em>public bugs only</em></li>
304<li>for public upstreams bugs where there is no upstream bug contact,
305the product owner will be subscribed instead</li>
306</ul>
307</blockquote>
308
309</wadl:doc>
310 <wadl:request>
311 <wadl:representation
312 mediaType="application/x-www-form-urlencoded">
313 <wadl:param style="query" name="ws.op"
314 required="true" fixed="createBug">
315 <wadl:doc>The name of the operation being invoked.</wadl:doc>
316 </wadl:param>
317 <wadl:param style="query" required="false"
318 name="security_related">
319 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
320This bug is a security vulnerability
321</wadl:doc>
322
323 </wadl:param>
324 <wadl:param style="query" required="true"
325 name="target">
326 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
327The project, distribution or source package that has this bug.
328</wadl:doc>
329 <wadl:link resource_type="http://api.launchpad.dev/beta/#bug_target"/>
330 </wadl:param>
331 <wadl:param style="query" required="false"
332 name="tags">
333 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
334<p>Tags</p>
335<p>Separated by whitespace.</p>
336
337</wadl:doc>
338
339 </wadl:param>
340 <wadl:param style="query" required="true"
341 name="title">
342 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
343<p>Summary</p>
344<p>A one-line summary of the problem.</p>
345
346</wadl:doc>
347
348 </wadl:param>
349 <wadl:param style="query" required="false"
350 name="private">
351 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
352<p>This bug report should be private</p>
353<p>Private bug reports are visible only to their subscribers.</p>
354
355</wadl:doc>
356
357 </wadl:param>
358 <wadl:param style="query" required="true"
359 name="description">
360 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
361<p>Description</p>
362<dl class="rst-docutils">
363<dt>A detailed description of the problem,</dt>
364<dd>including the steps required to reproduce it.</dd>
365</dl>
366
367</wadl:doc>
368
369 </wadl:param>
370 </wadl:representation>
371 </wadl:request>
372 <wadl:response>
373 <wadl:param name="Location" style="header">
374 <wadl:link resource_type="http://api.launchpad.dev/beta/#bug"/>
375 </wadl:param>
376
377 </wadl:response>
378 </wadl:method>
379 </wadl:resource_type>
380
381
382
383 <wadl:resource_type id="packagesets">
384 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
385An interface for multiple package sets.
386</wadl:doc>
387 <wadl:method name="GET" id="packagesets-get">
388 <wadl:response>
389 <wadl:representation
390 href="http://api.launchpad.dev/beta/#packageset-page"/>
391 <wadl:representation
392 mediaType="application/vnd.sun.wadl+xml"
393 id="packagesets-wadl"/>
394 </wadl:response>
395 </wadl:method>
396
397 <wadl:method id="packagesets-setsIncludingSource"
398 name="GET">
399 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
400<p>Get the package sets that include this source package.</p>
401<p>Return all package sets that directly or indirectly include the
402given source package name.</p>
403<table class="rst-docutils field-list" frame="void" rules="none">
404<col class="field-name" />
405<col class="field-body" />
406<tbody valign="top">
407<tr class="rst-field"><th class="rst-field-name" colspan="2">param sourcepackagename:</th></tr>
408<tr><td>&nbsp;</td><td class="rst-field-body">the included source package name; can be
409either a string or a ISourcePackageName.</td>
410</tr>
411<tr class="rst-field"><th class="rst-field-name" colspan="2">param direct_inclusion:</th></tr>
412<tr><td>&nbsp;</td><td class="rst-field-body">if this flag is set to True, then only
413package sets that directly include this source package name will
414be considered.</td>
415</tr>
416<tr class="rst-field"><th class="rst-field-name" colspan="2">raises NoSuchSourcePackageName:</th></tr>
417<tr><td>&nbsp;</td><td class="rst-field-body">if a source package with the given
418name cannot be found.</td>
419</tr>
420<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">A (potentially empty) sequence of IPackageset instances.</td>
421</tr>
422</tbody>
423</table>
424
425</wadl:doc>
426 <wadl:request>
427
428 <wadl:param style="query" name="ws.op"
429 required="true"
430 fixed="setsIncludingSource">
431 <wadl:doc>The name of the operation being invoked.</wadl:doc>
432 </wadl:param>
433 <wadl:param style="query" required="true"
434 name="sourcepackagename">
435 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
436Source package name
437</wadl:doc>
438
439 </wadl:param>
440 <wadl:param style="query" required="false"
441 name="direct_inclusion">
442
443
444 </wadl:param>
445
446 </wadl:request>
447 <wadl:response>
448
449 <wadl:representation
450 href="http://api.launchpad.dev/beta/#packageset-page"/>
451 </wadl:response>
452 </wadl:method>
453 <wadl:method id="packagesets-getByName" name="GET">
454 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
455<p>Return the single package set with the given name (if any).</p>
456<table class="rst-docutils field-list" frame="void" rules="none">
457<col class="field-name" />
458<col class="field-body" />
459<tbody valign="top">
460<tr class="rst-field"><th class="rst-field-name">param name:</th><td class="rst-field-body">the name of the package set sought.</td>
461</tr>
462<tr class="rst-field"><th class="rst-field-name" colspan="2">param distroseries:</th></tr>
463<tr><td>&nbsp;</td><td class="rst-field-body">the distroseries to which the new packageset
464is related. Defaults to the current Ubuntu series.</td>
465</tr>
466<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">An IPackageset instance or None.</td>
467</tr>
468</tbody>
469</table>
470
471</wadl:doc>
472 <wadl:request>
473
474 <wadl:param style="query" name="ws.op"
475 required="true" fixed="getByName">
476 <wadl:doc>The name of the operation being invoked.</wadl:doc>
477 </wadl:param>
478 <wadl:param style="query" required="false"
479 name="distroseries">
480 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
481<p>Distroseries</p>
482<p>The distribution series to which the packageset is related.</p>
483
484</wadl:doc>
485 <wadl:link resource_type="http://api.launchpad.dev/beta/#distro_series"/>
486 </wadl:param>
487 <wadl:param style="query" required="true"
488 name="name">
489 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
490Package set name
491</wadl:doc>
492
493 </wadl:param>
494
495 </wadl:request>
496 <wadl:response>
497
498 <wadl:representation
499 href="http://api.launchpad.dev/beta/#packageset-full"/>
500 </wadl:response>
501 </wadl:method>
502 <wadl:method id="packagesets-new" name="POST">
503 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
504<p>Create a new package set.</p>
505<table class="rst-docutils field-list" frame="void" rules="none">
506<col class="field-name" />
507<col class="field-body" />
508<tbody valign="top">
509<tr class="rst-field"><th class="rst-field-name">param name:</th><td class="rst-field-body">the name of the package set to be created.</td>
510</tr>
511<tr class="rst-field"><th class="rst-field-name" colspan="2">param description:</th></tr>
512<tr><td>&nbsp;</td><td class="rst-field-body">the description for the package set to be created.</td>
513</tr>
514<tr class="rst-field"><th class="rst-field-name">param owner:</th><td class="rst-field-body">the owner of the package set to be created.</td>
515</tr>
516<tr class="rst-field"><th class="rst-field-name" colspan="2">param distroseries:</th></tr>
517<tr><td>&nbsp;</td><td class="rst-field-body">the distroseries to which the new packageset
518is related. Defaults to the current Ubuntu series.</td>
519</tr>
520<tr class="rst-field"><th class="rst-field-name" colspan="2">param related_set:</th></tr>
521<tr><td>&nbsp;</td><td class="rst-field-body">the newly created package set is to be related to
522related_set (by being placed in the same package group).</td>
523</tr>
524<tr class="rst-field"><th class="rst-field-name" colspan="2">raises DuplicatePackagesetName:</th></tr>
525<tr><td>&nbsp;</td><td class="rst-field-body">if a package set with the same name
526exists in distroseries already.</td>
527</tr>
528<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">a newly created IPackageset.</td>
529</tr>
530</tbody>
531</table>
532
533</wadl:doc>
534 <wadl:request>
535 <wadl:representation
536 mediaType="application/x-www-form-urlencoded">
537 <wadl:param style="query" name="ws.op"
538 required="true" fixed="new">
539 <wadl:doc>The name of the operation being invoked.</wadl:doc>
540 </wadl:param>
541 <wadl:param style="query" required="true"
542 name="owner">
543 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
544<p>Person</p>
545<p>The person who owns this package set.</p>
546
547</wadl:doc>
548 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
549 </wadl:param>
550 <wadl:param style="query" required="false"
551 name="distroseries">
552 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
553<p>Distroseries</p>
554<p>The distribution series to which the packageset is related.</p>
555
556</wadl:doc>
557 <wadl:link resource_type="http://api.launchpad.dev/beta/#distro_series"/>
558 </wadl:param>
559 <wadl:param style="query" required="true"
560 name="description">
561 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
562Package set description
563</wadl:doc>
564
565 </wadl:param>
566 <wadl:param style="query" required="true"
567 name="name">
568 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
569Valid package set name
570</wadl:doc>
571
572 </wadl:param>
573 <wadl:param style="query" required="false"
574 name="related_set">
575 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
576<p>Related package set</p>
577<p>The new package set will share the package set group with this one.</p>
578
579</wadl:doc>
580 <wadl:link resource_type="http://api.launchpad.dev/beta/#packageset"/>
581 </wadl:param>
582 </wadl:representation>
583 </wadl:request>
584 <wadl:response>
585 <wadl:param name="Location" style="header">
586 <wadl:link resource_type="http://api.launchpad.dev/beta/#packageset"/>
587 </wadl:param>
588
589 </wadl:response>
590 </wadl:method>
591 </wadl:resource_type>
592
593
594
595 <wadl:resource_type id="people">
596 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
597The set of Persons.
598</wadl:doc>
599 <wadl:method name="GET" id="people-get">
600 <wadl:response>
601 <wadl:representation
602 href="http://api.launchpad.dev/beta/#person-page"/>
603 <wadl:representation
604 mediaType="application/vnd.sun.wadl+xml"
605 id="people-wadl"/>
606 </wadl:response>
607 </wadl:method>
608
609 <wadl:method id="people-findPerson" name="GET">
610 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
611<p>Return all non-merged Persons with at least one email address whose
612name, displayname or email address match &lt;text&gt;.</p>
613<p>If text is an empty string, all persons with at least one email
614address will be returned.</p>
615<p>The results will be ordered using the default ordering specified in
616Person._defaultOrder.</p>
617<p>If exclude_inactive_accounts is True, any accounts whose
618account_status is any of INACTIVE_ACCOUNT_STATUSES will not be in the
619returned set.</p>
620<p>If must_have_email is True, only people with one or more email
621addresses are returned.</p>
622<p>While we don't have Full Text Indexes in the emailaddress table, we'll
623be trying to match the text only against the beginning of an email
624address.</p>
625<p>If created_before or created_after are not None, they are used to
626restrict the search to the dates provided.</p>
627
628</wadl:doc>
629 <wadl:request>
630
631 <wadl:param style="query" name="ws.op"
632 required="true" fixed="findPerson">
633 <wadl:doc>The name of the operation being invoked.</wadl:doc>
634 </wadl:param>
635 <wadl:param style="query" required="true"
636 name="text">
637 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
638Search text
639</wadl:doc>
640
641 </wadl:param>
642 <wadl:param style="query" required="false"
643 type="xsd:dateTime"
644 name="created_before">
645 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
646Created before
647</wadl:doc>
648
649 </wadl:param>
650 <wadl:param style="query" required="false"
651 type="xsd:dateTime"
652 name="created_after">
653 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
654Created after
655</wadl:doc>
656
657 </wadl:param>
658
659 </wadl:request>
660 <wadl:response>
661
662 <wadl:representation
663 href="http://api.launchpad.dev/beta/#person-page"/>
664 </wadl:response>
665 </wadl:method>
666 <wadl:method id="people-getByEmail" name="GET">
667 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
668<p>Return the person with the given email address.</p>
669<p>Return None if there is no person with the given email address.</p>
670
671</wadl:doc>
672 <wadl:request>
673
674 <wadl:param style="query" name="ws.op"
675 required="true" fixed="getByEmail">
676 <wadl:doc>The name of the operation being invoked.</wadl:doc>
677 </wadl:param>
678 <wadl:param style="query" required="true"
679 name="email">
680
681
682 </wadl:param>
683
684 </wadl:request>
685 <wadl:response>
686
687 <wadl:representation
688 href="http://api.launchpad.dev/beta/#person-full"/>
689 </wadl:response>
690 </wadl:method>
691 <wadl:method id="people-find" name="GET">
692 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
693<p>Return all non-merged Persons and Teams whose name, displayname or
694email address match &lt;text&gt;.</p>
695<p>The results will be ordered using the default ordering specified in
696Person._defaultOrder.</p>
697<p>While we don't have Full Text Indexes in the emailaddress table, we'll
698be trying to match the text only against the beginning of an email
699address.</p>
700
701</wadl:doc>
702 <wadl:request>
703
704 <wadl:param style="query" name="ws.op"
705 required="true" fixed="find">
706 <wadl:doc>The name of the operation being invoked.</wadl:doc>
707 </wadl:param>
708 <wadl:param style="query" required="true"
709 name="text">
710 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
711Search text
712</wadl:doc>
713
714 </wadl:param>
715
716 </wadl:request>
717 <wadl:response>
718
719 <wadl:representation
720 href="http://api.launchpad.dev/beta/#person-page"/>
721 </wadl:response>
722 </wadl:method>
723 <wadl:method id="people-findTeam" name="GET">
724 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
725<p>Return all Teams whose name, displayname or email address
726match &lt;text&gt;.</p>
727<p>The results will be ordered using the default ordering specified in
728Person._defaultOrder.</p>
729<p>While we don't have Full Text Indexes in the emailaddress table, we'll
730be trying to match the text only against the beginning of an email
731address.</p>
732
733</wadl:doc>
734 <wadl:request>
735
736 <wadl:param style="query" name="ws.op"
737 required="true" fixed="findTeam">
738 <wadl:doc>The name of the operation being invoked.</wadl:doc>
739 </wadl:param>
740 <wadl:param style="query" required="true"
741 name="text">
742 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
743Search text
744</wadl:doc>
745
746 </wadl:param>
747
748 </wadl:request>
749 <wadl:response>
750
751 <wadl:representation
752 href="http://api.launchpad.dev/beta/#person-page"/>
753 </wadl:response>
754 </wadl:method>
755 <wadl:method id="people-newTeam" name="POST">
756 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
757Create and return a new Team with given arguments.
758</wadl:doc>
759 <wadl:request>
760 <wadl:representation
761 mediaType="application/x-www-form-urlencoded">
762 <wadl:param style="query" name="ws.op"
763 required="true" fixed="newTeam">
764 <wadl:doc>The name of the operation being invoked.</wadl:doc>
765 </wadl:param>
766 <wadl:param style="query" required="true"
767 name="display_name">
768 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
769<p>Display Name</p>
770<p>Your name as you would like it displayed throughout Launchpad. Most people use their full name here.</p>
771
772</wadl:doc>
773
774 </wadl:param>
775 <wadl:param style="query" required="true"
776 name="name">
777 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
778<p>Name</p>
779<p>A short unique name, beginning with a lower-case letter or number, and containing only letters, numbers, dots, hyphens, or plus signs.</p>
780
781</wadl:doc>
782
783 </wadl:param>
784 <wadl:param style="query" required="false"
785 name="default_membership_period">
786 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
787<p>Subscription period</p>
788<p>Number of days a new subscription lasts before expiring. You can customize the length of an individual subscription when approving it. Leave this empty or set to 0 for subscriptions to never expire.</p>
789
790</wadl:doc>
791
792 </wadl:param>
793 <wadl:param style="query" required="false"
794 name="team_description">
795 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
796<p>Team Description</p>
797<p>Include information on how to get involved with development. Use plain text; URLs will be linkified.</p>
798
799</wadl:doc>
800
801 </wadl:param>
802 <wadl:param style="query" required="false"
803 name="default_renewal_period">
804 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
805<p>Renewal period</p>
806<p>Number of days a subscription lasts after being renewed. You can customize the lengths of individual renewals, but this is what's used for auto-renewed and user-renewed memberships.</p>
807
808</wadl:doc>
809
810 </wadl:param>
811 <wadl:param style="query" required="false"
812 name="subscription_policy">
813 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
814Subscription policy
815</wadl:doc>
816
817 <wadl:option value="Moderated Team"/>
818 <wadl:option value="Open Team"/>
819 <wadl:option value="Restricted Team"/>
820 </wadl:param>
821 </wadl:representation>
822 </wadl:request>
823 <wadl:response>
824 <wadl:param name="Location" style="header">
825 <wadl:link resource_type="http://api.launchpad.dev/beta/#team"/>
826 </wadl:param>
827
828 </wadl:response>
829 </wadl:method>
830 </wadl:resource_type>
831
832
833
834 <wadl:resource_type id="projects">
835
836 <wadl:method name="GET" id="projects-get">
837 <wadl:response>
838 <wadl:representation
839 href="http://api.launchpad.dev/beta/#project-page"/>
840 <wadl:representation
841 mediaType="application/vnd.sun.wadl+xml"
842 id="projects-wadl"/>
843 </wadl:response>
844 </wadl:method>
845
846 <wadl:method id="projects-search" name="GET">
847 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
848Search through the Registry database for products that match the
849query terms. text is a piece of text in the title / summary /
850description fields of product. soyuz, bazaar, malone etc are
851hints as to whether the search should be limited to products
852that are active in those Launchpad applications.
853</wadl:doc>
854 <wadl:request>
855
856 <wadl:param style="query" name="ws.op"
857 required="true" fixed="search">
858 <wadl:doc>The name of the operation being invoked.</wadl:doc>
859 </wadl:param>
860 <wadl:param style="query" required="false"
861 name="text">
862 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
863Search text
864</wadl:doc>
865
866 </wadl:param>
867
868 </wadl:request>
869 <wadl:response>
870
871 <wadl:representation
872 href="http://api.launchpad.dev/beta/#project-page"/>
873 </wadl:response>
874 </wadl:method>
875 <wadl:method id="projects-licensing_search" name="GET">
876 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
877Return an iterator over products that need to be reviewed.
878</wadl:doc>
879 <wadl:request>
880
881 <wadl:param style="query" name="ws.op"
882 required="true"
883 fixed="licensing_search">
884 <wadl:doc>The name of the operation being invoked.</wadl:doc>
885 </wadl:param>
886 <wadl:param style="query" required="false"
887 name="license_reviewed">
888 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
889Is the project license reviewed
890</wadl:doc>
891
892 </wadl:param>
893 <wadl:param style="query" required="false"
894 name="license_info_is_empty">
895 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
896License info is empty
897</wadl:doc>
898
899 </wadl:param>
900 <wadl:param style="query" required="false"
901 name="search_text">
902 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
903Search text
904</wadl:doc>
905
906 </wadl:param>
907 <wadl:param style="query" required="false"
908 name="has_zero_licenses">
909 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
910Has zero licenses
911</wadl:doc>
912
913 </wadl:param>
914 <wadl:param style="query" required="false"
915 type="xsd:date"
916 name="subscription_expires_after">
917 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
918Subscription expires after
919</wadl:doc>
920
921 </wadl:param>
922 <wadl:param style="query" required="false"
923 name="active">
924 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
925Is the project active
926</wadl:doc>
927
928 </wadl:param>
929 <wadl:param style="query" required="false"
930 type="xsd:date"
931 name="subscription_modified_after">
932 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
933Subscription modified after
934</wadl:doc>
935
936 </wadl:param>
937 <wadl:param style="query" required="false"
938 type="xsd:date" name="created_after">
939 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
940Created after date
941</wadl:doc>
942
943 </wadl:param>
944 <wadl:param style="query" required="false"
945 name="licenses">
946 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
947Licenses
948</wadl:doc>
949
950 </wadl:param>
951 <wadl:param style="query" required="false"
952 type="xsd:date"
953 name="subscription_expires_before">
954 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
955Subscription expired before
956</wadl:doc>
957
958 </wadl:param>
959 <wadl:param style="query" required="false"
960 type="xsd:date"
961 name="created_before">
962 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
963Created before date
964</wadl:doc>
965
966 </wadl:param>
967 <wadl:param style="query" required="false"
968 type="xsd:date"
969 name="subscription_modified_before">
970 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
971Subscription modified before
972</wadl:doc>
973
974 </wadl:param>
975
976 </wadl:request>
977 <wadl:response>
978
979 <wadl:representation
980 href="http://api.launchpad.dev/beta/#project-page"/>
981 </wadl:response>
982 </wadl:method>
983 <wadl:method id="projects-latest" name="GET">
984 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
985<p>Return the latest projects registered in Launchpad.</p>
986<p>If the quantity is not specified or is a value that is not 'None'
987then the set of projects returned is limited to that value (the
988default quantity is 5). If quantity is 'None' then all projects are
989returned. For the web service it is not possible to specify the
990quantity, so all projects are returned, latest first.</p>
991
992</wadl:doc>
993 <wadl:request>
994
995 <wadl:param style="query" name="ws.op"
996 required="true" fixed="latest">
997 <wadl:doc>The name of the operation being invoked.</wadl:doc>
998 </wadl:param>
999
1000 </wadl:request>
1001 <wadl:response>
1002
1003 <wadl:representation
1004 href="http://api.launchpad.dev/beta/#project-page"/>
1005 </wadl:response>
1006 </wadl:method>
1007 <wadl:method id="projects-new_project" name="POST">
1008 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1009<p>Create and return a brand new Product.</p>
1010<p>See IProduct for a description of the parameters.</p>
1011
1012</wadl:doc>
1013 <wadl:request>
1014 <wadl:representation
1015 mediaType="application/x-www-form-urlencoded">
1016 <wadl:param style="query" name="ws.op"
1017 required="true" fixed="new_project">
1018 <wadl:doc>The name of the operation being invoked.</wadl:doc>
1019 </wadl:param>
1020 <wadl:param style="query" required="false"
1021 name="wiki_url">
1022 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1023<p>Wiki URL</p>
1024<dl class="rst-docutils">
1025<dt>The full URL of this project's wiki, if it has</dt>
1026<dd>one. Please include the <a class="rst-reference external" href="http://" target="_top">http://</a></dd>
1027</dl>
1028
1029</wadl:doc>
1030
1031 </wadl:param>
1032 <wadl:param style="query" required="false"
1033 name="download_url">
1034 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1035<p>Download URL</p>
1036<dl class="rst-docutils">
1037<dt>The full URL where downloads for this project</dt>
1038<dd>are located, if available. Please include the <a class="rst-reference external" href="http://" target="_top">http://</a></dd>
1039</dl>
1040
1041</wadl:doc>
1042
1043 </wadl:param>
1044 <wadl:param style="query" required="false"
1045 name="license_reviewed">
1046 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1047<p>Project reviewed</p>
1048<p>Whether or not this project has been reviewed. If you looked at the project and how it uses Launchpad, you reviewed it.</p>
1049
1050</wadl:doc>
1051
1052 </wadl:param>
1053 <wadl:param style="query" required="true"
1054 name="display_name">
1055 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1056<p>Display Name</p>
1057<dl class="rst-docutils">
1058<dt>The name of the project as it would appear in a</dt>
1059<dd>paragraph.</dd>
1060</dl>
1061
1062</wadl:doc>
1063
1064 </wadl:param>
1065 <wadl:param style="query" required="false"
1066 name="description">
1067 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1068<p>Description</p>
1069<dl class="rst-docutils">
1070<dt>Include information on how to get involved with</dt>
1071<dd>development. Don't repeat anything from the Summary.</dd>
1072</dl>
1073
1074</wadl:doc>
1075
1076 </wadl:param>
1077 <wadl:param style="query" required="true"
1078 name="title">
1079 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1080<p>Title</p>
1081<p>The project title. Should be just a few words.</p>
1082
1083</wadl:doc>
1084
1085 </wadl:param>
1086 <wadl:param style="query" required="true"
1087 name="summary">
1088 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1089<p>Summary</p>
1090<p>The summary should be a single short paragraph.</p>
1091
1092</wadl:doc>
1093
1094 </wadl:param>
1095 <wadl:param style="query" required="false"
1096 name="project_group">
1097 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1098<p>Part of</p>
1099<p>Super-project. In Launchpad, we can setup a special &quot;project group&quot; that is an overarching initiative that includes several related projects. For example, the Mozilla Project produces Firefox, Thunderbird and Gecko. This information is used to group those projects in a coherent way. If you make this project part of a group, the group preferences and decisions around bug tracking, translation and security policy will apply to this project.</p>
1100
1101</wadl:doc>
1102 <wadl:link resource_type="http://api.launchpad.dev/beta/#project_group"/>
1103 </wadl:param>
1104 <wadl:param style="query" required="false"
1105 name="licenses">
1106 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1107Licenses
1108</wadl:doc>
1109
1110 </wadl:param>
1111 <wadl:param style="query" required="false"
1112 name="freshmeat_project">
1113 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1114<p>Freshmeat Project</p>
1115<dl class="rst-docutils">
1116<dt>The Freshmeat project name for</dt>
1117<dd>this project, if it is in freshmeat.</dd>
1118</dl>
1119
1120</wadl:doc>
1121
1122 </wadl:param>
1123 <wadl:param style="query" required="false"
1124 name="sourceforge_project">
1125 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1126<p>Sourceforge Project</p>
1127<dl class="rst-docutils">
1128<dt>The SourceForge project name for</dt>
1129<dd>this project, if it is in sourceforge.</dd>
1130</dl>
1131
1132</wadl:doc>
1133
1134 </wadl:param>
1135 <wadl:param style="query" required="false"
1136 name="programming_lang">
1137 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1138<p>Programming Languages</p>
1139<dl class="rst-docutils">
1140<dt>A comma delimited list of programming</dt>
1141<dd>languages used for this project.</dd>
1142</dl>
1143
1144</wadl:doc>
1145
1146 </wadl:param>
1147 <wadl:param style="query" required="false"
1148 name="screenshots_url">
1149 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1150<p>Screenshots URL</p>
1151<dl class="rst-docutils">
1152<dt>The full URL for screenshots of this project,</dt>
1153<dd>if available. Please include the <a class="rst-reference external" href="http://" target="_top">http://</a></dd>
1154</dl>
1155
1156</wadl:doc>
1157
1158 </wadl:param>
1159 <wadl:param style="query" required="false"
1160 name="license_info">
1161 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1162<p>Description of additional licenses</p>
1163<p>Description of licenses that do not appear in the list above.</p>
1164
1165</wadl:doc>
1166
1167 </wadl:param>
1168 <wadl:param style="query" required="false"
1169 name="home_page_url">
1170 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1171<p>Homepage URL</p>
1172<dl class="rst-docutils">
1173<dt>The project home page. Please include</dt>
1174<dd>the <a class="rst-reference external" href="http://" target="_top">http://</a></dd>
1175</dl>
1176
1177</wadl:doc>
1178
1179 </wadl:param>
1180 <wadl:param style="query" required="false"
1181 name="registrant">
1182 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1183<p>Registrant</p>
1184<p>This person registered the project in Launchpad.</p>
1185
1186</wadl:doc>
1187 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
1188 </wadl:param>
1189 <wadl:param style="query" required="true"
1190 name="name">
1191 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1192<p>Name</p>
1193<p>At least one lowercase letter or number, followed by letters, numbers, dots, hyphens or pluses. Keep this name short; it is used in URLs as shown above.</p>
1194
1195</wadl:doc>
1196
1197 </wadl:param>
1198 </wadl:representation>
1199 </wadl:request>
1200 <wadl:response>
1201 <wadl:param name="Location" style="header">
1202 <wadl:link resource_type="http://api.launchpad.dev/beta/#project"/>
1203 </wadl:param>
1204
1205 </wadl:response>
1206 </wadl:method>
1207 </wadl:resource_type>
1208
1209
1210
1211 <wadl:resource_type id="project_groups">
1212 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1213The collection of projects.
1214</wadl:doc>
1215 <wadl:method name="GET" id="project_groups-get">
1216 <wadl:response>
1217 <wadl:representation
1218 href="http://api.launchpad.dev/beta/#project_group-page"/>
1219 <wadl:representation
1220 mediaType="application/vnd.sun.wadl+xml"
1221 id="project_groups-wadl"/>
1222 </wadl:response>
1223 </wadl:method>
1224
1225 <wadl:method id="project_groups-search" name="GET">
1226 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1227Search through the Registry database for projects that match the
1228query terms. text is a piece of text in the title / summary /
1229description fields of project (and possibly product). soyuz,
1230bazaar, malone etc are hints as to whether the search should
1231be limited to projects that are active in those Launchpad
1232applications.
1233</wadl:doc>
1234 <wadl:request>
1235
1236 <wadl:param style="query" name="ws.op"
1237 required="true" fixed="search">
1238 <wadl:doc>The name of the operation being invoked.</wadl:doc>
1239 </wadl:param>
1240 <wadl:param style="query" required="false"
1241 name="text">
1242 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1243Search text
1244</wadl:doc>
1245
1246 </wadl:param>
1247
1248 </wadl:request>
1249 <wadl:response>
1250
1251 <wadl:representation
1252 href="http://api.launchpad.dev/beta/#project_group-page"/>
1253 </wadl:response>
1254 </wadl:method>
1255 </wadl:resource_type>
1256
1257
1258
1259 <wadl:resource_type id="translation_import_queue_entries">
1260 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1261A set of files to be imported into Rosetta.
1262</wadl:doc>
1263 <wadl:method name="GET"
1264 id="translation_import_queue_entries-get">
1265 <wadl:response>
1266 <wadl:representation
1267 href="http://api.launchpad.dev/beta/#translation_import_queue_entry-page"/>
1268 <wadl:representation
1269 mediaType="application/vnd.sun.wadl+xml"
1270 id="translation_import_queue_entries-wadl"/>
1271 </wadl:response>
1272 </wadl:method>
1273
1274 <wadl:method id="translation_import_queue_entries-getAllEntries"
1275 name="GET">
1276 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1277<p>Return all entries this import queue has.</p>
1278<table class="rst-docutils field-list" frame="void" rules="none">
1279<col class="field-name" />
1280<col class="field-body" />
1281<tbody valign="top">
1282<tr class="rst-field"><th class="rst-field-name">arg target:</th><td class="rst-field-body">IPerson, IProduct, IProductSeries, IDistribution,
1283IDistroSeries or ISourcePackage the import entries are attached to
1284or None to get all entries available.</td>
1285</tr>
1286<tr class="rst-field"><th class="rst-field-name" colspan="2">arg import_status:</th></tr>
1287<tr><td>&nbsp;</td><td class="rst-field-body">RosettaImportStatus entry.</td>
1288</tr>
1289<tr class="rst-field"><th class="rst-field-name" colspan="2">arg file_extensions:</th></tr>
1290<tr><td>&nbsp;</td><td class="rst-field-body">Sequence of filename suffixes to match, usually
1291'po' or 'pot'.</td>
1292</tr>
1293</tbody>
1294</table>
1295<p>If any of target, status or file_extension are given, the returned
1296entries are filtered based on those values.</p>
1297
1298</wadl:doc>
1299 <wadl:request>
1300
1301 <wadl:param style="query" name="ws.op"
1302 required="true"
1303 fixed="getAllEntries">
1304 <wadl:doc>The name of the operation being invoked.</wadl:doc>
1305 </wadl:param>
1306 <wadl:param style="query" required="false"
1307 name="import_status">
1308 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1309The status of the import.
1310</wadl:doc>
1311
1312 </wadl:param>
1313
1314 </wadl:request>
1315 <wadl:response>
1316
1317 <wadl:representation
1318 href="http://api.launchpad.dev/beta/#translation_import_queue_entry-page"/>
1319 </wadl:response>
1320 </wadl:method>
1321 <wadl:method id="translation_import_queue_entries-getRequestTargets"
1322 name="GET">
1323 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1324<p>List Product`s and `DistroSeries with pending imports.</p>
1325<table class="rst-docutils field-list" frame="void" rules="none">
1326<col class="field-name" />
1327<col class="field-body" />
1328<tbody valign="top">
1329<tr class="rst-field"><th class="rst-field-name">arg status:</th><td class="rst-field-body">Filter by RosettaImportStatus.</td>
1330</tr>
1331</tbody>
1332</table>
1333<p>All returned items will implement IHasTranslationImports.</p>
1334
1335</wadl:doc>
1336 <wadl:request>
1337
1338 <wadl:param style="query" name="ws.op"
1339 required="true"
1340 fixed="getRequestTargets">
1341 <wadl:doc>The name of the operation being invoked.</wadl:doc>
1342 </wadl:param>
1343 <wadl:param style="query" required="false"
1344 name="status">
1345 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1346The status of the import.
1347</wadl:doc>
1348
1349 </wadl:param>
1350
1351 </wadl:request>
1352 <wadl:response>
1353
1354 <wadl:representation
1355 href="http://api.launchpad.dev/beta/#object_with_translation_imports-page"/>
1356 </wadl:response>
1357 </wadl:method>
1358 <wadl:method id="translation_import_queue_entries-getFirstEntryToImport"
1359 name="GET">
1360 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1361<p>Return the first entry of the queue ready to be imported.</p>
1362<table class="rst-docutils field-list" frame="void" rules="none">
1363<col class="field-name" />
1364<col class="field-body" />
1365<tbody valign="top">
1366<tr class="rst-field"><th class="rst-field-name">param target:</th><td class="rst-field-body">IPerson, IProduct, IProductSeries, IDistribution,
1367IDistroSeries or ISourcePackage the import entries are attached to
1368or None to get all entries available.</td>
1369</tr>
1370</tbody>
1371</table>
1372
1373</wadl:doc>
1374 <wadl:request>
1375
1376 <wadl:param style="query" name="ws.op"
1377 required="true"
1378 fixed="getFirstEntryToImport">
1379 <wadl:doc>The name of the operation being invoked.</wadl:doc>
1380 </wadl:param>
1381 <wadl:param style="query" required="false"
1382 name="target">
1383
1384 <wadl:link resource_type="http://api.launchpad.dev/beta/#object_with_translation_imports"/>
1385 </wadl:param>
1386
1387 </wadl:request>
1388 <wadl:response>
1389
1390 <wadl:representation
1391 href="http://api.launchpad.dev/beta/#translation_import_queue_entry-full"/>
1392 </wadl:response>
1393 </wadl:method>
1394 </wadl:resource_type>
1395
1396
1397 <!--End resource_type definitions for collection resources.-->
1398
1399 <!--Begin representation and resource_type definitions for entry
1400 resources and the collections that contain them. -->
1401
1402 <wadl:resource_type id="archive_dependency">
1403 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1404ArchiveDependency interface.
1405</wadl:doc>
1406 <wadl:method name="GET" id="archive_dependency-get">
1407 <wadl:response>
1408 <wadl:representation
1409 href="http://api.launchpad.dev/beta/#archive_dependency-full"/>
1410 <wadl:representation
1411 mediaType="application/xhtml+xml"
1412 id="archive_dependency-xhtml"/>
1413 <wadl:representation
1414 mediaType="application/vnd.sun.wadl+xml"
1415 id="archive_dependency-wadl"/>
1416 </wadl:response>
1417 </wadl:method>
1418
1419 <wadl:method name="PUT" id="archive_dependency-put">
1420 <wadl:request>
1421 <wadl:representation
1422 href="http://api.launchpad.dev/beta/#archive_dependency-full"/>
1423 </wadl:request>
1424 </wadl:method>
1425
1426 <wadl:method name="PATCH"
1427 id="archive_dependency-patch">
1428 <wadl:request>
1429 <wadl:representation
1430 href="http://api.launchpad.dev/beta/#archive_dependency-diff"/>
1431 </wadl:request>
1432 </wadl:method>
1433
1434
1435
1436 </wadl:resource_type>
1437
1438
1439 <wadl:representation mediaType="application/json"
1440 id="archive_dependency-full">
1441 <wadl:param style="plain" name="self_link" path="$['self_link']">
1442 <wadl:doc>The canonical link to this resource.</wadl:doc>
1443 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive_dependency"/>
1444 </wadl:param>
1445 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
1446 <wadl:doc>
1447 The link to the WADL description of this resource.
1448 </wadl:doc>
1449 <wadl:link/>
1450 </wadl:param>
1451 <wadl:param style="plain" name="http_etag" path="$['http_etag']">
1452 <wadl:doc>
1453 The value of the HTTP ETag for this resource.
1454 </wadl:doc>
1455 </wadl:param>
1456 <wadl:param style="plain" required="true"
1457 path="$['title']" name="title">
1458 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1459Archive dependency title.
1460</wadl:doc>
1461
1462 </wadl:param>
1463 <wadl:param style="plain" required="true"
1464 path="$['pocket']" name="pocket">
1465 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1466Pocket
1467</wadl:doc>
1468
1469 <wadl:option value="Release"/>
1470 <wadl:option value="Security"/>
1471 <wadl:option value="Updates"/>
1472 <wadl:option value="Proposed"/>
1473 <wadl:option value="Backports"/>
1474 </wadl:param>
1475 <wadl:param style="plain" required="true"
1476 path="$['dependency_link']"
1477 name="dependency_link">
1478 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1479The archive set as a dependency.
1480</wadl:doc>
1481 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive"/>
1482 </wadl:param>
1483 <wadl:param style="plain" required="true"
1484 path="$['date_created']"
1485 type="xsd:dateTime" name="date_created">
1486 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1487Instant when the dependency was created.
1488</wadl:doc>
1489
1490 </wadl:param>
1491 <wadl:param style="plain" required="true"
1492 path="$['archive_link']"
1493 name="archive_link">
1494 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1495<p>Target archive</p>
1496<p>The archive affected by this dependecy.</p>
1497
1498</wadl:doc>
1499 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive"/>
1500 </wadl:param>
1501 <wadl:param style="plain" required="true"
1502 path="$['component_name']"
1503 name="component_name">
1504 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1505Component name
1506</wadl:doc>
1507
1508 </wadl:param>
1509 </wadl:representation>
1510
1511 <wadl:representation mediaType="application/json"
1512 id="archive_dependency-diff">
1513 </wadl:representation>
1514
1515 <!--Collection page for this type of entry-->
1516 <wadl:resource_type id="archive_dependency-page-resource">
1517 <wadl:method name="GET"
1518 id="archive_dependency-page-resource-get">
1519 <wadl:response>
1520 <wadl:representation
1521 href="#archive_dependency-page"/>
1522 </wadl:response>
1523 </wadl:method>
1524 </wadl:resource_type>
1525
1526 <wadl:representation mediaType="application/json"
1527 id="archive_dependency-page">
1528
1529 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
1530 <wadl:link/>
1531 </wadl:param>
1532
1533 <wadl:param style="plain" name="total_size" path="$['total_size']" required="true"/>
1534
1535 <wadl:param style="plain" name="start" path="$['start']" required="true"/>
1536
1537 <wadl:param style="plain" name="next_collection_link" path="$['next_collection_link']">
1538 <wadl:link resource_type="#archive_dependency-page-resource"/>
1539 </wadl:param>
1540
1541 <wadl:param style="plain" name="prev_collection_link" path="$['prev_collection_link']">
1542 <wadl:link resource_type="#archive_dependency-page-resource"/>
1543 </wadl:param>
1544
1545 <wadl:param style="plain" name="entries" path="$['entries']" required="true"/>
1546
1547 <wadl:param style="plain" name="entry_links" path="$['entries'][*]['self_link']">
1548 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive_dependency"/>
1549 </wadl:param>
1550 </wadl:representation>
1551
1552
1553
1554 <wadl:resource_type id="archive_permission">
1555 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1556The interface for ArchivePermission.
1557</wadl:doc>
1558 <wadl:method name="GET" id="archive_permission-get">
1559 <wadl:response>
1560 <wadl:representation
1561 href="http://api.launchpad.dev/beta/#archive_permission-full"/>
1562 <wadl:representation
1563 mediaType="application/xhtml+xml"
1564 id="archive_permission-xhtml"/>
1565 <wadl:representation
1566 mediaType="application/vnd.sun.wadl+xml"
1567 id="archive_permission-wadl"/>
1568 </wadl:response>
1569 </wadl:method>
1570
1571 <wadl:method name="PUT" id="archive_permission-put">
1572 <wadl:request>
1573 <wadl:representation
1574 href="http://api.launchpad.dev/beta/#archive_permission-full"/>
1575 </wadl:request>
1576 </wadl:method>
1577
1578 <wadl:method name="PATCH"
1579 id="archive_permission-patch">
1580 <wadl:request>
1581 <wadl:representation
1582 href="http://api.launchpad.dev/beta/#archive_permission-diff"/>
1583 </wadl:request>
1584 </wadl:method>
1585
1586
1587
1588 </wadl:resource_type>
1589
1590
1591 <wadl:representation mediaType="application/json"
1592 id="archive_permission-full">
1593 <wadl:param style="plain" name="self_link" path="$['self_link']">
1594 <wadl:doc>The canonical link to this resource.</wadl:doc>
1595 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive_permission"/>
1596 </wadl:param>
1597 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
1598 <wadl:doc>
1599 The link to the WADL description of this resource.
1600 </wadl:doc>
1601 <wadl:link/>
1602 </wadl:param>
1603 <wadl:param style="plain" name="http_etag" path="$['http_etag']">
1604 <wadl:doc>
1605 The value of the HTTP ETag for this resource.
1606 </wadl:doc>
1607 </wadl:param>
1608 <wadl:param style="plain" required="true"
1609 path="$['distro_series_name']"
1610 name="distro_series_name">
1611 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1612The name of the distro series associated with the package set.
1613</wadl:doc>
1614
1615 </wadl:param>
1616 <wadl:param style="plain" required="true"
1617 path="$['permission']" name="permission">
1618 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1619The permission type being granted.
1620</wadl:doc>
1621
1622 </wadl:param>
1623 <wadl:param style="plain" required="true"
1624 path="$['explicit']" name="explicit">
1625 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1626<p>Explicit</p>
1627<p>Set this flag for package sets with high-profile packages requiring specialist skills for proper handling.</p>
1628
1629</wadl:doc>
1630
1631 </wadl:param>
1632 <wadl:param style="plain" required="true"
1633 path="$['source_package_name']"
1634 name="source_package_name">
1635 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1636Source Package Name
1637</wadl:doc>
1638
1639 </wadl:param>
1640 <wadl:param style="plain" required="true"
1641 path="$['package_set_name']"
1642 name="package_set_name">
1643 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1644Package set name
1645</wadl:doc>
1646
1647 </wadl:param>
1648 <wadl:param style="plain" required="true"
1649 path="$['person_link']" name="person_link">
1650 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1651<p>Person</p>
1652<p>The person or team being granted the permission.</p>
1653
1654</wadl:doc>
1655 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
1656 </wadl:param>
1657 <wadl:param style="plain" required="true"
1658 path="$['date_created']"
1659 type="xsd:dateTime" name="date_created">
1660 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1661<p>Date Created</p>
1662<p>The timestamp when the permission was created.</p>
1663
1664</wadl:doc>
1665
1666 </wadl:param>
1667 <wadl:param style="plain" required="true"
1668 path="$['archive_link']"
1669 name="archive_link">
1670 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1671<p>Archive</p>
1672<p>The archive that this permission is for.</p>
1673
1674</wadl:doc>
1675 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive"/>
1676 </wadl:param>
1677 <wadl:param style="plain" required="true"
1678 path="$['component_name']"
1679 name="component_name">
1680 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1681Component Name
1682</wadl:doc>
1683
1684 </wadl:param>
1685 </wadl:representation>
1686
1687 <wadl:representation mediaType="application/json"
1688 id="archive_permission-diff">
1689 <wadl:param style="plain" required="false"
1690 path="$['distro_series_name']"
1691 name="distro_series_name">
1692 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1693The name of the distro series associated with the package set.
1694</wadl:doc>
1695
1696 </wadl:param>
1697 <wadl:param style="plain" required="false"
1698 path="$['permission']" name="permission">
1699 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1700The permission type being granted.
1701</wadl:doc>
1702
1703 </wadl:param>
1704 <wadl:param style="plain" required="false"
1705 path="$['explicit']" name="explicit">
1706 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1707<p>Explicit</p>
1708<p>Set this flag for package sets with high-profile packages requiring specialist skills for proper handling.</p>
1709
1710</wadl:doc>
1711
1712 </wadl:param>
1713 <wadl:param style="plain" required="false"
1714 path="$['source_package_name']"
1715 name="source_package_name">
1716 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1717Source Package Name
1718</wadl:doc>
1719
1720 </wadl:param>
1721 <wadl:param style="plain" required="false"
1722 path="$['package_set_name']"
1723 name="package_set_name">
1724 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1725Package set name
1726</wadl:doc>
1727
1728 </wadl:param>
1729 <wadl:param style="plain" required="false"
1730 path="$['person_link']" name="person_link">
1731 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1732<p>Person</p>
1733<p>The person or team being granted the permission.</p>
1734
1735</wadl:doc>
1736 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
1737 </wadl:param>
1738 <wadl:param style="plain" required="false"
1739 path="$['date_created']"
1740 type="xsd:dateTime" name="date_created">
1741 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1742<p>Date Created</p>
1743<p>The timestamp when the permission was created.</p>
1744
1745</wadl:doc>
1746
1747 </wadl:param>
1748 <wadl:param style="plain" required="false"
1749 path="$['archive_link']"
1750 name="archive_link">
1751 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1752<p>Archive</p>
1753<p>The archive that this permission is for.</p>
1754
1755</wadl:doc>
1756 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive"/>
1757 </wadl:param>
1758 <wadl:param style="plain" required="false"
1759 path="$['component_name']"
1760 name="component_name">
1761 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1762Component Name
1763</wadl:doc>
1764
1765 </wadl:param>
1766 </wadl:representation>
1767
1768 <!--Collection page for this type of entry-->
1769 <wadl:resource_type id="archive_permission-page-resource">
1770 <wadl:method name="GET"
1771 id="archive_permission-page-resource-get">
1772 <wadl:response>
1773 <wadl:representation
1774 href="#archive_permission-page"/>
1775 </wadl:response>
1776 </wadl:method>
1777 </wadl:resource_type>
1778
1779 <wadl:representation mediaType="application/json"
1780 id="archive_permission-page">
1781
1782 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
1783 <wadl:link/>
1784 </wadl:param>
1785
1786 <wadl:param style="plain" name="total_size" path="$['total_size']" required="true"/>
1787
1788 <wadl:param style="plain" name="start" path="$['start']" required="true"/>
1789
1790 <wadl:param style="plain" name="next_collection_link" path="$['next_collection_link']">
1791 <wadl:link resource_type="#archive_permission-page-resource"/>
1792 </wadl:param>
1793
1794 <wadl:param style="plain" name="prev_collection_link" path="$['prev_collection_link']">
1795 <wadl:link resource_type="#archive_permission-page-resource"/>
1796 </wadl:param>
1797
1798 <wadl:param style="plain" name="entries" path="$['entries']" required="true"/>
1799
1800 <wadl:param style="plain" name="entry_links" path="$['entries'][*]['self_link']">
1801 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive_permission"/>
1802 </wadl:param>
1803 </wadl:representation>
1804
1805
1806
1807 <wadl:resource_type id="archive_subscriber">
1808 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1809An interface for archive subscribers.
1810</wadl:doc>
1811 <wadl:method name="GET" id="archive_subscriber-get">
1812 <wadl:response>
1813 <wadl:representation
1814 href="http://api.launchpad.dev/beta/#archive_subscriber-full"/>
1815 <wadl:representation
1816 mediaType="application/xhtml+xml"
1817 id="archive_subscriber-xhtml"/>
1818 <wadl:representation
1819 mediaType="application/vnd.sun.wadl+xml"
1820 id="archive_subscriber-wadl"/>
1821 </wadl:response>
1822 </wadl:method>
1823
1824 <wadl:method name="PUT" id="archive_subscriber-put">
1825 <wadl:request>
1826 <wadl:representation
1827 href="http://api.launchpad.dev/beta/#archive_subscriber-full"/>
1828 </wadl:request>
1829 </wadl:method>
1830
1831 <wadl:method name="PATCH"
1832 id="archive_subscriber-patch">
1833 <wadl:request>
1834 <wadl:representation
1835 href="http://api.launchpad.dev/beta/#archive_subscriber-diff"/>
1836 </wadl:request>
1837 </wadl:method>
1838
1839
1840
1841 </wadl:resource_type>
1842
1843
1844 <wadl:representation mediaType="application/json"
1845 id="archive_subscriber-full">
1846 <wadl:param style="plain" name="self_link" path="$['self_link']">
1847 <wadl:doc>The canonical link to this resource.</wadl:doc>
1848 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive_subscriber"/>
1849 </wadl:param>
1850 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
1851 <wadl:doc>
1852 The link to the WADL description of this resource.
1853 </wadl:doc>
1854 <wadl:link/>
1855 </wadl:param>
1856 <wadl:param style="plain" name="http_etag" path="$['http_etag']">
1857 <wadl:doc>
1858 The value of the HTTP ETag for this resource.
1859 </wadl:doc>
1860 </wadl:param>
1861 <wadl:param style="plain" required="true"
1862 path="$['status']" name="status">
1863 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1864<p>Status</p>
1865<p>The status of this subscription.</p>
1866
1867</wadl:doc>
1868
1869 <wadl:option value="Active"/>
1870 <wadl:option value="Expired"/>
1871 <wadl:option value="Cancelled"/>
1872 </wadl:param>
1873 <wadl:param style="plain" required="true"
1874 path="$['description']" name="description">
1875 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1876<p>Description</p>
1877<p>Free text describing this subscription.</p>
1878
1879</wadl:doc>
1880
1881 </wadl:param>
1882 <wadl:param style="plain" required="true"
1883 path="$['registrant_link']"
1884 name="registrant_link">
1885 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1886<p>Registrant</p>
1887<p>The person who registered this subscription.</p>
1888
1889</wadl:doc>
1890 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
1891 </wadl:param>
1892 <wadl:param style="plain" required="true"
1893 path="$['subscriber_link']"
1894 name="subscriber_link">
1895 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1896<p>Subscriber</p>
1897<p>The person who is subscribed.</p>
1898
1899</wadl:doc>
1900 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
1901 </wadl:param>
1902 <wadl:param style="plain" required="true"
1903 path="$['date_expires']"
1904 type="xsd:dateTime" name="date_expires">
1905 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1906<p>Date of Expiration</p>
1907<p>The timestamp when the subscription will expire.</p>
1908
1909</wadl:doc>
1910
1911 </wadl:param>
1912 <wadl:param style="plain" required="true"
1913 path="$['date_created']"
1914 type="xsd:dateTime" name="date_created">
1915 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1916<p>Date Created</p>
1917<p>The timestamp when the subscription was created.</p>
1918
1919</wadl:doc>
1920
1921 </wadl:param>
1922 <wadl:param style="plain" required="true"
1923 path="$['archive_link']"
1924 name="archive_link">
1925 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1926<p>Archive</p>
1927<p>The archive for this subscription.</p>
1928
1929</wadl:doc>
1930 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive"/>
1931 </wadl:param>
1932 </wadl:representation>
1933
1934 <wadl:representation mediaType="application/json"
1935 id="archive_subscriber-diff">
1936 <wadl:param style="plain" required="false"
1937 path="$['status']" name="status">
1938 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1939<p>Status</p>
1940<p>The status of this subscription.</p>
1941
1942</wadl:doc>
1943
1944 <wadl:option value="Active"/>
1945 <wadl:option value="Expired"/>
1946 <wadl:option value="Cancelled"/>
1947 </wadl:param>
1948 <wadl:param style="plain" required="false"
1949 path="$['description']" name="description">
1950 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1951<p>Description</p>
1952<p>Free text describing this subscription.</p>
1953
1954</wadl:doc>
1955
1956 </wadl:param>
1957 <wadl:param style="plain" required="false"
1958 path="$['date_expires']"
1959 type="xsd:dateTime" name="date_expires">
1960 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
1961<p>Date of Expiration</p>
1962<p>The timestamp when the subscription will expire.</p>
1963
1964</wadl:doc>
1965
1966 </wadl:param>
1967 </wadl:representation>
1968
1969 <!--Collection page for this type of entry-->
1970 <wadl:resource_type id="archive_subscriber-page-resource">
1971 <wadl:method name="GET"
1972 id="archive_subscriber-page-resource-get">
1973 <wadl:response>
1974 <wadl:representation
1975 href="#archive_subscriber-page"/>
1976 </wadl:response>
1977 </wadl:method>
1978 </wadl:resource_type>
1979
1980 <wadl:representation mediaType="application/json"
1981 id="archive_subscriber-page">
1982
1983 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
1984 <wadl:link/>
1985 </wadl:param>
1986
1987 <wadl:param style="plain" name="total_size" path="$['total_size']" required="true"/>
1988
1989 <wadl:param style="plain" name="start" path="$['start']" required="true"/>
1990
1991 <wadl:param style="plain" name="next_collection_link" path="$['next_collection_link']">
1992 <wadl:link resource_type="#archive_subscriber-page-resource"/>
1993 </wadl:param>
1994
1995 <wadl:param style="plain" name="prev_collection_link" path="$['prev_collection_link']">
1996 <wadl:link resource_type="#archive_subscriber-page-resource"/>
1997 </wadl:param>
1998
1999 <wadl:param style="plain" name="entries" path="$['entries']" required="true"/>
2000
2001 <wadl:param style="plain" name="entry_links" path="$['entries'][*]['self_link']">
2002 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive_subscriber"/>
2003 </wadl:param>
2004 </wadl:representation>
2005
2006
2007
2008 <wadl:resource_type id="archive">
2009 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2010Main Archive interface.
2011</wadl:doc>
2012 <wadl:method name="GET" id="archive-get">
2013 <wadl:response>
2014 <wadl:representation
2015 href="http://api.launchpad.dev/beta/#archive-full"/>
2016 <wadl:representation
2017 mediaType="application/xhtml+xml" id="archive-xhtml"/>
2018 <wadl:representation
2019 mediaType="application/vnd.sun.wadl+xml"
2020 id="archive-wadl"/>
2021 </wadl:response>
2022 </wadl:method>
2023
2024 <wadl:method name="PUT" id="archive-put">
2025 <wadl:request>
2026 <wadl:representation
2027 href="http://api.launchpad.dev/beta/#archive-full"/>
2028 </wadl:request>
2029 </wadl:method>
2030
2031 <wadl:method name="PATCH" id="archive-patch">
2032 <wadl:request>
2033 <wadl:representation
2034 href="http://api.launchpad.dev/beta/#archive-diff"/>
2035 </wadl:request>
2036 </wadl:method>
2037
2038
2039
2040 <wadl:method id="archive-isSourceUploadAllowed"
2041 name="GET">
2042 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2043<p>True if the person is allowed to upload the given source package.</p>
2044<dl class="rst-docutils">
2045<dt>Return True if there exists a permission that combines</dt>
2046<dd><ul class="rst-first rst-last rst-simple">
2047<li>this archive</li>
2048<li>a package set that includes the given source package name</li>
2049<li>the given person or a team he is a member of</li>
2050</ul>
2051</dd>
2052</dl>
2053<p>If the source package name is included by <em>any</em> package set with
2054an explicit permission then only such explicit permissions will
2055be considered.</p>
2056<table class="rst-docutils field-list" frame="void" rules="none">
2057<col class="field-name" />
2058<col class="field-body" />
2059<tbody valign="top">
2060<tr class="rst-field"><th class="rst-field-name" colspan="2">param sourcepackagename:</th></tr>
2061<tr><td>&nbsp;</td><td class="rst-field-body">the source package name; can be
2062either a string or a ISourcePackageName.</td>
2063</tr>
2064<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson for whom you want to find out which
2065package sets he has access to.</td>
2066</tr>
2067<tr class="rst-field"><th class="rst-field-name" colspan="2">param distroseries:</th></tr>
2068<tr><td>&nbsp;</td><td class="rst-field-body">The IDistroSeries for which to check
2069permissions. If none is supplied then currentseries in
2070Ubuntu is assumed.</td>
2071</tr>
2072<tr class="rst-field"><th class="rst-field-name" colspan="2">raises NoSuchSourcePackageName:</th></tr>
2073<tr><td>&nbsp;</td><td class="rst-field-body">if a source package with the
2074given name could not be found.</td>
2075</tr>
2076<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">True if the person is allowed to upload the source package.</td>
2077</tr>
2078</tbody>
2079</table>
2080
2081</wadl:doc>
2082 <wadl:request>
2083
2084 <wadl:param style="query" name="ws.op"
2085 required="true"
2086 fixed="isSourceUploadAllowed"/>
2087 <wadl:param style="query" required="true"
2088 name="person">
2089
2090 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
2091 </wadl:param>
2092 <wadl:param style="query" required="false"
2093 name="distroseries">
2094 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2095The distro series
2096</wadl:doc>
2097 <wadl:link resource_type="http://api.launchpad.dev/beta/#distro_series"/>
2098 </wadl:param>
2099 <wadl:param style="query" required="true"
2100 name="sourcepackagename">
2101 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2102Source package name
2103</wadl:doc>
2104
2105 </wadl:param>
2106
2107 </wadl:request>
2108
2109 </wadl:method>
2110 <wadl:method id="archive-getBuildCounters" name="GET">
2111 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2112<p>Return a dictionary containing the build counters for an archive.</p>
2113<p>This is necessary currently because the IArchive.failed_builds etc.
2114counters are not in use.</p>
2115<p>The returned dictionary contains the follwoing keys and values:</p>
2116<blockquote>
2117<ul class="rst-simple">
2118<li>'total': total number of builds (includes SUPERSEDED);</li>
2119<li>'pending': number of builds in BUILDING or NEEDSBUILD state;</li>
2120<li>'failed': number of builds in FAILEDTOBUILD, MANUALDEPWAIT,
2121CHROOTWAIT and FAILEDTOUPLOAD state;</li>
2122<li>'succeeded': number of SUCCESSFULLYBUILT builds.</li>
2123<li>'superseded': number of SUPERSEDED builds.</li>
2124</ul>
2125</blockquote>
2126<table class="rst-docutils field-list" frame="void" rules="none">
2127<col class="field-name" />
2128<col class="field-body" />
2129<tbody valign="top">
2130<tr class="rst-field"><th class="rst-field-name" colspan="2">param include_needsbuild:</th></tr>
2131<tr><td>&nbsp;</td><td class="rst-field-body">Indicates whether to include builds with
2132the status NEEDSBUILD in the pending and total counts. This is
2133useful in situations where a build that hasn't started isn't
2134considered a build by the user.</td>
2135</tr>
2136<tr class="rst-field"><th class="rst-field-name" colspan="2">type include_needsbuild:</th></tr>
2137<tr><td>&nbsp;</td><td class="rst-field-body"><tt class="rst-docutils literal"><span class="pre">bool</span></tt></td>
2138</tr>
2139<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">a dictionary with the 4 keys specified above.</td>
2140</tr>
2141<tr class="rst-field"><th class="rst-field-name">rtype:</th><td class="rst-field-body"><tt class="rst-docutils literal"><span class="pre">dict</span></tt>.</td>
2142</tr>
2143</tbody>
2144</table>
2145
2146</wadl:doc>
2147 <wadl:request>
2148
2149 <wadl:param style="query" name="ws.op"
2150 required="true"
2151 fixed="getBuildCounters"/>
2152 <wadl:param style="query" required="false"
2153 name="include_needsbuild">
2154 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2155Include builds with state NEEDSBUILD
2156</wadl:doc>
2157
2158 </wadl:param>
2159
2160 </wadl:request>
2161
2162 </wadl:method>
2163 <wadl:method id="archive-getComponentsForQueueAdmin"
2164 name="GET">
2165 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2166<p>Return IArchivePermission for the person's queue admin components</p>
2167<table class="rst-docutils field-list" frame="void" rules="none">
2168<col class="field-name" />
2169<col class="field-body" />
2170<tbody valign="top">
2171<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson</td>
2172</tr>
2173<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">A list of IArchivePermission records.</td>
2174</tr>
2175</tbody>
2176</table>
2177
2178</wadl:doc>
2179 <wadl:request>
2180
2181 <wadl:param style="query" name="ws.op"
2182 required="true"
2183 fixed="getComponentsForQueueAdmin"/>
2184 <wadl:param style="query" required="true"
2185 name="person">
2186
2187 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
2188 </wadl:param>
2189
2190 </wadl:request>
2191 <wadl:response>
2192
2193 <wadl:representation
2194 href="http://api.launchpad.dev/beta/#archive_permission-page"/>
2195 </wadl:response>
2196 </wadl:method>
2197 <wadl:method id="archive-getArchiveDependency"
2198 name="GET">
2199 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2200<p>Return the IArchiveDependency object for the given dependency.</p>
2201<table class="rst-docutils field-list" frame="void" rules="none">
2202<col class="field-name" />
2203<col class="field-body" />
2204<tbody valign="top">
2205<tr class="rst-field"><th class="rst-field-name" colspan="2">param dependency:</th></tr>
2206<tr><td>&nbsp;</td><td class="rst-field-body">is an IArchive object.</td>
2207</tr>
2208<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">IArchiveDependency or None if a corresponding object
2209could not be found.</td>
2210</tr>
2211</tbody>
2212</table>
2213
2214</wadl:doc>
2215 <wadl:request>
2216
2217 <wadl:param style="query" name="ws.op"
2218 required="true"
2219 fixed="getArchiveDependency"/>
2220 <wadl:param style="query" required="true"
2221 name="dependency">
2222
2223 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive"/>
2224 </wadl:param>
2225
2226 </wadl:request>
2227 <wadl:response>
2228
2229 <wadl:representation
2230 href="http://api.launchpad.dev/beta/#archive_dependency-full"/>
2231 </wadl:response>
2232 </wadl:method>
2233 <wadl:method id="archive-getPublishedSources"
2234 name="GET">
2235 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2236<p>All ISourcePackagePublishingHistory target to this archive.</p>
2237<table class="rst-docutils field-list" frame="void" rules="none">
2238<col class="field-name" />
2239<col class="field-body" />
2240<tbody valign="top">
2241<tr class="rst-field"><th class="rst-field-name">param name:</th><td class="rst-field-body">source name filter (exact match or SQL LIKE controlled
2242by 'exact_match' argument).</td>
2243</tr>
2244<tr class="rst-field"><th class="rst-field-name">param version:</th><td class="rst-field-body">source version filter (always exact match).</td>
2245</tr>
2246<tr class="rst-field"><th class="rst-field-name">param status:</th><td class="rst-field-body">PackagePublishingStatus filter, can be a sequence.</td>
2247</tr>
2248<tr class="rst-field"><th class="rst-field-name" colspan="2">param distroseries:</th></tr>
2249<tr><td>&nbsp;</td><td class="rst-field-body">IDistroSeries filter.</td>
2250</tr>
2251<tr class="rst-field"><th class="rst-field-name">param pocket:</th><td class="rst-field-body">PackagePublishingPocket filter.</td>
2252</tr>
2253<tr class="rst-field"><th class="rst-field-name" colspan="2">param exact_match:</th></tr>
2254<tr><td>&nbsp;</td><td class="rst-field-body">either or not filter source names by exact
2255matching.</td>
2256</tr>
2257<tr class="rst-field"><th class="rst-field-name" colspan="2">param created_since_date:</th></tr>
2258<tr><td>&nbsp;</td><td class="rst-field-body">Only return results whose date_created
2259is greater than or equal to this date.</td>
2260</tr>
2261<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">SelectResults containing ISourcePackagePublishingHistory.</td>
2262</tr>
2263</tbody>
2264</table>
2265
2266</wadl:doc>
2267 <wadl:request>
2268
2269 <wadl:param style="query" name="ws.op"
2270 required="true"
2271 fixed="getPublishedSources"/>
2272 <wadl:param style="query" required="false"
2273 name="status">
2274 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2275<p>Package Publishing Status</p>
2276<p>The status of this publishing record</p>
2277
2278</wadl:doc>
2279
2280 <wadl:option value="Pending"/>
2281 <wadl:option value="Published"/>
2282 <wadl:option value="Superseded"/>
2283 <wadl:option value="Deleted"/>
2284 <wadl:option value="Obsolete"/>
2285 </wadl:param>
2286 <wadl:param style="query" required="false"
2287 name="source_name">
2288 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2289Source package name
2290</wadl:doc>
2291
2292 </wadl:param>
2293 <wadl:param style="query" required="false"
2294 name="distro_series">
2295 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2296Distroseries name
2297</wadl:doc>
2298 <wadl:link resource_type="http://api.launchpad.dev/beta/#distro_series"/>
2299 </wadl:param>
2300 <wadl:param style="query" required="false"
2301 name="exact_match">
2302 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2303<p>Exact Match</p>
2304<p>Whether or not to filter source names by exact matching.</p>
2305
2306</wadl:doc>
2307
2308 </wadl:param>
2309 <wadl:param style="query" required="false"
2310 name="pocket">
2311 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2312<p>Pocket</p>
2313<p>The pocket into which this entry is published</p>
2314
2315</wadl:doc>
2316
2317 <wadl:option value="Release"/>
2318 <wadl:option value="Security"/>
2319 <wadl:option value="Updates"/>
2320 <wadl:option value="Proposed"/>
2321 <wadl:option value="Backports"/>
2322 </wadl:param>
2323 <wadl:param style="query" required="false"
2324 name="version">
2325 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2326Version
2327</wadl:doc>
2328
2329 </wadl:param>
2330 <wadl:param style="query" required="false"
2331 type="xsd:dateTime"
2332 name="created_since_date">
2333 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2334<p>Created Since Date</p>
2335<p>Return entries whose date_created is greater than or equal to this date.</p>
2336
2337</wadl:doc>
2338
2339 </wadl:param>
2340
2341 </wadl:request>
2342 <wadl:response>
2343
2344 <wadl:representation
2345 href="http://api.launchpad.dev/beta/#source_package_publishing_history-page"/>
2346 </wadl:response>
2347 </wadl:method>
2348 <wadl:method id="archive-getUploadersForPackageset"
2349 name="GET">
2350 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2351<p>The ArchivePermission records for uploaders to the package set.</p>
2352<table class="rst-docutils field-list" frame="void" rules="none">
2353<col class="field-name" />
2354<col class="field-body" />
2355<tbody valign="top">
2356<tr class="rst-field"><th class="rst-field-name" colspan="2">param packageset:</th></tr>
2357<tr><td>&nbsp;</td><td class="rst-field-body">An IPackageset.</td>
2358</tr>
2359<tr class="rst-field"><th class="rst-field-name" colspan="2">param direct_permissions:</th></tr>
2360<tr><td>&nbsp;</td><td class="rst-field-body">If True, only consider permissions granted
2361directly for the package set at hand. Otherwise, include any
2362uploaders for package sets that include this one.</td>
2363</tr>
2364<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">ArchivePermission records for all the uploaders who are
2365authorized to upload to the named source package set.</td>
2366</tr>
2367</tbody>
2368</table>
2369
2370</wadl:doc>
2371 <wadl:request>
2372
2373 <wadl:param style="query" name="ws.op"
2374 required="true"
2375 fixed="getUploadersForPackageset"/>
2376 <wadl:param style="query" required="true"
2377 name="packageset">
2378 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2379Package set
2380</wadl:doc>
2381 <wadl:link resource_type="http://api.launchpad.dev/beta/#packageset"/>
2382 </wadl:param>
2383 <wadl:param style="query" required="false"
2384 name="direct_permissions">
2385 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2386Ignore package set hierarchy
2387</wadl:doc>
2388
2389 </wadl:param>
2390
2391 </wadl:request>
2392 <wadl:response>
2393
2394 <wadl:representation
2395 href="http://api.launchpad.dev/beta/#archive_permission-page"/>
2396 </wadl:response>
2397 </wadl:method>
2398 <wadl:method id="archive-getPackagesetsForSource"
2399 name="GET">
2400 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2401<p>All package set based permissions for the given source.</p>
2402<p>This method is meant to aid the process of &quot;debugging&quot; package set
2403based archive permission since It allows the listing of permissions
2404for the given source package in this archive (irrespective of the
2405principal).</p>
2406<table class="rst-docutils field-list" frame="void" rules="none">
2407<col class="field-name" />
2408<col class="field-body" />
2409<tbody valign="top">
2410<tr class="rst-field"><th class="rst-field-name" colspan="2">param sourcepackagename:</th></tr>
2411<tr><td>&nbsp;</td><td class="rst-field-body">the source package name; can be
2412either a string or a ISourcePackageName.</td>
2413</tr>
2414<tr class="rst-field"><th class="rst-field-name" colspan="2">param direct_permissions:</th></tr>
2415<tr><td>&nbsp;</td><td class="rst-field-body">If set only package sets that directly
2416include the given source will be considered.</td>
2417</tr>
2418<tr class="rst-field"><th class="rst-field-name" colspan="2">raises NoSuchSourcePackageName:</th></tr>
2419<tr><td>&nbsp;</td><td class="rst-field-body">if a source package with the
2420given name could not be found.</td>
2421</tr>
2422<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">ArchivePermission records for the package sets that
2423include the given source package name and apply to the
2424archive in question.</td>
2425</tr>
2426</tbody>
2427</table>
2428
2429</wadl:doc>
2430 <wadl:request>
2431
2432 <wadl:param style="query" name="ws.op"
2433 required="true"
2434 fixed="getPackagesetsForSource"/>
2435 <wadl:param style="query" required="true"
2436 name="sourcepackagename">
2437 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2438Source package name
2439</wadl:doc>
2440
2441 </wadl:param>
2442 <wadl:param style="query" required="false"
2443 name="direct_permissions">
2444 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2445Ignore package set hierarchy
2446</wadl:doc>
2447
2448 </wadl:param>
2449
2450 </wadl:request>
2451 <wadl:response>
2452
2453 <wadl:representation
2454 href="http://api.launchpad.dev/beta/#archive_permission-page"/>
2455 </wadl:response>
2456 </wadl:method>
2457 <wadl:method id="archive-getBuildRecords" name="GET">
2458 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2459<p>Return build records in the context it is implemented.</p>
2460<p>It excludes build records generated by Gina (imported from a external
2461repository), where IBuild.datebuilt is null and IBuild.buildstate
2462is BuildStatus.FULLYBUILT.</p>
2463<p>The result is simply not filtered if the optional filters are omitted
2464by call sites.</p>
2465<table class="rst-docutils field-list" frame="void" rules="none">
2466<col class="field-name" />
2467<col class="field-body" />
2468<tbody valign="top">
2469<tr class="rst-field"><th class="rst-field-name" colspan="2">param build_state:</th></tr>
2470<tr><td>&nbsp;</td><td class="rst-field-body">optional BuildStatus value for filtering build
2471records;</td>
2472</tr>
2473<tr class="rst-field"><th class="rst-field-name">param name:</th><td class="rst-field-body">optional string for filtering build source package name.
2474Sub-string matching is allowed via SQL LIKE.</td>
2475</tr>
2476<tr class="rst-field"><th class="rst-field-name">param pocket:</th><td class="rst-field-body">optional PackagePublishingPocket value for filtering
2477build records;</td>
2478</tr>
2479<tr class="rst-field"><th class="rst-field-name">param arch_tag:</th><td class="rst-field-body">optional string for filtering build source packages
2480by their architecture tag;</td>
2481</tr>
2482<tr class="rst-field"><th class="rst-field-name">param user:</th><td class="rst-field-body">optional IPerson corresponding to the user performing
2483the request. It will filter out build records for which the user
2484have no 'view' permission.</td>
2485</tr>
2486<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">a result set containing IBuild records ordered by descending
2487IBuild.datebuilt except when builds are filtered by
2488BuildStatus.NEEDSBUILD, in this case records are ordered by
2489descending BuildQueue.lastscore (dispatching order).</td>
2490</tr>
2491</tbody>
2492</table>
2493
2494</wadl:doc>
2495 <wadl:request>
2496
2497 <wadl:param style="query" name="ws.op"
2498 required="true"
2499 fixed="getBuildRecords"/>
2500 <wadl:param style="query" required="false"
2501 name="pocket">
2502 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2503<p>Pocket</p>
2504<p>The pocket into which this entry is published</p>
2505
2506</wadl:doc>
2507
2508 <wadl:option value="Release"/>
2509 <wadl:option value="Security"/>
2510 <wadl:option value="Updates"/>
2511 <wadl:option value="Proposed"/>
2512 <wadl:option value="Backports"/>
2513 </wadl:param>
2514 <wadl:param style="query" required="false"
2515 name="build_state">
2516 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2517<p>Build status</p>
2518<p>The status of this build record</p>
2519
2520</wadl:doc>
2521
2522 <wadl:option value="Needs building"/>
2523 <wadl:option value="Successfully built"/>
2524 <wadl:option value="Failed to build"/>
2525 <wadl:option value="Dependency wait"/>
2526 <wadl:option value="Chroot problem"/>
2527 <wadl:option value="Build for superseded Source"/>
2528 <wadl:option value="Currently building"/>
2529 <wadl:option value="Failed to upload"/>
2530 </wadl:param>
2531 <wadl:param style="query" required="false"
2532 name="source_name">
2533 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2534Source package name
2535</wadl:doc>
2536
2537 </wadl:param>
2538
2539 </wadl:request>
2540 <wadl:response>
2541
2542 <wadl:representation
2543 href="http://api.launchpad.dev/beta/#build-page"/>
2544 </wadl:response>
2545 </wadl:method>
2546 <wadl:method id="archive-getPublishedBinaries"
2547 name="GET">
2548 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2549<p>All IBinaryPackagePublishingHistory target to this archive.</p>
2550<table class="rst-docutils field-list" frame="void" rules="none">
2551<col class="field-name" />
2552<col class="field-body" />
2553<tbody valign="top">
2554<tr class="rst-field"><th class="rst-field-name">param:</th><td class="rst-field-body">name: binary name filter (exact match or SQL LIKE controlled
2555by 'exact_match' argument).</td>
2556</tr>
2557<tr class="rst-field"><th class="rst-field-name">param:</th><td class="rst-field-body">version: binary version filter (always exact match).</td>
2558</tr>
2559<tr class="rst-field"><th class="rst-field-name">param:</th><td class="rst-field-body">status: PackagePublishingStatus filter, can be a list.</td>
2560</tr>
2561<tr class="rst-field"><th class="rst-field-name">param:</th><td class="rst-field-body">distroarchseries: IDistroArchSeries filter, can be a list.</td>
2562</tr>
2563<tr class="rst-field"><th class="rst-field-name">param:</th><td class="rst-field-body">pocket: PackagePublishingPocket filter.</td>
2564</tr>
2565<tr class="rst-field"><th class="rst-field-name">param:</th><td class="rst-field-body">exact_match: either or not filter source names by exact
2566matching.</td>
2567</tr>
2568<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">A collection containing BinaryPackagePublishingHistory.</td>
2569</tr>
2570</tbody>
2571</table>
2572
2573</wadl:doc>
2574 <wadl:request>
2575
2576 <wadl:param style="query" name="ws.op"
2577 required="true"
2578 fixed="getPublishedBinaries"/>
2579 <wadl:param style="query" required="false"
2580 name="status">
2581 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2582<p>Package Publishing Status</p>
2583<p>The status of this publishing record</p>
2584
2585</wadl:doc>
2586
2587 <wadl:option value="Pending"/>
2588 <wadl:option value="Published"/>
2589 <wadl:option value="Superseded"/>
2590 <wadl:option value="Deleted"/>
2591 <wadl:option value="Obsolete"/>
2592 </wadl:param>
2593 <wadl:param style="query" required="false"
2594 name="binary_name">
2595 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2596Binary Package Name
2597</wadl:doc>
2598
2599 </wadl:param>
2600 <wadl:param style="query" required="false"
2601 name="exact_match">
2602 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2603Whether or not to filter binary names by exact matching.
2604</wadl:doc>
2605
2606 </wadl:param>
2607 <wadl:param style="query" required="false"
2608 name="pocket">
2609 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2610<p>Pocket</p>
2611<p>The pocket into which this entry is published</p>
2612
2613</wadl:doc>
2614
2615 <wadl:option value="Release"/>
2616 <wadl:option value="Security"/>
2617 <wadl:option value="Updates"/>
2618 <wadl:option value="Proposed"/>
2619 <wadl:option value="Backports"/>
2620 </wadl:param>
2621 <wadl:param style="query" required="false"
2622 name="version">
2623 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2624Version
2625</wadl:doc>
2626
2627 </wadl:param>
2628 <wadl:param style="query" required="false"
2629 name="distro_arch_series">
2630 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2631Distro Arch Series
2632</wadl:doc>
2633 <wadl:link resource_type="http://api.launchpad.dev/beta/#distro_arch_series"/>
2634 </wadl:param>
2635
2636 </wadl:request>
2637 <wadl:response>
2638
2639 <wadl:representation
2640 href="http://api.launchpad.dev/beta/#binary_package_publishing_history-page"/>
2641 </wadl:response>
2642 </wadl:method>
2643 <wadl:method id="archive-getUploadersForComponent"
2644 name="GET">
2645 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2646<p>Return IArchivePermission records for the component's uploaders.</p>
2647<table class="rst-docutils field-list" frame="void" rules="none">
2648<col class="field-name" />
2649<col class="field-body" />
2650<tbody valign="top">
2651<tr class="rst-field"><th class="rst-field-name" colspan="2">param component_name:</th></tr>
2652<tr><td>&nbsp;</td><td class="rst-field-body">An IComponent or textual name for the
2653component.</td>
2654</tr>
2655<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">A list of IArchivePermission records.</td>
2656</tr>
2657</tbody>
2658</table>
2659
2660</wadl:doc>
2661 <wadl:request>
2662
2663 <wadl:param style="query" name="ws.op"
2664 required="true"
2665 fixed="getUploadersForComponent"/>
2666 <wadl:param style="query" required="false"
2667 name="component_name">
2668 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2669Component Name
2670</wadl:doc>
2671
2672 </wadl:param>
2673
2674 </wadl:request>
2675 <wadl:response>
2676
2677 <wadl:representation
2678 href="http://api.launchpad.dev/beta/#archive_permission-page"/>
2679 </wadl:response>
2680 </wadl:method>
2681 <wadl:method id="archive-getUploadersForPackage"
2682 name="GET">
2683 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2684<p>Return IArchivePermission records for the package's uploaders.</p>
2685<table class="rst-docutils field-list" frame="void" rules="none">
2686<col class="field-name" />
2687<col class="field-body" />
2688<tbody valign="top">
2689<tr class="rst-field"><th class="rst-field-name" colspan="2">param source_package_name:</th></tr>
2690<tr><td>&nbsp;</td><td class="rst-field-body">An ISourcePackageName or textual name
2691for the source package.</td>
2692</tr>
2693<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">A list of IArchivePermission records.</td>
2694</tr>
2695</tbody>
2696</table>
2697
2698</wadl:doc>
2699 <wadl:request>
2700
2701 <wadl:param style="query" name="ws.op"
2702 required="true"
2703 fixed="getUploadersForPackage"/>
2704 <wadl:param style="query" required="true"
2705 name="source_package_name">
2706 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2707Source Package Name
2708</wadl:doc>
2709
2710 </wadl:param>
2711
2712 </wadl:request>
2713 <wadl:response>
2714
2715 <wadl:representation
2716 href="http://api.launchpad.dev/beta/#archive_permission-page"/>
2717 </wadl:response>
2718 </wadl:method>
2719 <wadl:method id="archive-getBuildSummariesForSourceIds"
2720 name="GET">
2721 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2722<p>Return a dictionary containing a summary of the build statuses.</p>
2723<p>Only information for sources belonging to the current archive will
2724be returned. See
2725IPublishingSet.getBuildStatusSummariesForSourceIdsAndArchive() for
2726details.</p>
2727<table class="rst-docutils field-list" frame="void" rules="none">
2728<col class="field-name" />
2729<col class="field-body" />
2730<tbody valign="top">
2731<tr class="rst-field"><th class="rst-field-name" colspan="2">param source_ids:</th></tr>
2732<tr><td>&nbsp;</td><td class="rst-field-body">A list of source publishing history record ids.</td>
2733</tr>
2734<tr class="rst-field"><th class="rst-field-name" colspan="2">type source_ids:</th></tr>
2735<tr><td>&nbsp;</td><td class="rst-field-body"><tt class="rst-docutils literal"><span class="pre">list</span></tt></td>
2736</tr>
2737<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">A dict consisting of the overall status summaries for the
2738given ids that belong in the archive.</td>
2739</tr>
2740</tbody>
2741</table>
2742
2743</wadl:doc>
2744 <wadl:request>
2745
2746 <wadl:param style="query" name="ws.op"
2747 required="true"
2748 fixed="getBuildSummariesForSourceIds"/>
2749 <wadl:param style="query" required="true"
2750 name="source_ids">
2751 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2752A list of source publishing history record ids.
2753</wadl:doc>
2754
2755 </wadl:param>
2756
2757 </wadl:request>
2758
2759 </wadl:method>
2760 <wadl:method id="archive-getQueueAdminsForComponent"
2761 name="GET">
2762 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2763<p>Return IArchivePermission records for authorised queue admins.</p>
2764<table class="rst-docutils field-list" frame="void" rules="none">
2765<col class="field-name" />
2766<col class="field-body" />
2767<tbody valign="top">
2768<tr class="rst-field"><th class="rst-field-name" colspan="2">param component_name:</th></tr>
2769<tr><td>&nbsp;</td><td class="rst-field-body">An IComponent or textual name for the
2770component.</td>
2771</tr>
2772<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">A list of IArchivePermission records.</td>
2773</tr>
2774</tbody>
2775</table>
2776
2777</wadl:doc>
2778 <wadl:request>
2779
2780 <wadl:param style="query" name="ws.op"
2781 required="true"
2782 fixed="getQueueAdminsForComponent"/>
2783 <wadl:param style="query" required="true"
2784 name="component_name">
2785 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2786Component Name
2787</wadl:doc>
2788
2789 </wadl:param>
2790
2791 </wadl:request>
2792 <wadl:response>
2793
2794 <wadl:representation
2795 href="http://api.launchpad.dev/beta/#archive_permission-page"/>
2796 </wadl:response>
2797 </wadl:method>
2798 <wadl:method id="archive-getPermissionsForPerson"
2799 name="GET">
2800 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2801<p>Return the IArchivePermission records applicable to the person.</p>
2802<table class="rst-docutils field-list" frame="void" rules="none">
2803<col class="field-name" />
2804<col class="field-body" />
2805<tbody valign="top">
2806<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson</td>
2807</tr>
2808<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">A list of IArchivePermission records.</td>
2809</tr>
2810</tbody>
2811</table>
2812
2813</wadl:doc>
2814 <wadl:request>
2815
2816 <wadl:param style="query" name="ws.op"
2817 required="true"
2818 fixed="getPermissionsForPerson"/>
2819 <wadl:param style="query" required="true"
2820 name="person">
2821
2822 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
2823 </wadl:param>
2824
2825 </wadl:request>
2826 <wadl:response>
2827
2828 <wadl:representation
2829 href="http://api.launchpad.dev/beta/#archive_permission-page"/>
2830 </wadl:response>
2831 </wadl:method>
2832 <wadl:method id="archive-getPackagesetsForSourceUploader"
2833 name="GET">
2834 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2835<p>The package set based permissions for a given source and uploader.</p>
2836<dl class="rst-docutils">
2837<dt>Return the IArchivePermission records that</dt>
2838<dd><ul class="rst-first rst-last">
2839<li><p class="rst-first">apply to this archive</p>
2840</li>
2841<li><dl class="rst-first rst-docutils">
2842<dt>relate to</dt>
2843<dd><ul class="rst-first rst-last rst-simple">
2844<li>package sets that include the given source package name</li>
2845<li>the given person</li>
2846</ul>
2847</dd>
2848</dl>
2849</li>
2850</ul>
2851</dd>
2852</dl>
2853<table class="rst-docutils field-list" frame="void" rules="none">
2854<col class="field-name" />
2855<col class="field-body" />
2856<tbody valign="top">
2857<tr class="rst-field"><th class="rst-field-name" colspan="2">param sourcepackagename:</th></tr>
2858<tr><td>&nbsp;</td><td class="rst-field-body">the source package name; can be
2859either a string or a ISourcePackageName.</td>
2860</tr>
2861<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson for whom you want to find out which
2862package sets he has access to.</td>
2863</tr>
2864<tr class="rst-field"><th class="rst-field-name" colspan="2">raises NoSuchSourcePackageName:</th></tr>
2865<tr><td>&nbsp;</td><td class="rst-field-body">if a source package with the
2866given name could not be found.</td>
2867</tr>
2868<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">ArchivePermission records for the package sets that
2869include the given source package name and to which the given
2870person may upload.</td>
2871</tr>
2872</tbody>
2873</table>
2874
2875</wadl:doc>
2876 <wadl:request>
2877
2878 <wadl:param style="query" name="ws.op"
2879 required="true"
2880 fixed="getPackagesetsForSourceUploader"/>
2881 <wadl:param style="query" required="true"
2882 name="person">
2883
2884 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
2885 </wadl:param>
2886 <wadl:param style="query" required="true"
2887 name="sourcepackagename">
2888 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2889Source package name
2890</wadl:doc>
2891
2892 </wadl:param>
2893
2894 </wadl:request>
2895 <wadl:response>
2896
2897 <wadl:representation
2898 href="http://api.launchpad.dev/beta/#archive_permission-page"/>
2899 </wadl:response>
2900 </wadl:method>
2901 <wadl:method id="archive-getPackagesetsForUploader"
2902 name="GET">
2903 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2904<p>The ArchivePermission records for the person's package sets.</p>
2905<table class="rst-docutils field-list" frame="void" rules="none">
2906<col class="field-name" />
2907<col class="field-body" />
2908<tbody valign="top">
2909<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson for whom you want to find out which
2910package sets he has access to.</td>
2911</tr>
2912<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">ArchivePermission records for all the package sets that
2913'person' is allowed to upload to.</td>
2914</tr>
2915</tbody>
2916</table>
2917
2918</wadl:doc>
2919 <wadl:request>
2920
2921 <wadl:param style="query" name="ws.op"
2922 required="true"
2923 fixed="getPackagesetsForUploader"/>
2924 <wadl:param style="query" required="true"
2925 name="person">
2926
2927 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
2928 </wadl:param>
2929
2930 </wadl:request>
2931 <wadl:response>
2932
2933 <wadl:representation
2934 href="http://api.launchpad.dev/beta/#archive_permission-page"/>
2935 </wadl:response>
2936 </wadl:method>
2937 <wadl:method id="archive-syncSource" name="POST">
2938 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2939<p>Synchronise (copy) a single named source into this archive.</p>
2940<p>Copy a specific version of a named source to the destination
2941archive if necessary.</p>
2942<table class="rst-docutils field-list" frame="void" rules="none">
2943<col class="field-name" />
2944<col class="field-body" />
2945<tbody valign="top">
2946<tr class="rst-field"><th class="rst-field-name" colspan="2">param source_name:</th></tr>
2947<tr><td>&nbsp;</td><td class="rst-field-body">a string name of the package to copy.</td>
2948</tr>
2949<tr class="rst-field"><th class="rst-field-name">param version:</th><td class="rst-field-body">the version of the package to copy.</td>
2950</tr>
2951<tr class="rst-field"><th class="rst-field-name" colspan="2">param from_archive:</th></tr>
2952<tr><td>&nbsp;</td><td class="rst-field-body">the source archive from which to copy.</td>
2953</tr>
2954<tr class="rst-field"><th class="rst-field-name" colspan="2">param to_pocket:</th></tr>
2955<tr><td>&nbsp;</td><td class="rst-field-body">the target pocket (as a string).</td>
2956</tr>
2957<tr class="rst-field"><th class="rst-field-name" colspan="2">param to_series:</th></tr>
2958<tr><td>&nbsp;</td><td class="rst-field-body">the target distroseries (as a string).</td>
2959</tr>
2960<tr class="rst-field"><th class="rst-field-name" colspan="2">param include_binaries:</th></tr>
2961<tr><td>&nbsp;</td><td class="rst-field-body">optional boolean, controls whether or not
2962the published binaries for each given source should also be
2963copied along with the source.</td>
2964</tr>
2965<tr class="rst-field"><th class="rst-field-name" colspan="2">raises NoSuchSourcePackageName:</th></tr>
2966<tr><td>&nbsp;</td><td class="rst-field-body">if the source name is invalid</td>
2967</tr>
2968<tr class="rst-field"><th class="rst-field-name" colspan="2">raises PocketNotFound:</th></tr>
2969<tr><td>&nbsp;</td><td class="rst-field-body">if the pocket name is invalid</td>
2970</tr>
2971<tr class="rst-field"><th class="rst-field-name" colspan="2">raises DistroSeriesNotFound:</th></tr>
2972<tr><td>&nbsp;</td><td class="rst-field-body">if the distro series name is invalid</td>
2973</tr>
2974<tr class="rst-field"><th class="rst-field-name" colspan="2">raises CannotCopy:</th></tr>
2975<tr><td>&nbsp;</td><td class="rst-field-body">if there is a problem copying.</td>
2976</tr>
2977</tbody>
2978</table>
2979
2980</wadl:doc>
2981 <wadl:request>
2982 <wadl:representation
2983 mediaType="application/x-www-form-urlencoded">
2984 <wadl:param style="query" name="ws.op"
2985 required="true" fixed="syncSource"/>
2986 <wadl:param style="query" required="false"
2987 name="to_series">
2988 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2989Distroseries name
2990</wadl:doc>
2991
2992 </wadl:param>
2993 <wadl:param style="query" required="true"
2994 name="source_name">
2995 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
2996Source package name
2997</wadl:doc>
2998
2999 </wadl:param>
3000 <wadl:param style="query" required="true"
3001 name="version">
3002 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3003Version
3004</wadl:doc>
3005
3006 </wadl:param>
3007 <wadl:param style="query" required="true"
3008 name="from_archive">
3009
3010 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive"/>
3011 </wadl:param>
3012 <wadl:param style="query" required="true"
3013 name="to_pocket">
3014 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3015Pocket name
3016</wadl:doc>
3017
3018 </wadl:param>
3019 <wadl:param style="query" required="false"
3020 name="include_binaries">
3021 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3022<p>Include Binaries</p>
3023<p>Whether or not to copy binaries already built for this source</p>
3024
3025</wadl:doc>
3026
3027 </wadl:param>
3028 </wadl:representation>
3029 </wadl:request>
3030
3031 </wadl:method>
3032 <wadl:method id="archive-deleteQueueAdmin" name="POST">
3033 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3034<p>Revoke permission for the person to administer distroseries queues.</p>
3035<p>The supplied person will lose permission to administer the
3036distroseries queue for packages in the supplied component.</p>
3037<table class="rst-docutils field-list" frame="void" rules="none">
3038<col class="field-name" />
3039<col class="field-body" />
3040<tbody valign="top">
3041<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson whose permission should be revoked.</td>
3042</tr>
3043<tr class="rst-field"><th class="rst-field-name" colspan="2">param component:</th></tr>
3044<tr><td>&nbsp;</td><td class="rst-field-body">An IComponent or textual component name.</td>
3045</tr>
3046</tbody>
3047</table>
3048
3049</wadl:doc>
3050 <wadl:request>
3051 <wadl:representation
3052 mediaType="application/x-www-form-urlencoded">
3053 <wadl:param style="query" name="ws.op"
3054 required="true"
3055 fixed="deleteQueueAdmin"/>
3056 <wadl:param style="query" required="true"
3057 name="person">
3058
3059 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
3060 </wadl:param>
3061 <wadl:param style="query" required="true"
3062 name="component_name">
3063 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3064Component Name
3065</wadl:doc>
3066
3067 </wadl:param>
3068 </wadl:representation>
3069 </wadl:request>
3070
3071 </wadl:method>
3072 <wadl:method id="archive-newComponentUploader"
3073 name="POST">
3074 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3075<p>Add permission for a person to upload to a component.</p>
3076<table class="rst-docutils field-list" frame="void" rules="none">
3077<col class="field-name" />
3078<col class="field-body" />
3079<tbody valign="top">
3080<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson whom should be given permission.</td>
3081</tr>
3082<tr class="rst-field"><th class="rst-field-name" colspan="2">param component:</th></tr>
3083<tr><td>&nbsp;</td><td class="rst-field-body">An IComponent or textual component name.</td>
3084</tr>
3085<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">An IArchivePermission which is the newly-created
3086permission.</td>
3087</tr>
3088<tr class="rst-field"><th class="rst-field-name" colspan="2">raises InvalidComponent:</th></tr>
3089<tr><td>&nbsp;</td><td class="rst-field-body">if this archive is a PPA and the component
3090is not 'main'.</td>
3091</tr>
3092</tbody>
3093</table>
3094
3095</wadl:doc>
3096 <wadl:request>
3097 <wadl:representation
3098 mediaType="application/x-www-form-urlencoded">
3099 <wadl:param style="query" name="ws.op"
3100 required="true"
3101 fixed="newComponentUploader"/>
3102 <wadl:param style="query" required="true"
3103 name="person">
3104
3105 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
3106 </wadl:param>
3107 <wadl:param style="query" required="true"
3108 name="component_name">
3109 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3110Component Name
3111</wadl:doc>
3112
3113 </wadl:param>
3114 </wadl:representation>
3115 </wadl:request>
3116 <wadl:response>
3117 <wadl:param name="Location" style="header">
3118 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive_permission"/>
3119 </wadl:param>
3120
3121 </wadl:response>
3122 </wadl:method>
3123 <wadl:method id="archive-syncSources" name="POST">
3124 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3125<p>Synchronise (copy) named sources into this archive from another.</p>
3126<p>It will copy the most recent versions of the named sources to
3127the destination archive if necessary.</p>
3128<p>This operation will only succeeds when all requested packages
3129are synchronised between the archives. If any of the requested
3130copies cannot be performed, the whole operation will fail. There
3131will be no partial changes of the destination archive.</p>
3132<table class="rst-docutils field-list" frame="void" rules="none">
3133<col class="field-name" />
3134<col class="field-body" />
3135<tbody valign="top">
3136<tr class="rst-field"><th class="rst-field-name" colspan="2">param source_names:</th></tr>
3137<tr><td>&nbsp;</td><td class="rst-field-body">a list of string names of packages to copy.</td>
3138</tr>
3139<tr class="rst-field"><th class="rst-field-name" colspan="2">param from_archive:</th></tr>
3140<tr><td>&nbsp;</td><td class="rst-field-body">the source archive from which to copy.</td>
3141</tr>
3142<tr class="rst-field"><th class="rst-field-name" colspan="2">param to_pocket:</th></tr>
3143<tr><td>&nbsp;</td><td class="rst-field-body">the target pocket (as a string).</td>
3144</tr>
3145<tr class="rst-field"><th class="rst-field-name" colspan="2">param to_series:</th></tr>
3146<tr><td>&nbsp;</td><td class="rst-field-body">the target distroseries (as a string).</td>
3147</tr>
3148<tr class="rst-field"><th class="rst-field-name" colspan="2">param include_binaries:</th></tr>
3149<tr><td>&nbsp;</td><td class="rst-field-body">optional boolean, controls whether or not
3150the published binaries for each given source should also be
3151copied along with the source.</td>
3152</tr>
3153<tr class="rst-field"><th class="rst-field-name" colspan="2">raises NoSuchSourcePackageName:</th></tr>
3154<tr><td>&nbsp;</td><td class="rst-field-body">if the source name is invalid</td>
3155</tr>
3156<tr class="rst-field"><th class="rst-field-name" colspan="2">raises PocketNotFound:</th></tr>
3157<tr><td>&nbsp;</td><td class="rst-field-body">if the pocket name is invalid</td>
3158</tr>
3159<tr class="rst-field"><th class="rst-field-name" colspan="2">raises DistroSeriesNotFound:</th></tr>
3160<tr><td>&nbsp;</td><td class="rst-field-body">if the distro series name is invalid</td>
3161</tr>
3162<tr class="rst-field"><th class="rst-field-name" colspan="2">raises CannotCopy:</th></tr>
3163<tr><td>&nbsp;</td><td class="rst-field-body">if there is a problem copying.</td>
3164</tr>
3165</tbody>
3166</table>
3167
3168</wadl:doc>
3169 <wadl:request>
3170 <wadl:representation
3171 mediaType="application/x-www-form-urlencoded">
3172 <wadl:param style="query" name="ws.op"
3173 required="true" fixed="syncSources"/>
3174 <wadl:param style="query" required="false"
3175 name="to_series">
3176 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3177Distroseries name
3178</wadl:doc>
3179
3180 </wadl:param>
3181 <wadl:param style="query" required="true"
3182 name="to_pocket">
3183 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3184Pocket name
3185</wadl:doc>
3186
3187 </wadl:param>
3188 <wadl:param style="query" required="true"
3189 name="source_names">
3190 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3191Source package names
3192</wadl:doc>
3193
3194 </wadl:param>
3195 <wadl:param style="query" required="true"
3196 name="from_archive">
3197
3198 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive"/>
3199 </wadl:param>
3200 <wadl:param style="query" required="false"
3201 name="include_binaries">
3202 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3203<p>Include Binaries</p>
3204<p>Whether or not to copy binaries already built for this source</p>
3205
3206</wadl:doc>
3207
3208 </wadl:param>
3209 </wadl:representation>
3210 </wadl:request>
3211
3212 </wadl:method>
3213 <wadl:method id="archive-deletePackageUploader"
3214 name="POST">
3215 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3216<p>Revoke permission for the person to upload the package.</p>
3217<table class="rst-docutils field-list" frame="void" rules="none">
3218<col class="field-name" />
3219<col class="field-body" />
3220<tbody valign="top">
3221<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson whose permission should be revoked.</td>
3222</tr>
3223<tr class="rst-field"><th class="rst-field-name" colspan="2">param source_package_name:</th></tr>
3224<tr><td>&nbsp;</td><td class="rst-field-body">An ISourcePackageName or textual package
3225name.</td>
3226</tr>
3227</tbody>
3228</table>
3229
3230</wadl:doc>
3231 <wadl:request>
3232 <wadl:representation
3233 mediaType="application/x-www-form-urlencoded">
3234 <wadl:param style="query" name="ws.op"
3235 required="true"
3236 fixed="deletePackageUploader"/>
3237 <wadl:param style="query" required="true"
3238 name="person">
3239
3240 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
3241 </wadl:param>
3242 <wadl:param style="query" required="true"
3243 name="source_package_name">
3244 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3245Source Package Name
3246</wadl:doc>
3247
3248 </wadl:param>
3249 </wadl:representation>
3250 </wadl:request>
3251
3252 </wadl:method>
3253 <wadl:method id="archive-deletePackagesetUploader"
3254 name="POST">
3255 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3256<p>Revoke upload permissions for a person.</p>
3257<table class="rst-docutils field-list" frame="void" rules="none">
3258<col class="field-name" />
3259<col class="field-body" />
3260<tbody valign="top">
3261<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson for whom you want to revoke permission.</td>
3262</tr>
3263<tr class="rst-field"><th class="rst-field-name" colspan="2">param packageset:</th></tr>
3264<tr><td>&nbsp;</td><td class="rst-field-body">An IPackageset.</td>
3265</tr>
3266<tr class="rst-field"><th class="rst-field-name">param explicit:</th><td class="rst-field-body">The value of the 'explicit' flag for the permission
3267to be revoked.</td>
3268</tr>
3269</tbody>
3270</table>
3271
3272</wadl:doc>
3273 <wadl:request>
3274 <wadl:representation
3275 mediaType="application/x-www-form-urlencoded">
3276 <wadl:param style="query" name="ws.op"
3277 required="true"
3278 fixed="deletePackagesetUploader"/>
3279 <wadl:param style="query" required="true"
3280 name="person">
3281
3282 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
3283 </wadl:param>
3284 <wadl:param style="query" required="true"
3285 name="packageset">
3286 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3287Package set
3288</wadl:doc>
3289 <wadl:link resource_type="http://api.launchpad.dev/beta/#packageset"/>
3290 </wadl:param>
3291 <wadl:param style="query" required="false"
3292 name="explicit">
3293 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3294Explicit
3295</wadl:doc>
3296
3297 </wadl:param>
3298 </wadl:representation>
3299 </wadl:request>
3300
3301 </wadl:method>
3302 <wadl:method id="archive-newPackageUploader"
3303 name="POST">
3304 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3305<p>Add permisson for a person to upload a package to this archive.</p>
3306<table class="rst-docutils field-list" frame="void" rules="none">
3307<col class="field-name" />
3308<col class="field-body" />
3309<tbody valign="top">
3310<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson whom should be given permission.</td>
3311</tr>
3312<tr class="rst-field"><th class="rst-field-name" colspan="2">param source_package_name:</th></tr>
3313<tr><td>&nbsp;</td><td class="rst-field-body">An ISourcePackageName or textual package
3314name.</td>
3315</tr>
3316<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">An IArchivePermission which is the newly-created
3317permission.</td>
3318</tr>
3319</tbody>
3320</table>
3321
3322</wadl:doc>
3323 <wadl:request>
3324 <wadl:representation
3325 mediaType="application/x-www-form-urlencoded">
3326 <wadl:param style="query" name="ws.op"
3327 required="true"
3328 fixed="newPackageUploader"/>
3329 <wadl:param style="query" required="true"
3330 name="person">
3331
3332 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
3333 </wadl:param>
3334 <wadl:param style="query" required="true"
3335 name="source_package_name">
3336 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3337Source Package Name
3338</wadl:doc>
3339
3340 </wadl:param>
3341 </wadl:representation>
3342 </wadl:request>
3343 <wadl:response>
3344 <wadl:param name="Location" style="header">
3345 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive_permission"/>
3346 </wadl:param>
3347
3348 </wadl:response>
3349 </wadl:method>
3350 <wadl:method id="archive-deleteComponentUploader"
3351 name="POST">
3352 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3353<p>Revoke permission for the person to upload to the component.</p>
3354<table class="rst-docutils field-list" frame="void" rules="none">
3355<col class="field-name" />
3356<col class="field-body" />
3357<tbody valign="top">
3358<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson whose permission should be revoked.</td>
3359</tr>
3360<tr class="rst-field"><th class="rst-field-name" colspan="2">param component:</th></tr>
3361<tr><td>&nbsp;</td><td class="rst-field-body">An IComponent or textual component name.</td>
3362</tr>
3363</tbody>
3364</table>
3365
3366</wadl:doc>
3367 <wadl:request>
3368 <wadl:representation
3369 mediaType="application/x-www-form-urlencoded">
3370 <wadl:param style="query" name="ws.op"
3371 required="true"
3372 fixed="deleteComponentUploader"/>
3373 <wadl:param style="query" required="true"
3374 name="person">
3375
3376 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
3377 </wadl:param>
3378 <wadl:param style="query" required="true"
3379 name="component_name">
3380 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3381Component Name
3382</wadl:doc>
3383
3384 </wadl:param>
3385 </wadl:representation>
3386 </wadl:request>
3387
3388 </wadl:method>
3389 <wadl:method id="archive-newPackagesetUploader"
3390 name="POST">
3391 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3392<p>Add a package set based permission for a person.</p>
3393<table class="rst-docutils field-list" frame="void" rules="none">
3394<col class="field-name" />
3395<col class="field-body" />
3396<tbody valign="top">
3397<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson for whom you want to add permission.</td>
3398</tr>
3399<tr class="rst-field"><th class="rst-field-name" colspan="2">param packageset:</th></tr>
3400<tr><td>&nbsp;</td><td class="rst-field-body">An IPackageset.</td>
3401</tr>
3402<tr class="rst-field"><th class="rst-field-name">param explicit:</th><td class="rst-field-body">True if the package set in question requires
3403specialist skills for proper handling.</td>
3404</tr>
3405<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">The new ArchivePermission, or the existing one if it
3406already exists.</td>
3407</tr>
3408</tbody>
3409</table>
3410
3411</wadl:doc>
3412 <wadl:request>
3413 <wadl:representation
3414 mediaType="application/x-www-form-urlencoded">
3415 <wadl:param style="query" name="ws.op"
3416 required="true"
3417 fixed="newPackagesetUploader"/>
3418 <wadl:param style="query" required="true"
3419 name="person">
3420
3421 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
3422 </wadl:param>
3423 <wadl:param style="query" required="true"
3424 name="packageset">
3425 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3426Package set
3427</wadl:doc>
3428 <wadl:link resource_type="http://api.launchpad.dev/beta/#packageset"/>
3429 </wadl:param>
3430 <wadl:param style="query" required="false"
3431 name="explicit">
3432 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3433Explicit
3434</wadl:doc>
3435
3436 </wadl:param>
3437 </wadl:representation>
3438 </wadl:request>
3439 <wadl:response>
3440 <wadl:param name="Location" style="header">
3441 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive_permission"/>
3442 </wadl:param>
3443
3444 </wadl:response>
3445 </wadl:method>
3446 <wadl:method id="archive-newSubscription" name="POST">
3447 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3448<p>Create a new subscribtion to this archive.</p>
3449<p>Create an ArchiveSubscriber record which allows an IPerson to
3450access a private repository.</p>
3451<table class="rst-docutils field-list" frame="void" rules="none">
3452<col class="field-name" />
3453<col class="field-body" />
3454<tbody valign="top">
3455<tr class="rst-field"><th class="rst-field-name" colspan="2">param subscriber:</th></tr>
3456<tr><td>&nbsp;</td><td class="rst-field-body">An IPerson who is allowed to access the
3457repository for this archive.</td>
3458</tr>
3459<tr class="rst-field"><th class="rst-field-name" colspan="2">param registrant:</th></tr>
3460<tr><td>&nbsp;</td><td class="rst-field-body">An IPerson who created this subscription.</td>
3461</tr>
3462<tr class="rst-field"><th class="rst-field-name" colspan="2">param date_expires:</th></tr>
3463<tr><td>&nbsp;</td><td class="rst-field-body">When the subscription should expire; None if
3464it should not expire (default).</td>
3465</tr>
3466<tr class="rst-field"><th class="rst-field-name" colspan="2">param description:</th></tr>
3467<tr><td>&nbsp;</td><td class="rst-field-body">An option textual description of the subscription
3468being created.</td>
3469</tr>
3470<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">The IArchiveSubscriber that was created.</td>
3471</tr>
3472</tbody>
3473</table>
3474
3475</wadl:doc>
3476 <wadl:request>
3477 <wadl:representation
3478 mediaType="application/x-www-form-urlencoded">
3479 <wadl:param style="query" name="ws.op"
3480 required="true"
3481 fixed="newSubscription"/>
3482 <wadl:param style="query" required="true"
3483 name="subscriber">
3484 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3485<p>Subscriber</p>
3486<p>The person who is subscribed.</p>
3487
3488</wadl:doc>
3489 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
3490 </wadl:param>
3491 <wadl:param style="query" required="false"
3492 type="xsd:dateTime"
3493 name="date_expires">
3494 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3495<p>Date of Expiration</p>
3496<p>The timestamp when the subscription will expire.</p>
3497
3498</wadl:doc>
3499
3500 </wadl:param>
3501 <wadl:param style="query" required="false"
3502 name="description">
3503 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3504<p>Description</p>
3505<p>Free text describing this subscription.</p>
3506
3507</wadl:doc>
3508
3509 </wadl:param>
3510 </wadl:representation>
3511 </wadl:request>
3512 <wadl:response>
3513 <wadl:param name="Location" style="header">
3514 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive_subscriber"/>
3515 </wadl:param>
3516
3517 </wadl:response>
3518 </wadl:method>
3519 <wadl:method id="archive-newQueueAdmin" name="POST">
3520 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3521<p>Add permission for a person to administer a distroseries queue.</p>
3522<p>The supplied person will gain permission to administer the
3523distroseries queue for packages in the supplied component.</p>
3524<table class="rst-docutils field-list" frame="void" rules="none">
3525<col class="field-name" />
3526<col class="field-body" />
3527<tbody valign="top">
3528<tr class="rst-field"><th class="rst-field-name">param person:</th><td class="rst-field-body">An IPerson whom should be given permission.</td>
3529</tr>
3530<tr class="rst-field"><th class="rst-field-name" colspan="2">param component:</th></tr>
3531<tr><td>&nbsp;</td><td class="rst-field-body">An IComponent or textual component name.</td>
3532</tr>
3533<tr class="rst-field"><th class="rst-field-name">return:</th><td class="rst-field-body">An IArchivePermission which is the newly-created
3534permission.</td>
3535</tr>
3536</tbody>
3537</table>
3538
3539</wadl:doc>
3540 <wadl:request>
3541 <wadl:representation
3542 mediaType="application/x-www-form-urlencoded">
3543 <wadl:param style="query" name="ws.op"
3544 required="true"
3545 fixed="newQueueAdmin"/>
3546 <wadl:param style="query" required="true"
3547 name="person">
3548
3549 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
3550 </wadl:param>
3551 <wadl:param style="query" required="true"
3552 name="component_name">
3553 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3554Component Name
3555</wadl:doc>
3556
3557 </wadl:param>
3558 </wadl:representation>
3559 </wadl:request>
3560 <wadl:response>
3561 <wadl:param name="Location" style="header">
3562 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive_permission"/>
3563 </wadl:param>
3564
3565 </wadl:response>
3566 </wadl:method>
3567 </wadl:resource_type>
3568
3569
3570 <wadl:representation mediaType="application/json"
3571 id="archive-full">
3572 <wadl:param style="plain" name="self_link" path="$['self_link']">
3573 <wadl:doc>The canonical link to this resource.</wadl:doc>
3574 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive"/>
3575 </wadl:param>
3576 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
3577 <wadl:doc>
3578 The link to the WADL description of this resource.
3579 </wadl:doc>
3580 <wadl:link/>
3581 </wadl:param>
3582 <wadl:param style="plain" name="http_etag" path="$['http_etag']">
3583 <wadl:doc>
3584 The value of the HTTP ETag for this resource.
3585 </wadl:doc>
3586 </wadl:param>
3587 <wadl:param style="plain" required="true"
3588 path="$['owner_link']" name="owner_link">
3589 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3590<p>Owner</p>
3591<p>The archive owner.</p>
3592
3593</wadl:doc>
3594 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
3595 </wadl:param>
3596 <wadl:param style="plain" required="true"
3597 path="$['displayname']" name="displayname">
3598 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3599<p>Displayname</p>
3600<p>Displayname for this archive.</p>
3601
3602</wadl:doc>
3603
3604 </wadl:param>
3605 <wadl:param style="plain" required="true"
3606 path="$['description']" name="description">
3607 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3608<p>Archive contents description</p>
3609<p>A short description of this archive's contents.</p>
3610
3611</wadl:doc>
3612
3613 </wadl:param>
3614 <wadl:param style="plain" required="true"
3615 path="$['dependencies_collection_link']"
3616 name="dependencies_collection_link">
3617 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3618Archive dependencies recorded for this archive.
3619</wadl:doc>
3620 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive_dependency-page-resource"/>
3621 </wadl:param>
3622 <wadl:param style="plain" required="true"
3623 path="$['name']" name="name">
3624 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3625<p>Name</p>
3626<p>The name of this archive.</p>
3627
3628</wadl:doc>
3629
3630 </wadl:param>
3631 <wadl:param style="plain" required="true"
3632 path="$['private']" name="private">
3633 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3634<p>Private</p>
3635<p>Whether the archive is private to the owner or not.</p>
3636
3637</wadl:doc>
3638
3639 </wadl:param>
3640 <wadl:param style="plain" required="true"
3641 path="$['distribution_link']"
3642 name="distribution_link">
3643 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3644The distribution that uses or is used by this archive.
3645</wadl:doc>
3646 <wadl:link resource_type="http://api.launchpad.dev/beta/#distribution"/>
3647 </wadl:param>
3648 <wadl:param style="plain" required="true"
3649 path="$['signing_key_fingerprint']"
3650 name="signing_key_fingerprint">
3651 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3652<p>Archive signing key fingerprint</p>
3653<p>A OpenPGP signing key fingerprint (40 chars) for this PPA or None if there is no signing key available.</p>
3654
3655</wadl:doc>
3656
3657 </wadl:param>
3658 </wadl:representation>
3659
3660 <wadl:representation mediaType="application/json"
3661 id="archive-diff">
3662 <wadl:param style="plain" required="false"
3663 path="$['owner_link']" name="owner_link">
3664 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3665<p>Owner</p>
3666<p>The archive owner.</p>
3667
3668</wadl:doc>
3669 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
3670 </wadl:param>
3671 <wadl:param style="plain" required="false"
3672 path="$['displayname']" name="displayname">
3673 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3674<p>Displayname</p>
3675<p>Displayname for this archive.</p>
3676
3677</wadl:doc>
3678
3679 </wadl:param>
3680 <wadl:param style="plain" required="false"
3681 path="$['description']" name="description">
3682 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3683<p>Archive contents description</p>
3684<p>A short description of this archive's contents.</p>
3685
3686</wadl:doc>
3687
3688 </wadl:param>
3689 <wadl:param style="plain" required="false"
3690 path="$['name']" name="name">
3691 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3692<p>Name</p>
3693<p>The name of this archive.</p>
3694
3695</wadl:doc>
3696
3697 </wadl:param>
3698 <wadl:param style="plain" required="false"
3699 path="$['private']" name="private">
3700 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3701<p>Private</p>
3702<p>Whether the archive is private to the owner or not.</p>
3703
3704</wadl:doc>
3705
3706 </wadl:param>
3707 <wadl:param style="plain" required="false"
3708 path="$['distribution_link']"
3709 name="distribution_link">
3710 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3711The distribution that uses or is used by this archive.
3712</wadl:doc>
3713 <wadl:link resource_type="http://api.launchpad.dev/beta/#distribution"/>
3714 </wadl:param>
3715 <wadl:param style="plain" required="false"
3716 path="$['signing_key_fingerprint']"
3717 name="signing_key_fingerprint">
3718 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3719<p>Archive signing key fingerprint</p>
3720<p>A OpenPGP signing key fingerprint (40 chars) for this PPA or None if there is no signing key available.</p>
3721
3722</wadl:doc>
3723
3724 </wadl:param>
3725 </wadl:representation>
3726
3727 <!--Collection page for this type of entry-->
3728 <wadl:resource_type id="archive-page-resource">
3729 <wadl:method name="GET" id="archive-page-resource-get">
3730 <wadl:response>
3731 <wadl:representation href="#archive-page"/>
3732 </wadl:response>
3733 </wadl:method>
3734 </wadl:resource_type>
3735
3736 <wadl:representation mediaType="application/json"
3737 id="archive-page">
3738
3739 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
3740 <wadl:link/>
3741 </wadl:param>
3742
3743 <wadl:param style="plain" name="total_size" path="$['total_size']" required="true"/>
3744
3745 <wadl:param style="plain" name="start" path="$['start']" required="true"/>
3746
3747 <wadl:param style="plain" name="next_collection_link" path="$['next_collection_link']">
3748 <wadl:link resource_type="#archive-page-resource"/>
3749 </wadl:param>
3750
3751 <wadl:param style="plain" name="prev_collection_link" path="$['prev_collection_link']">
3752 <wadl:link resource_type="#archive-page-resource"/>
3753 </wadl:param>
3754
3755 <wadl:param style="plain" name="entries" path="$['entries']" required="true"/>
3756
3757 <wadl:param style="plain" name="entry_links" path="$['entries'][*]['self_link']">
3758 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive"/>
3759 </wadl:param>
3760 </wadl:representation>
3761
3762
3763
3764 <wadl:resource_type id="binary_package_publishing_history">
3765 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3766A binary package publishing record.
3767</wadl:doc>
3768 <wadl:method name="GET"
3769 id="binary_package_publishing_history-get">
3770 <wadl:response>
3771 <wadl:representation
3772 href="http://api.launchpad.dev/beta/#binary_package_publishing_history-full"/>
3773 <wadl:representation
3774 mediaType="application/xhtml+xml"
3775 id="binary_package_publishing_history-xhtml"/>
3776 <wadl:representation
3777 mediaType="application/vnd.sun.wadl+xml"
3778 id="binary_package_publishing_history-wadl"/>
3779 </wadl:response>
3780 </wadl:method>
3781
3782 <wadl:method name="PUT"
3783 id="binary_package_publishing_history-put">
3784 <wadl:request>
3785 <wadl:representation
3786 href="http://api.launchpad.dev/beta/#binary_package_publishing_history-full"/>
3787 </wadl:request>
3788 </wadl:method>
3789
3790 <wadl:method name="PATCH"
3791 id="binary_package_publishing_history-patch">
3792 <wadl:request>
3793 <wadl:representation
3794 href="http://api.launchpad.dev/beta/#binary_package_publishing_history-diff"/>
3795 </wadl:request>
3796 </wadl:method>
3797
3798
3799
3800 </wadl:resource_type>
3801
3802
3803 <wadl:representation mediaType="application/json"
3804 id="binary_package_publishing_history-full">
3805 <wadl:param style="plain" name="self_link" path="$['self_link']">
3806 <wadl:doc>The canonical link to this resource.</wadl:doc>
3807 <wadl:link resource_type="http://api.launchpad.dev/beta/#binary_package_publishing_history"/>
3808 </wadl:param>
3809 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
3810 <wadl:doc>
3811 The link to the WADL description of this resource.
3812 </wadl:doc>
3813 <wadl:link/>
3814 </wadl:param>
3815 <wadl:param style="plain" name="http_etag" path="$['http_etag']">
3816 <wadl:doc>
3817 The value of the HTTP ETag for this resource.
3818 </wadl:doc>
3819 </wadl:param>
3820 <wadl:param style="plain" required="true"
3821 path="$['removal_comment']"
3822 name="removal_comment">
3823 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3824<p>Removal Comment</p>
3825<p>Reason why this publication is going to be removed.</p>
3826
3827</wadl:doc>
3828
3829 </wadl:param>
3830 <wadl:param style="plain" required="true"
3831 path="$['distro_arch_series_link']"
3832 name="distro_arch_series_link">
3833 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3834<p>Distro Arch Series</p>
3835<p>The distroarchseries being published into</p>
3836
3837</wadl:doc>
3838 <wadl:link resource_type="http://api.launchpad.dev/beta/#distro_arch_series"/>
3839 </wadl:param>
3840 <wadl:param style="plain" required="true"
3841 path="$['date_published']"
3842 type="xsd:dateTime" name="date_published">
3843 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3844<p>Date Published</p>
3845<p>The date on which this record was published</p>
3846
3847</wadl:doc>
3848
3849 </wadl:param>
3850 <wadl:param style="plain" required="true"
3851 path="$['date_removed']"
3852 type="xsd:dateTime" name="date_removed">
3853 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3854<p>Date Removed</p>
3855<p>The date on which this record was removed from the published set</p>
3856
3857</wadl:doc>
3858
3859 </wadl:param>
3860 <wadl:param style="plain" required="true"
3861 path="$['archive_link']"
3862 name="archive_link">
3863 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3864<p>Archive</p>
3865<p>The context archive for this publication.</p>
3866
3867</wadl:doc>
3868 <wadl:link resource_type="http://api.launchpad.dev/beta/#archive"/>
3869 </wadl:param>
3870 <wadl:param style="plain" required="true"
3871 path="$['priority_name']"
3872 name="priority_name">
3873 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3874Priority Name
3875</wadl:doc>
3876
3877 </wadl:param>
3878 <wadl:param style="plain" required="true"
3879 path="$['date_superseded']"
3880 type="xsd:dateTime" name="date_superseded">
3881 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3882<p>Date Superseded</p>
3883<p>The date on which this record was marked superseded</p>
3884
3885</wadl:doc>
3886
3887 </wadl:param>
3888 <wadl:param style="plain" required="true"
3889 path="$['scheduled_deletion_date']"
3890 type="xsd:dateTime"
3891 name="scheduled_deletion_date">
3892 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3893<p>Scheduled Deletion Date</p>
3894<p>The date on which this record is scheduled for deletion</p>
3895
3896</wadl:doc>
3897
3898 </wadl:param>
3899 <wadl:param style="plain" required="true"
3900 path="$['date_made_pending']"
3901 type="xsd:dateTime"
3902 name="date_made_pending">
3903 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3904<p>Date Made Pending</p>
3905<p>The date on which this record was set as pending removal</p>
3906
3907</wadl:doc>
3908
3909 </wadl:param>
3910 <wadl:param style="plain" required="true"
3911 path="$['binary_package_version']"
3912 name="binary_package_version">
3913 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3914Binary Package Version
3915</wadl:doc>
3916
3917 </wadl:param>
3918 <wadl:param style="plain" required="true"
3919 path="$['component_name']"
3920 name="component_name">
3921 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3922Component Name
3923</wadl:doc>
3924
3925 </wadl:param>
3926 <wadl:param style="plain" required="true"
3927 path="$['status']" name="status">
3928 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3929<p>Status</p>
3930<p>The status of this publishing record</p>
3931
3932</wadl:doc>
3933
3934 <wadl:option value="Pending"/>
3935 <wadl:option value="Published"/>
3936 <wadl:option value="Superseded"/>
3937 <wadl:option value="Deleted"/>
3938 <wadl:option value="Obsolete"/>
3939 </wadl:param>
3940 <wadl:param style="plain" required="true"
3941 path="$['display_name']"
3942 name="display_name">
3943 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3944<p>Display Name</p>
3945<p>Text representation of the current record.</p>
3946
3947</wadl:doc>
3948
3949 </wadl:param>
3950 <wadl:param style="plain" required="true"
3951 path="$['pocket']" name="pocket">
3952 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3953<p>Pocket</p>
3954<p>The pocket into which this entry is published</p>
3955
3956</wadl:doc>
3957
3958 <wadl:option value="Release"/>
3959 <wadl:option value="Security"/>
3960 <wadl:option value="Updates"/>
3961 <wadl:option value="Proposed"/>
3962 <wadl:option value="Backports"/>
3963 </wadl:param>
3964 <wadl:param style="plain" required="true"
3965 path="$['section_name']"
3966 name="section_name">
3967 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3968Section Name
3969</wadl:doc>
3970
3971 </wadl:param>
3972 <wadl:param style="plain" required="true"
3973 path="$['binary_package_name']"
3974 name="binary_package_name">
3975 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3976Binary Package Name
3977</wadl:doc>
3978
3979 </wadl:param>
3980 <wadl:param style="plain" required="true"
3981 path="$['date_created']"
3982 type="xsd:dateTime" name="date_created">
3983 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3984<p>Date Created</p>
3985<p>The date on which this record was created</p>
3986
3987</wadl:doc>
3988
3989 </wadl:param>
3990 <wadl:param style="plain" required="true"
3991 path="$['removed_by_link']"
3992 name="removed_by_link">
3993 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
3994<p>Removed By</p>
3995<p>The Person responsible for the removal</p>
3996
3997</wadl:doc>
3998 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
3999 </wadl:param>
4000 </wadl:representation>
4001
4002 <wadl:representation mediaType="application/json"
4003 id="binary_package_publishing_history-diff">
4004 <wadl:param style="plain" required="false"
4005 path="$['removal_comment']"
4006 name="removal_comment">
4007 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4008<p>Removal Comment</p>
4009<p>Reason why this publication is going to be removed.</p>
4010
4011</wadl:doc>
4012
4013 </wadl:param>
4014 <wadl:param style="plain" required="false"
4015 path="$['distro_arch_series_link']"
4016 name="distro_arch_series_link">
4017 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4018<p>Distro Arch Series</p>
4019<p>The distroarchseries being published into</p>
4020
4021</wadl:doc>
4022 <wadl:link resource_type="http://api.launchpad.dev/beta/#distro_arch_series"/>
4023 </wadl:param>
4024 <wadl:param style="plain" required="false"
4025 path="$['date_published']"
4026 type="xsd:dateTime" name="date_published">
4027 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4028<p>Date Published</p>
4029<p>The date on which this record was published</p>
4030
4031</wadl:doc>
4032
4033 </wadl:param>
4034 <wadl:param style="plain" required="false"
4035 path="$['date_removed']"
4036 type="xsd:dateTime" name="date_removed">
4037 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4038<p>Date Removed</p>
4039<p>The date on which this record was removed from the published set</p>
4040
4041</wadl:doc>
4042
4043 </wadl:param>
4044 <wadl:param style="plain" required="false"
4045 path="$['date_superseded']"
4046 type="xsd:dateTime" name="date_superseded">
4047 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4048<p>Date Superseded</p>
4049<p>The date on which this record was marked superseded</p>
4050
4051</wadl:doc>
4052
4053 </wadl:param>
4054 <wadl:param style="plain" required="false"
4055 path="$['scheduled_deletion_date']"
4056 type="xsd:dateTime"
4057 name="scheduled_deletion_date">
4058 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4059<p>Scheduled Deletion Date</p>
4060<p>The date on which this record is scheduled for deletion</p>
4061
4062</wadl:doc>
4063
4064 </wadl:param>
4065 <wadl:param style="plain" required="false"
4066 path="$['date_made_pending']"
4067 type="xsd:dateTime"
4068 name="date_made_pending">
4069 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4070<p>Date Made Pending</p>
4071<p>The date on which this record was set as pending removal</p>
4072
4073</wadl:doc>
4074
4075 </wadl:param>
4076 <wadl:param style="plain" required="false"
4077 path="$['status']" name="status">
4078 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4079<p>Status</p>
4080<p>The status of this publishing record</p>
4081
4082</wadl:doc>
4083
4084 <wadl:option value="Pending"/>
4085 <wadl:option value="Published"/>
4086 <wadl:option value="Superseded"/>
4087 <wadl:option value="Deleted"/>
4088 <wadl:option value="Obsolete"/>
4089 </wadl:param>
4090 <wadl:param style="plain" required="false"
4091 path="$['display_name']"
4092 name="display_name">
4093 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4094<p>Display Name</p>
4095<p>Text representation of the current record.</p>
4096
4097</wadl:doc>
4098
4099 </wadl:param>
4100 <wadl:param style="plain" required="false"
4101 path="$['date_created']"
4102 type="xsd:dateTime" name="date_created">
4103 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4104<p>Date Created</p>
4105<p>The date on which this record was created</p>
4106
4107</wadl:doc>
4108
4109 </wadl:param>
4110 <wadl:param style="plain" required="false"
4111 path="$['removed_by_link']"
4112 name="removed_by_link">
4113 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4114<p>Removed By</p>
4115<p>The Person responsible for the removal</p>
4116
4117</wadl:doc>
4118 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
4119 </wadl:param>
4120 </wadl:representation>
4121
4122 <!--Collection page for this type of entry-->
4123 <wadl:resource_type id="binary_package_publishing_history-page-resource">
4124 <wadl:method name="GET"
4125 id="binary_package_publishing_history-page-resource-get">
4126 <wadl:response>
4127 <wadl:representation
4128 href="#binary_package_publishing_history-page"/>
4129 </wadl:response>
4130 </wadl:method>
4131 </wadl:resource_type>
4132
4133 <wadl:representation mediaType="application/json"
4134 id="binary_package_publishing_history-page">
4135
4136 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
4137 <wadl:link/>
4138 </wadl:param>
4139
4140 <wadl:param style="plain" name="total_size" path="$['total_size']" required="true"/>
4141
4142 <wadl:param style="plain" name="start" path="$['start']" required="true"/>
4143
4144 <wadl:param style="plain" name="next_collection_link" path="$['next_collection_link']">
4145 <wadl:link resource_type="#binary_package_publishing_history-page-resource"/>
4146 </wadl:param>
4147
4148 <wadl:param style="plain" name="prev_collection_link" path="$['prev_collection_link']">
4149 <wadl:link resource_type="#binary_package_publishing_history-page-resource"/>
4150 </wadl:param>
4151
4152 <wadl:param style="plain" name="entries" path="$['entries']" required="true"/>
4153
4154 <wadl:param style="plain" name="entry_links" path="$['entries'][*]['self_link']">
4155 <wadl:link resource_type="http://api.launchpad.dev/beta/#binary_package_publishing_history"/>
4156 </wadl:param>
4157 </wadl:representation>
4158
4159
4160
4161 <wadl:resource_type id="branch_merge_proposal">
4162 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4163Branch merge proposals show intent of landing one branch on another.
4164</wadl:doc>
4165 <wadl:method name="GET" id="branch_merge_proposal-get">
4166 <wadl:response>
4167 <wadl:representation
4168 href="http://api.launchpad.dev/beta/#branch_merge_proposal-full"/>
4169 <wadl:representation
4170 mediaType="application/xhtml+xml"
4171 id="branch_merge_proposal-xhtml"/>
4172 <wadl:representation
4173 mediaType="application/vnd.sun.wadl+xml"
4174 id="branch_merge_proposal-wadl"/>
4175 </wadl:response>
4176 </wadl:method>
4177
4178 <wadl:method name="PUT" id="branch_merge_proposal-put">
4179 <wadl:request>
4180 <wadl:representation
4181 href="http://api.launchpad.dev/beta/#branch_merge_proposal-full"/>
4182 </wadl:request>
4183 </wadl:method>
4184
4185 <wadl:method name="PATCH"
4186 id="branch_merge_proposal-patch">
4187 <wadl:request>
4188 <wadl:representation
4189 href="http://api.launchpad.dev/beta/#branch_merge_proposal-diff"/>
4190 </wadl:request>
4191 </wadl:method>
4192
4193
4194
4195 <wadl:method id="branch_merge_proposal-getComment"
4196 name="GET">
4197 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4198Return the CodeReviewComment with the specified ID.
4199</wadl:doc>
4200 <wadl:request>
4201
4202 <wadl:param style="query" name="ws.op"
4203 required="true" fixed="getComment"/>
4204 <wadl:param style="query" required="true"
4205 name="id">
4206 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4207A CodeReviewComment ID.
4208</wadl:doc>
4209
4210 </wadl:param>
4211
4212 </wadl:request>
4213 <wadl:response>
4214
4215 <wadl:representation
4216 href="http://api.launchpad.dev/beta/#code_review_comment-full"/>
4217 </wadl:response>
4218 </wadl:method>
4219 <wadl:method id="branch_merge_proposal-nominateReviewer"
4220 name="POST">
4221 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4222<p>Set the specified person as a reviewer.</p>
4223<p>If they are not already a reviewer, a vote is created. Otherwise,
4224the details are updated.</p>
4225
4226</wadl:doc>
4227 <wadl:request>
4228 <wadl:representation
4229 mediaType="application/x-www-form-urlencoded">
4230 <wadl:param style="query" name="ws.op"
4231 required="true"
4232 fixed="nominateReviewer"/>
4233 <wadl:param style="query" required="false"
4234 name="review_type">
4235
4236
4237 </wadl:param>
4238 <wadl:param style="query" required="true"
4239 name="reviewer">
4240 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4241A reviewer.
4242</wadl:doc>
4243 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
4244 </wadl:param>
4245 </wadl:representation>
4246 </wadl:request>
4247 <wadl:response>
4248
4249 <wadl:representation
4250 href="http://api.launchpad.dev/beta/#code_review_vote_reference-full"/>
4251 </wadl:response>
4252 </wadl:method>
4253 <wadl:method id="branch_merge_proposal-updatePreviewDiff"
4254 name="POST">
4255 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4256<p>Update the preview diff for this proposal.</p>
4257<p>If there is not an existing preview diff, one will be created.</p>
4258<table class="rst-docutils field-list" frame="void" rules="none">
4259<col class="field-name" />
4260<col class="field-body" />
4261<tbody valign="top">
4262<tr class="rst-field"><th class="rst-field-name" colspan="2">param diff_content:</th></tr>
4263<tr><td>&nbsp;</td><td class="rst-field-body">The raw bytes of the diff content to be put in
4264the librarian.</td>
4265</tr>
4266<tr class="rst-field"><th class="rst-field-name" colspan="2">param diff_stat:</th></tr>
4267<tr><td>&nbsp;</td><td class="rst-field-body">Text describing the files added, remove or modified.</td>
4268</tr>
4269<tr class="rst-field"><th class="rst-field-name" colspan="2">param source_revision_id:</th></tr>
4270<tr><td>&nbsp;</td><td class="rst-field-body">The revision id that was used from the
4271source branch.</td>
4272</tr>
4273<tr class="rst-field"><th class="rst-field-name" colspan="2">param target_revision_id:</th></tr>
4274<tr><td>&nbsp;</td><td class="rst-field-body">The revision id that was used from the
4275target branch.</td>
4276</tr>
4277<tr class="rst-field"><th class="rst-field-name" colspan="2">param prerequisite_revision_id:</th></tr>
4278<tr><td>&nbsp;</td><td class="rst-field-body">The revision id that was used from the
4279prerequisite branch.</td>
4280</tr>
4281<tr class="rst-field"><th class="rst-field-name" colspan="2">param conflicts:</th></tr>
4282<tr><td>&nbsp;</td><td class="rst-field-body">Text describing the conflicts if any.</td>
4283</tr>
4284</tbody>
4285</table>
4286
4287</wadl:doc>
4288 <wadl:request>
4289 <wadl:representation
4290 mediaType="multipart/form-data">
4291 <wadl:param style="query" name="ws.op"
4292 required="true"
4293 fixed="updatePreviewDiff"/>
4294 <wadl:param style="query" required="false"
4295 name="conflicts">
4296
4297
4298 </wadl:param>
4299 <wadl:param style="query" required="true"
4300 name="target_revision_id">
4301
4302
4303 </wadl:param>
4304 <wadl:param style="query" required="true"
4305 type="binary" name="diff_content">
4306
4307 <wadl:link resource_type="http://api.launchpad.dev/beta/#HostedFile"/>
4308 </wadl:param>
4309 <wadl:param style="query" required="true"
4310 name="source_revision_id">
4311
4312
4313 </wadl:param>
4314 <wadl:param style="query" required="false"
4315 name="prerequisite_revision_id">
4316
4317
4318 </wadl:param>
4319 </wadl:representation>
4320 </wadl:request>
4321
4322 </wadl:method>
4323 <wadl:method id="branch_merge_proposal-createComment"
4324 name="POST">
4325 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4326<p>Create an ICodeReviewComment associated with this merge proposal.</p>
4327<table class="rst-docutils field-list" frame="void" rules="none">
4328<col class="field-name" />
4329<col class="field-body" />
4330<tbody valign="top">
4331<tr class="rst-field"><th class="rst-field-name">param owner:</th><td class="rst-field-body">The person who the message is from.</td>
4332</tr>
4333<tr class="rst-field"><th class="rst-field-name">param subject:</th><td class="rst-field-body">The subject line to use for the message.</td>
4334</tr>
4335<tr class="rst-field"><th class="rst-field-name">param content:</th><td class="rst-field-body">The text to use for the message content. If
4336unspecified, the text of the merge proposal is used.</td>
4337</tr>
4338<tr class="rst-field"><th class="rst-field-name">param parent:</th><td class="rst-field-body">The previous CodeReviewComment in the thread. If
4339unspecified, the root message is used.</td>
4340</tr>
4341</tbody>
4342</table>
4343
4344</wadl:doc>
4345 <wadl:request>
4346 <wadl:representation
4347 mediaType="application/x-www-form-urlencoded">
4348 <wadl:param style="query" name="ws.op"
4349 required="true"
4350 fixed="createComment"/>
4351 <wadl:param style="query" required="false"
4352 name="review_type">
4353
4354
4355 </wadl:param>
4356 <wadl:param style="query" required="false"
4357 name="vote">
4358
4359
4360 <wadl:option value="Approve"/>
4361 <wadl:option value="Needs Fixing"/>
4362 <wadl:option value="Needs Information"/>
4363 <wadl:option value="Abstain"/>
4364 <wadl:option value="Disapprove"/>
4365 <wadl:option value="Resubmit"/>
4366 </wadl:param>
4367 <wadl:param style="query" required="false"
4368 name="content">
4369
4370
4371 </wadl:param>
4372 <wadl:param style="query" required="false"
4373 name="parent">
4374
4375 <wadl:link resource_type="http://api.launchpad.dev/beta/#code_review_comment"/>
4376 </wadl:param>
4377 <wadl:param style="query" required="true"
4378 name="subject">
4379
4380
4381 </wadl:param>
4382 </wadl:representation>
4383 </wadl:request>
4384 <wadl:response>
4385 <wadl:param name="Location" style="header">
4386 <wadl:link resource_type="http://api.launchpad.dev/beta/#code_review_comment"/>
4387 </wadl:param>
4388
4389 </wadl:response>
4390 </wadl:method>
4391 <wadl:method id="branch_merge_proposal-setStatus"
4392 name="POST">
4393 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4394<p>Set the state of the merge proposal to the specified status.</p>
4395<table class="rst-docutils field-list" frame="void" rules="none">
4396<col class="field-name" />
4397<col class="field-body" />
4398<tbody valign="top">
4399<tr class="rst-field"><th class="rst-field-name">param status:</th><td class="rst-field-body">The new status of the merge proposal.</td>
4400</tr>
4401<tr class="rst-field"><th class="rst-field-name">param user:</th><td class="rst-field-body">The user making the change.</td>
4402</tr>
4403<tr class="rst-field"><th class="rst-field-name" colspan="2">param revision_id:</th></tr>
4404<tr><td>&nbsp;</td><td class="rst-field-body">The revno to provide to the underlying status
4405change method.</td>
4406</tr>
4407</tbody>
4408</table>
4409
4410</wadl:doc>
4411 <wadl:request>
4412 <wadl:representation
4413 mediaType="application/x-www-form-urlencoded">
4414 <wadl:param style="query" name="ws.op"
4415 required="true" fixed="setStatus"/>
4416 <wadl:param style="query" required="true"
4417 name="status">
4418 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4419The new status of the merge proposal.
4420</wadl:doc>
4421
4422 <wadl:option value="Work in progress"/>
4423 <wadl:option value="Needs review"/>
4424 <wadl:option value="Approved"/>
4425 <wadl:option value="Rejected"/>
4426 <wadl:option value="Merged"/>
4427 <wadl:option value="Code failed to merge"/>
4428 <wadl:option value="Queued"/>
4429 <wadl:option value="Superseded"/>
4430 </wadl:param>
4431 <wadl:param style="query" required="false"
4432 name="revno">
4433 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4434An optional parameter for specifying the revision of the branch for the status change.
4435</wadl:doc>
4436
4437 </wadl:param>
4438 </wadl:representation>
4439 </wadl:request>
4440
4441 </wadl:method>
4442 </wadl:resource_type>
4443
4444
4445 <wadl:representation mediaType="application/json"
4446 id="branch_merge_proposal-full">
4447 <wadl:param style="plain" name="self_link" path="$['self_link']">
4448 <wadl:doc>The canonical link to this resource.</wadl:doc>
4449 <wadl:link resource_type="http://api.launchpad.dev/beta/#branch_merge_proposal"/>
4450 </wadl:param>
4451 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
4452 <wadl:doc>
4453 The link to the WADL description of this resource.
4454 </wadl:doc>
4455 <wadl:link/>
4456 </wadl:param>
4457 <wadl:param style="plain" name="http_etag" path="$['http_etag']">
4458 <wadl:doc>
4459 The value of the HTTP ETag for this resource.
4460 </wadl:doc>
4461 </wadl:param>
4462 <wadl:param style="plain" required="true"
4463 path="$['queuer_link']" name="queuer_link">
4464 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4465<p>Queuer</p>
4466<p>The person that queued up the branch.</p>
4467
4468</wadl:doc>
4469 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
4470 </wadl:param>
4471 <wadl:param style="plain" required="true"
4472 path="$['source_branch_link']"
4473 name="source_branch_link">
4474 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4475<p>Source Branch</p>
4476<p>The branch that has code to land.</p>
4477
4478</wadl:doc>
4479 <wadl:link resource_type="http://api.launchpad.dev/beta/#branch"/>
4480 </wadl:param>
4481 <wadl:param style="plain" required="true"
4482 path="$['queue_status']"
4483 name="queue_status">
4484 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4485<p>Status</p>
4486<p>The current state of the proposal.</p>
4487
4488</wadl:doc>
4489
4490 <wadl:option value="Work in progress"/>
4491 <wadl:option value="Needs review"/>
4492 <wadl:option value="Approved"/>
4493 <wadl:option value="Rejected"/>
4494 <wadl:option value="Merged"/>
4495 <wadl:option value="Code failed to merge"/>
4496 <wadl:option value="Queued"/>
4497 <wadl:option value="Superseded"/>
4498 </wadl:param>
4499 <wadl:param style="plain" required="true"
4500 path="$['private']" name="private">
4501 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4502<p>Proposal is confidential</p>
4503<p>If True, this proposal is visible only to subscribers.</p>
4504
4505</wadl:doc>
4506
4507 </wadl:param>
4508 <wadl:param style="plain" required="true"
4509 path="$['date_reviewed']"
4510 type="xsd:dateTime" name="date_reviewed">
4511 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4512Date Reviewed
4513</wadl:doc>
4514
4515 </wadl:param>
4516 <wadl:param style="plain" required="true"
4517 path="$['reviewer_link']"
4518 name="reviewer_link">
4519 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4520<p>Review person or team</p>
4521<p>The person that accepted (or rejected) the code for merging.</p>
4522
4523</wadl:doc>
4524 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
4525 </wadl:param>
4526 <wadl:param style="plain" required="true"
4527 path="$['registrant_link']"
4528 name="registrant_link">
4529 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4530<p>Person</p>
4531<p>The person who registered the landing target.</p>
4532
4533</wadl:doc>
4534 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
4535 </wadl:param>
4536 <wadl:param style="plain" required="true"
4537 path="$['votes_collection_link']"
4538 name="votes_collection_link">
4539 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4540The votes cast or expected for this proposal
4541</wadl:doc>
4542 <wadl:link resource_type="http://api.launchpad.dev/beta/#code_review_vote_reference-page-resource"/>
4543 </wadl:param>
4544 <wadl:param style="plain" required="true"
4545 path="$['target_branch_link']"
4546 name="target_branch_link">
4547 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4548<p>Target Branch</p>
4549<p>The branch that the source branch will be merged into.</p>
4550
4551</wadl:doc>
4552 <wadl:link resource_type="http://api.launchpad.dev/beta/#branch"/>
4553 </wadl:param>
4554 <wadl:param style="plain" required="true"
4555 path="$['date_review_requested']"
4556 type="xsd:dateTime"
4557 name="date_review_requested">
4558 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4559Date Review Requested
4560</wadl:doc>
4561
4562 </wadl:param>
4563 <wadl:param style="plain" required="true"
4564 path="$['preview_diff_link']"
4565 name="preview_diff_link">
4566 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4567The current diff of the source branch against the target branch.
4568</wadl:doc>
4569 <wadl:link resource_type="http://api.launchpad.dev/beta/#preview_diff"/>
4570 </wadl:param>
4571 <wadl:param style="plain" required="true"
4572 path="$['commit_message']"
4573 name="commit_message">
4574 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4575<p>Commit Message</p>
4576<p>The commit message that should be used when merging the source branch.</p>
4577
4578</wadl:doc>
4579
4580 </wadl:param>
4581 <wadl:param style="plain" required="true"
4582 path="$['supersedes_link']"
4583 name="supersedes_link">
4584 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4585<p>Supersedes</p>
4586<p>The branch merge proposal that this one supersedes.</p>
4587
4588</wadl:doc>
4589 <wadl:link resource_type="http://api.launchpad.dev/beta/#branch_merge_proposal"/>
4590 </wadl:param>
4591 <wadl:param style="plain" required="true"
4592 path="$['queue_position']"
4593 name="queue_position">
4594 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4595<p>Queue Position</p>
4596<p>The position in the queue.</p>
4597
4598</wadl:doc>
4599
4600 </wadl:param>
4601 <wadl:param style="plain" required="true"
4602 path="$['prerequisite_branch_link']"
4603 name="prerequisite_branch_link">
4604 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4605<p>Dependent Branch</p>
4606<p>The branch that the source branch branched from. If this is the same as the target branch, then leave this field blank.</p>
4607
4608</wadl:doc>
4609 <wadl:link resource_type="http://api.launchpad.dev/beta/#branch"/>
4610 </wadl:param>
4611 <wadl:param style="plain" required="true"
4612 path="$['date_merged']"
4613 type="xsd:dateTime" name="date_merged">
4614 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4615<p>Date Merged</p>
4616<p>The date that the source branch was merged into the target branch</p>
4617
4618</wadl:doc>
4619
4620 </wadl:param>
4621 <wadl:param style="plain" required="true"
4622 path="$['reviewed_revno']"
4623 name="reviewed_revno">
4624 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4625The revision id that has been approved by the reviewer.
4626</wadl:doc>
4627
4628 </wadl:param>
4629 <wadl:param style="plain" required="true"
4630 path="$['all_comments_collection_link']"
4631 name="all_comments_collection_link">
4632 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4633All messages discussing this merge proposal
4634</wadl:doc>
4635 <wadl:link resource_type="http://api.launchpad.dev/beta/#code_review_comment-page-resource"/>
4636 </wadl:param>
4637 <wadl:param style="plain" required="true"
4638 path="$['address']" name="address">
4639 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4640<p>The email address for this proposal.</p>
4641<p>Any emails sent to this address will resultin comments being added.</p>
4642
4643</wadl:doc>
4644
4645 </wadl:param>
4646 <wadl:param style="plain" required="true"
4647 path="$['queued_revno']"
4648 name="queued_revno">
4649 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4650<p>Queued Revision ID</p>
4651<p>The revision id that has been queued for landing.</p>
4652
4653</wadl:doc>
4654
4655 </wadl:param>
4656 <wadl:param style="plain" required="true"
4657 path="$['date_queued']"
4658 type="xsd:dateTime" name="date_queued">
4659 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4660Date Queued
4661</wadl:doc>
4662
4663 </wadl:param>
4664 <wadl:param style="plain" required="true"
4665 path="$['merged_revno']"
4666 name="merged_revno">
4667 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4668<p>Merged Revision Number</p>
4669<p>The revision number on the target branch which contains the merge from the source branch.</p>
4670
4671</wadl:doc>
4672
4673 </wadl:param>
4674 <wadl:param style="plain" required="true"
4675 path="$['superseded_by_link']"
4676 name="superseded_by_link">
4677 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4678<p>Superseded By</p>
4679<p>The branch merge proposal that supersedes this one.</p>
4680
4681</wadl:doc>
4682 <wadl:link resource_type="http://api.launchpad.dev/beta/#branch_merge_proposal"/>
4683 </wadl:param>
4684 <wadl:param style="plain" required="true"
4685 path="$['date_created']"
4686 type="xsd:dateTime" name="date_created">
4687 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4688Date Created
4689</wadl:doc>
4690
4691 </wadl:param>
4692 <wadl:param style="plain" required="true"
4693 path="$['merge_reporter_link']"
4694 name="merge_reporter_link">
4695 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4696<p>Merge Reporter</p>
4697<p>The user that marked the branch as merged.</p>
4698
4699</wadl:doc>
4700 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
4701 </wadl:param>
4702 </wadl:representation>
4703
4704 <wadl:representation mediaType="application/json"
4705 id="branch_merge_proposal-diff">
4706 <wadl:param style="plain" required="false"
4707 path="$['commit_message']"
4708 name="commit_message">
4709 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4710<p>Commit Message</p>
4711<p>The commit message that should be used when merging the source branch.</p>
4712
4713</wadl:doc>
4714
4715 </wadl:param>
4716 <wadl:param style="plain" required="false"
4717 path="$['reviewed_revno']"
4718 name="reviewed_revno">
4719 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4720The revision id that has been approved by the reviewer.
4721</wadl:doc>
4722
4723 </wadl:param>
4724 </wadl:representation>
4725
4726 <!--Collection page for this type of entry-->
4727 <wadl:resource_type id="branch_merge_proposal-page-resource">
4728 <wadl:method name="GET"
4729 id="branch_merge_proposal-page-resource-get">
4730 <wadl:response>
4731 <wadl:representation
4732 href="#branch_merge_proposal-page"/>
4733 </wadl:response>
4734 </wadl:method>
4735 </wadl:resource_type>
4736
4737 <wadl:representation mediaType="application/json"
4738 id="branch_merge_proposal-page">
4739
4740 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
4741 <wadl:link/>
4742 </wadl:param>
4743
4744 <wadl:param style="plain" name="total_size" path="$['total_size']" required="true"/>
4745
4746 <wadl:param style="plain" name="start" path="$['start']" required="true"/>
4747
4748 <wadl:param style="plain" name="next_collection_link" path="$['next_collection_link']">
4749 <wadl:link resource_type="#branch_merge_proposal-page-resource"/>
4750 </wadl:param>
4751
4752 <wadl:param style="plain" name="prev_collection_link" path="$['prev_collection_link']">
4753 <wadl:link resource_type="#branch_merge_proposal-page-resource"/>
4754 </wadl:param>
4755
4756 <wadl:param style="plain" name="entries" path="$['entries']" required="true"/>
4757
4758 <wadl:param style="plain" name="entry_links" path="$['entries'][*]['self_link']">
4759 <wadl:link resource_type="http://api.launchpad.dev/beta/#branch_merge_proposal"/>
4760 </wadl:param>
4761 </wadl:representation>
4762
4763
4764
4765 <wadl:resource_type id="branch_subscription">
4766 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4767The relationship between a person and a branch.
4768</wadl:doc>
4769 <wadl:method name="GET" id="branch_subscription-get">
4770 <wadl:response>
4771 <wadl:representation
4772 href="http://api.launchpad.dev/beta/#branch_subscription-full"/>
4773 <wadl:representation
4774 mediaType="application/xhtml+xml"
4775 id="branch_subscription-xhtml"/>
4776 <wadl:representation
4777 mediaType="application/vnd.sun.wadl+xml"
4778 id="branch_subscription-wadl"/>
4779 </wadl:response>
4780 </wadl:method>
4781
4782 <wadl:method name="PUT" id="branch_subscription-put">
4783 <wadl:request>
4784 <wadl:representation
4785 href="http://api.launchpad.dev/beta/#branch_subscription-full"/>
4786 </wadl:request>
4787 </wadl:method>
4788
4789 <wadl:method name="PATCH"
4790 id="branch_subscription-patch">
4791 <wadl:request>
4792 <wadl:representation
4793 href="http://api.launchpad.dev/beta/#branch_subscription-diff"/>
4794 </wadl:request>
4795 </wadl:method>
4796
4797
4798
4799 </wadl:resource_type>
4800
4801
4802 <wadl:representation mediaType="application/json"
4803 id="branch_subscription-full">
4804 <wadl:param style="plain" name="self_link" path="$['self_link']">
4805 <wadl:doc>The canonical link to this resource.</wadl:doc>
4806 <wadl:link resource_type="http://api.launchpad.dev/beta/#branch_subscription"/>
4807 </wadl:param>
4808 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
4809 <wadl:doc>
4810 The link to the WADL description of this resource.
4811 </wadl:doc>
4812 <wadl:link/>
4813 </wadl:param>
4814 <wadl:param style="plain" name="http_etag" path="$['http_etag']">
4815 <wadl:doc>
4816 The value of the HTTP ETag for this resource.
4817 </wadl:doc>
4818 </wadl:param>
4819 <wadl:param style="plain" required="true"
4820 path="$['notification_level']"
4821 name="notification_level">
4822 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4823<p>Notification Level</p>
4824<p>Attribute notifications are sent when branch details are changed such as lifecycle status and name. Revision notifications are generated when new branch revisions are found due to the branch being updated through either pushes to the hosted branches or the mirrored branches being updated.</p>
4825
4826</wadl:doc>
4827
4828 <wadl:option value="No email"/>
4829 <wadl:option value="Branch attribute notifications only"/>
4830 <wadl:option value="Branch revision notifications only"/>
4831 <wadl:option value="Branch attribute and revision notifications"/>
4832 </wadl:param>
4833 <wadl:param style="plain" required="true"
4834 path="$['max_diff_lines']"
4835 name="max_diff_lines">
4836 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4837<p>Generated Diff Size Limit</p>
4838<p>Diffs greater than the specified number of lines will not be sent to the subscriber. The subscriber will still receive an email with the new revision details even if the diff is larger than the specified number of lines.</p>
4839
4840</wadl:doc>
4841
4842 <wadl:option value="Don't send diffs"/>
4843 <wadl:option value="500 lines"/>
4844 <wadl:option value="1000 lines"/>
4845 <wadl:option value="5000 lines"/>
4846 <wadl:option value="Send entire diff"/>
4847 </wadl:param>
4848 <wadl:param style="plain" required="true"
4849 path="$['review_level']"
4850 name="review_level">
4851 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4852<p>Code review Level</p>
4853<p>Control the kind of review activity that triggers notifications.</p>
4854
4855</wadl:doc>
4856
4857 <wadl:option value="No email"/>
4858 <wadl:option value="Status changes only"/>
4859 <wadl:option value="Email about all changes"/>
4860 </wadl:param>
4861 <wadl:param style="plain" required="true"
4862 path="$['person_link']" name="person_link">
4863 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4864<p>Person</p>
4865<p>Enter the launchpad id, or email address of the person you wish to subscribe to this branch. If you are unsure, use the &quot;Choose...&quot; option to find the person in Launchpad. You can only subscribe someone who is a registered user of the system.</p>
4866
4867</wadl:doc>
4868 <wadl:link resource_type="http://api.launchpad.dev/beta/#person"/>
4869 </wadl:param>
4870 <wadl:param style="plain" required="true"
4871 path="$['branch_link']" name="branch_link">
4872 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4873Branch ID
4874</wadl:doc>
4875 <wadl:link resource_type="http://api.launchpad.dev/beta/#branch"/>
4876 </wadl:param>
4877 </wadl:representation>
4878
4879 <wadl:representation mediaType="application/json"
4880 id="branch_subscription-diff">
4881 <wadl:param style="plain" required="false"
4882 path="$['notification_level']"
4883 name="notification_level">
4884 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4885<p>Notification Level</p>
4886<p>Attribute notifications are sent when branch details are changed such as lifecycle status and name. Revision notifications are generated when new branch revisions are found due to the branch being updated through either pushes to the hosted branches or the mirrored branches being updated.</p>
4887
4888</wadl:doc>
4889
4890 <wadl:option value="No email"/>
4891 <wadl:option value="Branch attribute notifications only"/>
4892 <wadl:option value="Branch revision notifications only"/>
4893 <wadl:option value="Branch attribute and revision notifications"/>
4894 </wadl:param>
4895 <wadl:param style="plain" required="false"
4896 path="$['max_diff_lines']"
4897 name="max_diff_lines">
4898 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4899<p>Generated Diff Size Limit</p>
4900<p>Diffs greater than the specified number of lines will not be sent to the subscriber. The subscriber will still receive an email with the new revision details even if the diff is larger than the specified number of lines.</p>
4901
4902</wadl:doc>
4903
4904 <wadl:option value="Don't send diffs"/>
4905 <wadl:option value="500 lines"/>
4906 <wadl:option value="1000 lines"/>
4907 <wadl:option value="5000 lines"/>
4908 <wadl:option value="Send entire diff"/>
4909 </wadl:param>
4910 <wadl:param style="plain" required="false"
4911 path="$['review_level']"
4912 name="review_level">
4913 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4914<p>Code review Level</p>
4915<p>Control the kind of review activity that triggers notifications.</p>
4916
4917</wadl:doc>
4918
4919 <wadl:option value="No email"/>
4920 <wadl:option value="Status changes only"/>
4921 <wadl:option value="Email about all changes"/>
4922 </wadl:param>
4923 </wadl:representation>
4924
4925 <!--Collection page for this type of entry-->
4926 <wadl:resource_type id="branch_subscription-page-resource">
4927 <wadl:method name="GET"
4928 id="branch_subscription-page-resource-get">
4929 <wadl:response>
4930 <wadl:representation
4931 href="#branch_subscription-page"/>
4932 </wadl:response>
4933 </wadl:method>
4934 </wadl:resource_type>
4935
4936 <wadl:representation mediaType="application/json"
4937 id="branch_subscription-page">
4938
4939 <wadl:param style="plain" name="resource_type_link" path="$['resource_type_link']">
4940 <wadl:link/>
4941 </wadl:param>
4942
4943 <wadl:param style="plain" name="total_size" path="$['total_size']" required="true"/>
4944
4945 <wadl:param style="plain" name="start" path="$['start']" required="true"/>
4946
4947 <wadl:param style="plain" name="next_collection_link" path="$['next_collection_link']">
4948 <wadl:link resource_type="#branch_subscription-page-resource"/>
4949 </wadl:param>
4950
4951 <wadl:param style="plain" name="prev_collection_link" path="$['prev_collection_link']">
4952 <wadl:link resource_type="#branch_subscription-page-resource"/>
4953 </wadl:param>
4954
4955 <wadl:param style="plain" name="entries" path="$['entries']" required="true"/>
4956
4957 <wadl:param style="plain" name="entry_links" path="$['entries'][*]['self_link']">
4958 <wadl:link resource_type="http://api.launchpad.dev/beta/#branch_subscription"/>
4959 </wadl:param>
4960 </wadl:representation>
4961
4962
4963
4964 <wadl:resource_type id="branch">
4965 <wadl:doc xmlns="http://www.w3.org/1999/xhtml">
4966A Bazaar branch.
4967</wadl:doc>
4968 <wadl:method name="GET" id="branch-get">
4969 <wadl:response>
4970 <wadl:representation
4971 href="http://api.launchpad.dev/beta/#branch-full"/>
4972 <wadl:representation
4973 mediaType="application/xhtml+xml" id="branch-xhtml"/>
4974 <wadl:representation
4975 mediaType="application/vnd.sun.wadl+xml"
4976 id="branch-wadl"/>
4977 </wadl:response>
4978 </wadl:method>
4979
4980 <wadl:method name="PUT" id="branch-put">
4981 <wadl:request>
4982 <wadl:representation
4983 href="http://api.launchpad.dev/beta/#branch-full"/>
4984 </wadl:request>
4985 </wadl:method>
4986
4987 <wadl:method name="PATCH" id="branch-patch">
4988 <wadl:request>
4989 <wadl:representation
4990 href="http://api.launchpad.dev/beta/#branch-diff"/>
4991 </wadl:request>
4992 </wadl:method>
4993
4994 <wadl:method name="DELETE" id="branch-delete"/>
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to status/vote changes: