Merge lp:~jkakar/launchpadlib/fake-launchpad into lp:launchpadlib

Proposed by Jamu Kakar
Status: Merged
Merged at revision: 118
Proposed branch: lp:~jkakar/launchpadlib/fake-launchpad
Merge into: lp:launchpadlib
Diff against target: 33196 lines (+33156/-0)
6 files modified
.bzrignore (+1/-0)
setup.py (+1/-0)
src/launchpadlib/testing/launchpad-wadl.xml (+32229/-0)
src/launchpadlib/testing/launchpad.py (+464/-0)
src/launchpadlib/testing/resources.py (+46/-0)
src/launchpadlib/testing/tests/test_launchpad.py (+415/-0)
To merge this branch: bzr merge lp:~jkakar/launchpadlib/fake-launchpad
Reviewer Review Type Date Requested Status
LAZR Developers Pending
Review via email: mp+26391@code.launchpad.net

Description of the change

This branch is a continuation of the branch/merge proposal here:

https://code.edge.launchpad.net/~jkakar/launchpadlib/testing-support/+merge/14444

It's the same as the branch that was pushed for that merge proposal,
except that support for lp_save has been added. It could be
improved, as described in the prior merge proposal, but I feel that
it's at an adequate state for merging. I'd like to go ahead and
merge it and push improvements in subsequent branches.

To post a comment you must log in.
Revision history for this message
Jamu Kakar (jkakar) wrote :

You can get a readable diff with this command:

bzr diff -r ancestor:lp:launchpadlib `bzr st -S -r ancestor:lp:launchpadlib|cut -d ' ' -f 3|grep -v xml`|less

Revision history for this message
Robert Collins (lifeless) wrote :

NB: the adding of the lp wadl for testing makes the diff useless - look at this in a local branch :P

Revision history for this message
Robert Collins (lifeless) wrote :

Oh, and I'd like to suggest a related thing, that perhaps could be done as a pre-requisite branch.

If shipping a wadl, why not include the date-time when it was included, so that the very first http call to get a wadl can be an IMS :)

73. By Jamu Kakar

- Removed unnecessary Makefile.

Revision history for this message
Jamu Kakar (jkakar) wrote :

Does anyone have time to look at this? It'd be great to get it
landed.

Revision history for this message
Leonard Richardson (leonardr) wrote :

> Oh, and I'd like to suggest a related thing, that perhaps could be done as a
> pre-requisite branch.
>
> If shipping a wadl, why not include the date-time when it was included, so
> that the very first http call to get a wadl can be an IMS :)

What does IMS stand for?

We could use the packaged WADL to prepopulate a client cache, but it would only give any benefit until the next time we revved launchpad. Never more than a month, expected value two weeks (since the launchpadlib release cycle has nothing to do with the launchpad release cycle) and most users would never benefit since they use old packaged versions.

Revision history for this message
Leonard Richardson (leonardr) wrote :

> What does IMS stand for?

Never mind, it stands for If-Modified-Since.

Revision history for this message
Leonard Richardson (leonardr) wrote :

I've gone through this branch. It's pretty complicated and I'm not prepared to do a full review yet, but I can tell you that it's good enough to build on. Go ahead and make your improvements in a branch based on this one.

I do have some suggestions and questions, from large-scale to small-scale:

1. I would like most of this code to eventually live in lazr.restfulclient, since it mostly has nothing to do with Launchpad per se. The only code that needs to live in launchpadlib is a) the credential code, b) the Launchpad WADL file itself, c) any code for Launchpad-specific index lookup operations like launchpad.people['leonardr']. This doesn't need to happen right now, but I would like it to be easy to move that code out.

2. Similarly, I would like to see most of the tests use a small, custom-designed WADL file (or several small files) rather than the Launchpad WADL file. This will make the tests easy to understand and will ensure that they don't break when the Launchpad WADL changes. It will also make it easy to put the tests in lazr.restfulclient. wadllib takes the "one WADL file per feature" approach for most of the tests added since the original release, and I think it's quite comprehensible.

3. I don't like the way you use "FakeResource" to cover the service root resource and entry resource, but not the collection resource. It seems like "FakeResource" should be a generic superclass and you should specialize. Even if the FakeServiceRootResource and FakeEntryResource are just empty subclasses of FakeResource, the code would be easier to read.

4.

+ # This is a crappy heuristic that attempts to guess the name
+ # of the key to use for index lookups.

Put the index lookups in a later branch, when you can do them properly. What is "properly"? I thought you might be able to do introspection on the CollectionWithKeyBasedLookup subclasses like PersonSet and BugSet, but I'm a little doubtful now. You might have to re-implement the _get_url_from_id implementations.

5. I don't understand why "The result of a fake method" is always a FakeResource. Your test_callable_object_return_type defines a method that returns a collection. Shouldn't it be a FakeCollectionResource? Between this and #3 I am getting the impression that FakeResource really _is_ an all-in-one resource class and that FakeCollectionResource is only used in certain circumstances. But I still don't have a good grasp of the difference.

I'll work on a more detailed review tomorrow.

Revision history for this message
Jonathan Lange (jml) wrote :

This might be a stupid idea, but maybe it would be nice to build up the wadl with Python expressions and then have a convenience function that says "make me a pretend webservice here". This would be somewhat in line with 2, except programmers wouldn't have to learn wadl.

Revision history for this message
Jamu Kakar (jkakar) wrote :

Leonard:

[1]

Agreed. I didn't really realize that was the right place for this
when I started, but it would be great if lazr.restfulclient using
applications had access to something like this out-of-the-box.

Okay, so the index-based lookups are something special layered on
top of the WADL and not something that can be determined directly
from it, right?

[2]

Using a small purpose-built WADL file is a good idea. As for
Jonathan's suggestion to use Python, I think anyone hacking on this
code probably ought to know how WADL works or or at least make
random guesses like I did. That said, maybe a WADL builder would be
useful in other places and could be used here.

Two things would have been very helpful:

1. Having a model-based representation of the model, so that I
   didn't have to deal with XML directly.

2. Documentation describing, in simple terms, how the WADL file
   works. I mostly guessed and, I think, mostly got things right.

[3]

That's a good idea, it is confusing right now.

[4]

I'll have to check this out, thanks for the hint.

[5]

The FakeCollection is only used for parameters that end in
_collection_link. I think you're right though, the logic that wraps
method call return types in FakeResource should be smarter and
determine if the return type is a collection.

Thanks for taking the time to look at this.

Revision history for this message
Jamu Kakar (jkakar) wrote :

Leonard:

Do you have time to look at this? I'd like to get it landed sooner
than later, but I'm still not quite sure what the blockers are.

Revision history for this message
Graham Binns (gmb) wrote :

Hi Jamu, Leonard: Is this branch still under development?

Revision history for this message
Jamu Kakar (jkakar) wrote :

Graham:

I keep thinking about this but I've also kind of lost steam on it
since it's been sitting here for ages. I'd love for it to be merged
because the lack of testability in launchpadlib is a big problem. My
feeling is that the API exposed to users of the test class is good but
that the internal details could be improved, as Leonard points out.
I'd like to see it landed and improved with subsequent branches, since
it's already useful.

74. By Jamu Kakar

- Merged trunk.

Revision history for this message
Jamu Kakar (jkakar) wrote :

I've merged trunk and run the tests. The WADL file still needs to be
updated (or changed to get pulled whenever tests run).

Revision history for this message
Martin Pool (mbp) wrote :

Thanks for writing this, Jamu. This is such a big gap for anyone writing Launchpad clients. I do feel getting some thing into this gap, however imperfect, is better than nothing. It's a real shame this has been sitting here for 20 months.

Perhaps this should go into a separate project where it can evolve separately of lazr.restful/launchpadlib and be perhaps cross a lower barrier? As far as I can see it doesn't actually patch anything in launchpadlib; it only adds new classes.

The main thing I would like to see both as a reviewer and would-be user is just a README demonstrating how one could use it, and what kind of thing it's supposed to help you with.

People trying to catch up on the history of this should read https://code.edge.launchpad.net/~jkakar/launchpadlib/testing-support/+merge/14444

I'm not very familiar with the internals of the existing implementation but the code for this looks reasonable to me, at least to the point where I would not be afraid to change it. I would like to see the xml-parsing stuff split out a bit from the FakeResource, and perhaps changed to use lxml, but there's no reason that needs to be done in the first iteration.

+ def test_callable_object_return_type(self):
+ """
+ The result of a fake method is a L{FakeResource}, automatically
+ created from the object used to define the return object.
+ """
+ branches = dict(total_size="8")
+ self.launchpad.me = dict(getBranches=lambda statuses: branches)
+ branches = self.launchpad.me.getBranches([])
+ self.assertTrue(isinstance(branches, FakeResource))
+ self.assertEqual("8", branches.total_size)
+

I feel I would like this to make a bigger distinction between code that's running "behind the scenes" to set up the mock object, vs things being done on the front end of the mock object once they're set up. It seems like assigning to "me" is a behind-the-scenes setup thing and not something you can do on a real Launchpad, whereas accessing its attributes is pretending to be talking to a real one.

Maybe this is not a meaningful distinction for this library?

Revision history for this message
Martin Pool (mbp) wrote :

.. you've probably thought about this much more than me, but it seems to me you'd want

1- interfaces that can potentially be used against either a real launchpad or a fake one, assuming the code calling them makes no assumptions about the existence or nonexistence of particular data - for instance making a person and setting some attributes on them should be in that class

2- interfaces that simulate behaviour or state we could assume would already be present on the other end of a remote launchpad, like the existence of 'me' or searchTasks

3- interfaces that populate sample data more quickly/efficiently than talking to Launchpad

Why do I think I want this?

+ self.launchpad.me = dict(getBranches=lambda statuses: branches)
+ branches = self.launchpad.me.getBranches([])

This seems oddly nonpythonic. I can guess there is a getattr hack there, and that's fine for simulating the behaviour on 'me.getBranches', but it seems odd to also load things into it by assigning to a dict.

Secondly, I feel that if just assigning to things works, there is a risk people will have code that accidentally passes, when assigning to lplib proxy objects won't behave the same way. Maybe this isn't a real problem, and we just need to write some actual tests using this to see what happens.

Revision history for this message
Jamu Kakar (jkakar) wrote :

> Thanks for writing this, Jamu. This is such a big gap for anyone writing
> Launchpad clients. I do feel getting some thing into this gap, however
> imperfect, is better than nothing. It's a real shame this has been sitting
> here for 20 months.
>
> Perhaps this should go into a separate project where it can evolve separately
> of lazr.restful/launchpadlib and be perhaps cross a lower barrier? As far as
> I can see it doesn't actually patch anything in launchpadlib; it only adds new
> classes.

That's an interesting idea... though it feels like a compromise, but
maybe one worth making to get the code out and more easily accessible.

> The main thing I would like to see both as a reviewer and would-be user is
> just a README demonstrating how one could use it, and what kind of thing it's
> supposed to help you with.

Good call.

> People trying to catch up on the history of this should read
> https://code.edge.launchpad.net/~jkakar/launchpadlib/testing-
> support/+merge/14444
>
> I'm not very familiar with the internals of the existing implementation but
> the code for this looks reasonable to me, at least to the point where I would
> not be afraid to change it. I would like to see the xml-parsing stuff split
> out a bit from the FakeResource, and perhaps changed to use lxml, but there's
> no reason that needs to be done in the first iteration.
>
> + def test_callable_object_return_type(self):
> + """
> + The result of a fake method is a L{FakeResource}, automatically
> + created from the object used to define the return object.
> + """
> + branches = dict(total_size="8")
> + self.launchpad.me = dict(getBranches=lambda statuses: branches)
> + branches = self.launchpad.me.getBranches([])
> + self.assertTrue(isinstance(branches, FakeResource))
> + self.assertEqual("8", branches.total_size)
> +
>
> I feel I would like this to make a bigger distinction between code that's
> running "behind the scenes" to set up the mock object, vs things being done on
> the front end of the mock object once they're set up. It seems like assigning
> to "me" is a behind-the-scenes setup thing and not something you can do on a
> real Launchpad, whereas accessing its attributes is pretending to be talking
> to a real one.
>
> Maybe this is not a meaningful distinction for this library?

Yeah, so the way it works, and the reason for the weird dict()-based
interface is that you set fake data on the FakeLaunchpad
object... when that happens, it validates it against the WADL file to
make sure that what you're setting is actually possible. Each of
those dict()'s being set on the FakeLaunchpad instance represent
objects that would be exposed on the real Launchpad instance. When
you set an object, say to represent a person, you don't have to
provide all the attributes and methods the real version would have,
just the ones you care about for your test.

It really is a bit of a hack, but the best one I could think of. I
haven't used this code in a real project, so I can only guess that the
WADL validation will prevent silly problems.

Revision history for this message
Jamu Kakar (jkakar) wrote :

> .. you've probably thought about this much more than me, but it seems to me
> you'd want
>
> 1- interfaces that can potentially be used against either a real launchpad or
> a fake one, assuming the code calling them makes no assumptions about the
> existence or nonexistence of particular data - for instance making a person
> and setting some attributes on them should be in that class

Yes. If I understand correctly, that's basically what is in place,
except that the interface is some XML in a WADL file.

> 2- interfaces that simulate behaviour or state we could assume would already
> be present on the other end of a remote launchpad, like the existence of 'me'
> or searchTasks

Yes, these are basically defined in the WADL file.

> 3- interfaces that populate sample data more quickly/efficiently than talking
> to Launchpad

I don't think I really understand this...?

> Why do I think I want this?
>
> + self.launchpad.me = dict(getBranches=lambda statuses: branches)
> + branches = self.launchpad.me.getBranches([])
>
> This seems oddly nonpythonic. I can guess there is a getattr hack there, and
> that's fine for simulating the behaviour on 'me.getBranches', but it seems odd
> to also load things into it by assigning to a dict.
>
> Secondly, I feel that if just assigning to things works, there is a risk
> people will have code that accidentally passes, when assigning to lplib proxy
> objects won't behave the same way. Maybe this isn't a real problem, and we
> just need to write some actual tests using this to see what happens.

As above, the WADL validation should help. The real point of the
FakeLaunchpad instance is just to create a place to hang fake data
off. You then hand the fake into your application, as though it were
a real Launchpad instance, and, if you've provided all the right bits,
everything should work.

It's a bit tricky because launchpadlib doesn't have a set of
pre-defined interfaces. Almost everything it exposes is built based
on the WADL file.

Revision history for this message
Gavin Panella (allenap) wrote :

The signatures for some methods has changed in launchpadlib, so the
fakes are a little out of date.

For those methods with optional arguments I think it's okay if the
fake accepts a subset of the arguments - it will still be useful - but
they still must be in-sync with the real methods. We could add some
tests to automatically compare using inspect.getargspec.

If this small amount of work is done I think this code should be in
launchpadlib rather than going stale outside of it. Even if it's not
perfect (when are fakes perfect?) I think it's useful. It also
self-selects contributors: anyone using it will be perfectly capable
of contributing to it, and motivated to do so.

Revision history for this message
Jonathan Lange (jml) wrote :

On Thu, Apr 14, 2011 at 2:54 PM, Gavin Panella
<email address hidden> wrote:
...
> (when are fakes perfect?)

When the tests for the real thing also run against the fakes.

jml

Revision history for this message
Jamu Kakar (jkakar) wrote :

It's been awhile since I looked at this, so not surprised there's some
bitrot... I guess one issue is that there's an old WADL here, whereas
the WADL should probably be pulled dynamically. Does anyone know what
we need to do to get this landed...? It's not clear to me anymore.

I think my preference would be to fix the most important issues and
get this merged. After that, we can iterate to improve the logic
(it's a bit tricky in places).

Revision history for this message
Robert Collins (lifeless) wrote :

On Fri, Apr 15, 2011 at 2:13 AM, Jamu Kakar <email address hidden> wrote:
> It's been awhile since I looked at this, so not surprised there's some
> bitrot... I guess one issue is that there's an old WADL here, whereas
> the WADL should probably be pulled dynamically.  Does anyone know what
> we need to do to get this landed...?  It's not clear to me anymore.
>
> I think my preference would be to fix the most important issues and
> get this merged.  After that, we can iterate to improve the logic
> (it's a bit tricky in places).

+1

Revision history for this message
Gavin Panella (allenap) wrote :

> It's been awhile since I looked at this, so not surprised there's some
> bitrot... I guess one issue is that there's an old WADL here, whereas
> the WADL should probably be pulled dynamically. Does anyone know what
> we need to do to get this landed...? It's not clear to me anymore.

I think the signatures of the methods that are faked need to be
updated where they're out of date. It would be nice to have a test to
keep them in sync, but I don't think that should block landing.

Perhaps the WADL could be updated too. Not being able to get it
dynamically should not block landing either, IMO.

It might be worth issuing a warning when importing the new modules,
just to tell people that it's an alpha feature for now.

Revision history for this message
Jamu Kakar (jkakar) wrote :

Gavin:

The signatures of fakes are validated against the WADL, so the issue
isn't really in FakeLaunchpad as much as it's because the WADL is old.
Basically, FakeLaunchpad doesn't know anything about the data
model--it just verifies that fakes you create match the WADL.

Preview Diff

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

Subscribers

People subscribed via source and target branches