The Launchpad web service allows automated clients to access most of the functionality available on the Launchpad web site. For help getting started, see the help wiki.
This version of the web service reflects the most recent changes made. It may abruptly change without warning. Periodically, these changes are bundled up and given a permanent version number.
Other Launchpad API resources:
Parameter | Value | Description |
---|---|---|
credentials |
`Credentials` | The credentials used to access Launchpad. |
service_root |
String | The URL to the root of the web service. |
cache |
||
timeout |
||
proxy_info |
Get credentials from Launchpad and log into the service root.
This opens the user's preferred web browser, allowing them to login to Launchpad to provide authorization and allow an OAuth access token to be given to the application.
Parameter | Value | Description |
---|---|---|
consumer_name |
string | The consumer name, as appropriate for the `Consumer` constructor |
service_root |
(optional) string |
The URL to the root of the web service. |
cache |
(optional) |
|
timeout |
(optional) |
|
proxy_info |
(optional) |
|
authorizer_class |
(optional) |
|
allow_access_levels |
(optional) List of one or more of:
|
Access Levels to Allow This permits limiting the number of choices presented to the user to only those relevant for the application. |
max_failed_attempts |
(optional) int |
Defaults to 3 |
Convenience for setting up access credentials.
When all three pieces of credential information (the consumer name, the access token and the access secret) are available, this method can be used to quickly log into the service root.
Parameter | Value | Description |
---|---|---|
consumer_name |
string | The consumer name, as appropriate for the `Consumer` constructor |
token_string |
the access token, as appropriate for the `AccessToken` constructor |
|
access_secret |
the access token's secret, as appropriate for the `AccessToken` constructor |
|
service_root |
(optional) string |
The URL to the root of the web service. |
cache |
(optional) |
|
timeout |
(optional) |
|
proxy_info |
(optional) |
Parameter | Value | Description |
---|---|---|
consumer_name |
string | The consumer name, as appropriate for the `Consumer` constructor |
service_root |
(optional) string |
The URL to the root of the web service. Defaults to https://api.staging.launchpad.net/beta/ |
launchpadlib_dir |
(optional) string |
The directory where the cache and credentials are stored |
timeout |
(optional) |
|
proxy_info |
(optional) |
Log in to Launchpad with possibly cached credentials.
This is a convenience method for either setting up new login credentials, or re-using existing ones. When a login token is generated using this method, the resulting credentials will be saved in `credentials_file`, or if not given, into the `launchpadlib_dir` directory. If the same `credentials_file`/`launchpadlib_dir` is passed in a second time, the credentials in for the consumer will be used automatically.
Each consumer has their own credentials per service root in `launchpadlib_dir`. `launchpadlib_dir` is also used for caching fetched objects. The cache is per service root, and shared by all consumers.
See `Launchpad.get_token_and_login()` for more information about how new tokens are generated.
Parameter | Value | Description |
---|---|---|
consumer_name |
string | The consumer name, as appropriate for the `Consumer` constructor |
service_root |
(optional) string |
The URL to the root of the web service. |
launchpadlib_dir |
(optional) string |
The directory where the cache and credentials are stored |
timeout |
(optional) |
|
proxy_info |
(optional) |
|
authorizer_class |
(optional) |
|
allow_access_levels |
(optional) list #TODO# |
|
max_failed_attempts |
(optional) int |
Defaults to 3 |
credentials_file |
(optional) |
from launchpadlib.launchpad import Launchpad launchpad = Launchpad.login_with('hello-world', 'edge') print 'Hello, %s!' % launchpad.me.display_name
from launchpadlib.launchpad import Launchpad launchpad = Launchpad.get_token_and_login('hello-world-writable', allow_access_levels=['WRITE_PUBLIC']) print 'Hello, %s!' % launchpad.me.display_name
import httplib2 httplib2.debuglevel = 1
This enables detailed traces of requests launchpadlib makes. This can be worthwhile for debugging issues or optimizing performance.
The semi-private _browser member routine provides a way to grab the raw JSON using the current authentication.
from launchpadlib.launchpad import Launchpad launchpad = Launchpad.login_with('hello-world','edge', '.my-cache') # Our authenticated browser object browser = launchpad._browser def get_person_as_json(person_name): person = launchpad.people[person_name] if not person: # Oops, this person does not exist. return None return browser.get(person.self_link)
Launchpad keeps track of code trees for projects. This can include trunk branches as well as multiple team or personal branches.
The top level branches collection gives an access point to any branch stored within Launchpad.
https://api.edge.launchpad.net/devel/branches
Find a branch by its ~owner/product/name unique name.
Return None if no match was found.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByUniqueName | The name of the operation being invoked. |
unique_name | (required) | Branch unique name |
Response contains an
application/json
representation of a
branch.
Find a branch by URL.
Either from the external specified in Branch.url, from the URL on http://bazaar.launchpad.net/ or the lp: URL.
This is a frontend shim to IBranchLookup.getByUrl to allow it to be exported over the API. If you want to call this from within the Launchpad app, use the IBranchLookup version instead.
Return None if no match was found.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByUrl | The name of the operation being invoked. |
url | (required) | Branch URL |
Response contains an
application/json
representation of a
branch.
Finds branches by URL.
Either from the external specified in Branch.url, from the URL on http://bazaar.launchpad.net/, or from the lp: URL.
This is a frontend shim to IBranchLookup.getByUrls to allow it to be exported over the API. If you want to call this from within the Launchpad app, use the IBranchLookup version instead.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getByUrls |
The name of the operation being invoked. |
urls |
(required) |
A list of URLs of branches These can be URLs external to Launchpad, lp: URLs, or http://bazaar.launchpad.net/ URLs, or any mix of all these different kinds. |
A set of IBugTracker's.
Each BugTracker is a distinct instance of a bug tracking tool. For example, bugzilla.mozilla.org is distinct from bugzilla.gnome.org.
https://api.edge.launchpad.net/devel/bug_trackers
Get a BugTracker by its name.
If no tracker with the given name exists, return default.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByName | The name of the operation being invoked. |
name | (required) | The bug tracker name |
Response contains an
application/json
representation of a
bug_tracker.
Return one or None BugTracker's by baseurl
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: queryByBaseURL | The name of the operation being invoked. |
base_url | (required) | The base URL of the bug tracker |
Response contains an
application/json
representation of a
bug_tracker.
Make sure that there is a bugtracker for the given base url.
If not, create one using the given attributes.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: ensureBugTracker | The name of the operation being invoked. |
base_url | (required) |
Location 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. |
bug_tracker_type | One of:
| Bug Tracker Type |
contact_details |
Contact details The contact details for the external bug tracker (so that, for example, its administrators can be contacted about a security breach). | |
name |
Name An URL-friendly name for the bug tracker, such as "mozilla-bugs". | |
summary |
Summary A brief introduction or overview of this bug tracker instance. | |
title |
Title A descriptive label for this tracker to show in listings. |
On success, the response status will be 201 and the Location header will contain the link to the newly created bug_tracker.
The bugs collection provides a high level interface to the collection of all bugs reported in Launchpad.
An individual bug is represented as a set of one or more 'bug_tasks', which reflect the status and importance of the issue across multiple source packages and/or projects. See bug and bug_task for more details.
Internally, the subset of Launchpad that handles bugs is named malone.
https://api.edge.launchpad.net/devel/bugs
Create a bug (with an appropriate bugtask) and return it.
Things to note when using this factory:
- the owner will be subscribed to the bug
- distribution, product and package contacts (whichever ones are applicable based on the bug report target) will bug subscribed to all public bugs only
- for public upstreams bugs where there is no upstream bug contact, the product owner will be subscribed instead
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createBug | The name of the operation being invoked. |
description | (required) |
Description
|
private |
This bug report should be private Private bug reports are visible only to their subscribers. | |
security_related |
Security Related This bug is a security vulnerability. | |
tags |
Tags List of tag strings applied to this bug. | |
target | (required) Link to a bug_target. | The project, distribution or source package that has this bug. |
title | (required) |
Summary A one-line summary of the problem. |
On success, the response status will be 201 and the Location header will contain the link to the newly created bug.
A container for countries.
https://api.edge.launchpad.net/devel/countries
Return a country by its code.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByCode | The name of the operation being invoked. |
code | (required) | Code |
Response contains an
application/json
representation of a
country.
Return a country by its name.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByName | The name of the operation being invoked. |
name | (required) | Name |
Response contains an
application/json
representation of a
country.
The set of ICve objects. CVE's (Common Vulnerabilities and Exposures) are bugs which are publically identified security vulnerabilities.
https://api.edge.launchpad.net/devel/cves
Interface for DistrosSet. A distribution is a product which integrates a large collection of source packages to implement an operating system.
https://api.edge.launchpad.net/devel/distributions
The collection of languages.
The standard get method will return only the visible languages. If you want to access all languages known to Launchpad, use the getAllLanguages method.
https://api.edge.launchpad.net/devel/languages
Return a result set of all ILanguages from Launchpad.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getAllLanguages | The name of the operation being invoked. |
Response contains an
application/json
representation of a
language
collection
.
A Person.
https://api.edge.launchpad.net/devel/person
Return private archive URLs that this person can see.
For each of the private archives (PPAs) that this person can see, return a URL that includes the HTTP basic auth data. The URL returned is suitable for including in a sources.list file.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getArchiveSubscriptionURLs |
Returns all branches with the given lifecycle status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBranches | |
modified_since | Limit the branches to those modified since this date. | |
status | A list of branch lifecycle statuses to filter by. |
Response contains an
application/json
representation of a
branch
collection
.
Return the people whose membership on this team match :status:.
If no orderby is provided, Person.sortingColumns is used.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMembersByStatus | |
status | (required) One of:
| The state of this membership |
Response contains an
application/json
representation of a
person
collection
.
Returns all merge proposals of a given status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMergeProposals | |
status | A list of merge proposal statuses to filter by. |
Response contains an
application/json
representation of a
branch_merge_proposal
collection
.
Return a PPA with the given name if it exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPPAByName | |
name | (required) |
Response contains an
application/json
representation of a
archive.
Return the person's recipe with the given name.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getRecipe | |
name | (required) |
Response contains an
application/json
representation of a
source_package_recipe.
Returns merge proposals where a person was asked to review.
This does not include merge proposals that were requested from teams that the person is part of. If status is not passed then it will return proposals that are in the "Needs Review" state.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getRequestedReviews | |
status | A list of merge proposal statuses to filter by. |
Response contains an
application/json
representation of a
branch_merge_proposal
collection
.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | |
affected_user | Link to a person. | |
assignee | Link to a person. | |
bug_commenter | Link to a person. | |
bug_reporter | Link to a person. | |
bug_subscriber | Link to a person. | |
bug_supervisor | Link to a person. | |
component |
Component Distribution package archive grouping. E.g. main, universe, multiverse | |
hardware_bus | One of:
| The bus of a hardware device related to a bug |
hardware_driver_name | The driver controlling a hardware device related to a bug. | |
hardware_driver_package_name | The package of the driver which controls a hardware device related to a bug. | |
hardware_is_linked_to_bug | Search for bugs which are linked to hardware reports which contain the given device or whcih contain a devicecontrolled by the given driver. | |
hardware_owner_is_affected_by_bug | Search for bugs where people affected by a bug own the given device or use the given hardware driver. | |
hardware_owner_is_bug_reporter | Search for bugs reported by people who own the given device or who use the given hardware driver. | |
hardware_owner_is_subscribed_to_bug | Search for bugs where a bug subscriber owns the given device or uses the given hardware driver. | |
hardware_product_id |
The product ID of a hardware device related to a bug. Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
hardware_vendor_id |
The vendor ID of a hardware device related to a bug. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
has_cve | True or False | Show only bugs associated with a CVE. |
has_no_package | True or False | Exclude bugs with packages specified. |
has_patch | True or False | Show only bugs with patches available. |
importance |
Importance Show only bugs with the given importance or list of importances. | |
linked_branches | One of:
| Search for bugs that are linked to branches or for bugs that are not linked to branches. |
milestone |
Milestone Show only bug tasks targeted to this milestone. | |
milestone_assignment | Target | |
nominated_for | Link to a distro_series. | |
omit_duplicates | True or False | Omit bugs marked as duplicate. |
omit_targeted | True or False | Omit bugs targeted to series. |
order_by | List of fields by which the results are ordered. | |
owner | Link to a person. | |
search_text | Bug ID or search text. | |
status |
Status Show only bugs with the given status value or list of values. See bug_task for list of valid status values. | |
status_upstream |
One of:
|
Status upstream Indicates the status of any remote watches associated with the bug. |
tags |
Tags String or list of strings for tags to search. To exclude, prepend a '-', e.g. '-unwantedtag' | |
tags_combinator | One of:
|
Tags combination Search for any or all of the tags specified. |
Response contains an
application/json
representation of a
bug_task
collection
.
Accept an invitation to become a member of the given team.
There must be a TeamMembership for this person and the given team with the INVITED status. The status of this TeamMembership will be changed to APPROVED.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: acceptInvitationToBeMemberOf |
|
comment |
(required) |
|
team |
(required) Link to a person. |
Team |
Add the given person as a member of this team.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addMember |
|
comment |
||
person |
(required) Link to a person. |
Member |
status |
One of:
|
The state of this membership |
Create a SourcePackageRecipe owned by this person.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createRecipe | |
description | (required) | |
distroseries | (required) | |
name | (required) | |
recipe_text | (required) | |
sourcepackagename | (required) |
On success, the response status will be 201 and the Location header will contain the link to the newly created source_package_recipe.
Decline an invitation to become a member of the given team.
There must be a TeamMembership for this person and the given team with the INVITED status. The status of this TeamMembership will be changed to INVITATION_DECLINED.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: declineInvitationToBeMemberOf |
|
comment |
(required) |
|
team |
(required) Link to a person. |
Team |
Join the given team if its subscriptionpolicy is not RESTRICTED.
Join the given team according to the policies and defaults of that team:
If may_subscribe_to_list is True, then also attempt to subscribe to the team's mailing list, depending on the list status and the person's auto-subscribe settings.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: join |
|
team |
(required) Link to a person. |
Team |
Leave the given team.
If there's a membership entry for this person on the given team and its status is either APPROVED or ADMIN, we change the status to DEACTIVATED and remove the relevant entries in teamparticipation.
Teams cannot call this method because they're not allowed to login and thus can't 'leave' another team. Instead, they have their subscription deactivated (using the setMembershipData() method) by a team administrator.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: leave |
|
team |
(required) Link to a person. |
Team |
Specify the location and time zone of a person.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setLocation |
|
latitude |
(required) |
The latitude of this object. |
longitude |
(required) |
The longitude of this object. |
time_zone |
(required) |
The time zone of this object. |
Specify the visibility of a person's location and time zone.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setLocationVisibility |
|
visible |
Is this location record visible? |
An interface for multiple package sets.
https://api.edge.launchpad.net/devel/packagesets
Return the single package set with the given name (if any).
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByName | The name of the operation being invoked. |
distroseries | Link to a distro_series. |
Distroseries The distribution series to which the packageset is related. |
name | (required) | Package set name |
Response contains an
application/json
representation of a
packageset.
Get the package sets that include this source package.
Return all package sets that directly or indirectly include the given source package name.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: setsIncludingSource | The name of the operation being invoked. |
direct_inclusion | ||
distroseries | Link to a distro_series. |
Distribution series The distroseries to which this package set is related. |
sourcepackagename | (required) | Source package name |
Response contains an
application/json
representation of a
packageset
collection
.
Create a new package set.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new | The name of the operation being invoked. |
description | (required) | Package set description |
distroseries | Link to a distro_series. |
Distroseries The distribution series to which the packageset is related. |
name | (required) | Valid package set name |
owner | (required) Link to a person. |
Person The person who owns this package set. |
related_set | Link to a packageset. |
Related package set The new package set will share the package set group with this one. |
On success, the response status will be 201 and the Location header will contain the link to the newly created packageset.
The set of Persons.
https://api.edge.launchpad.net/devel/people
Return all non-merged Persons and Teams whose name, displayname or email address match <text>.
The results will be ordered using the default ordering specified in Person._defaultOrder.
While we don't have Full Text Indexes in the emailaddress table, we'll be trying to match the text only against the beginning of an email address.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: find | The name of the operation being invoked. |
text | (required) | Search text |
Response contains an
application/json
representation of a
person
collection
.
Return all non-merged Persons with at least one email address whose name, displayname or email address match <text>.
If text is an empty string, all persons with at least one email address will be returned.
The results will be ordered using the default ordering specified in Person._defaultOrder.
If exclude_inactive_accounts is True, any accounts whose account_status is any of INACTIVE_ACCOUNT_STATUSES will not be in the returned set.
If must_have_email is True, only people with one or more email addresses are returned.
While we don't have Full Text Indexes in the emailaddress table, we'll be trying to match the text only against the beginning of an email address.
If created_before or created_after are not None, they are used to restrict the search to the dates provided.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findPerson | The name of the operation being invoked. |
created_after | Created after | |
created_before | Created before | |
text | (required) | Search text |
Response contains an
application/json
representation of a
person
collection
.
Return all Teams whose name, displayname or email address match <text>.
The results will be ordered using the default ordering specified in Person._defaultOrder.
While we don't have Full Text Indexes in the emailaddress table, we'll be trying to match the text only against the beginning of an email address.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findTeam | The name of the operation being invoked. |
text | (required) | Search text |
Response contains an
application/json
representation of a
person
collection
.
Return the person with the given email address.
Return None if there is no person with the given email address.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByEmail | The name of the operation being invoked. |
(required) |
Response contains an
application/json
representation of a
person.
Create and return a new Team with given arguments.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newTeam | The name of the operation being invoked. |
default_membership_period |
Subscription period 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. | |
default_renewal_period |
Renewal period 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. | |
display_name | (required) |
Display Name Your name as you would like it displayed throughout Launchpad. Most people use their full name here. |
name | (required) |
Name A short unique name, beginning with a lower-case letter or number, and containing only letters, numbers, dots, hyphens, or plus signs. |
subscription_policy | One of:
| Subscription policy |
team_description |
Team Description Details about the team's work, highlights, goals, and how to contribute. Use plain text, paragraphs are preserved and URLs are linked in pages. |
On success, the response status will be 201 and the Location header will contain the link to the newly created team.
An object for searching across projects, project groups, and distros.
Projects, project groups, and distributions are collectively known as "pillars". This object lets you do a combined search across all types of pillars. It also gives you access to pillars that have been flagged by administrators as "featured" pillars.
https://api.edge.launchpad.net/devel/pillars
Return Projects/Project groups/Distros matching :text:.
If :limit: is None, the default batch size will be used.
The results are ordered descending by rank.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: search | |
limit | Maximum number of items to return. This is a hard limit: any pagination you request will happen within this limit. | |
text | (required) | Search text |
Response contains an
application/json
representation of a
pillar
collection
.
The collection of projects.
https://api.edge.launchpad.net/devel/project_groups
Search through the Registry database for projects that match the query terms. text is a piece of text in the title / summary / description fields of project (and possibly product). soyuz, bazaar, malone etc are hints as to whether the search should be limited to projects that are active in those Launchpad applications.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: search | The name of the operation being invoked. |
text | Search text |
Response contains an
application/json
representation of a
project_group
collection
.
https://api.edge.launchpad.net/devel/projects
Return the latest projects registered in Launchpad.
If the quantity is not specified or is a value that is not 'None' then the set of projects returned is limited to that value (the default quantity is 5). If quantity is 'None' then all projects are returned. For the web service it is not possible to specify the quantity, so all projects are returned, latest first.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: latest | The name of the operation being invoked. |
Response contains an
application/json
representation of a
project
collection
.
Return an iterator over products that need to be reviewed.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: licensing_search | The name of the operation being invoked. |
active | Is the project active | |
created_after | Created after date | |
created_before | Created before date | |
has_zero_licenses | True or False | Has zero licenses |
license_info_is_empty | License info is empty | |
license_reviewed | Is the project license reviewed | |
licenses | Licenses | |
search_text | Search text | |
subscription_expires_after | Subscription expires after | |
subscription_expires_before | Subscription expired before | |
subscription_modified_after | Subscription modified after | |
subscription_modified_before | Subscription modified before |
Response contains an
application/json
representation of a
project
collection
.
Search through the Registry database for products that match the query terms. text is a piece of text in the title / summary / description fields of product. soyuz, bazaar, malone etc are hints as to whether the search should be limited to products that are active in those Launchpad applications.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: search | The name of the operation being invoked. |
text | Search text |
Response contains an
application/json
representation of a
project
collection
.
Create and return a brand new Product.
See IProduct for a description of the parameters.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new_project | The name of the operation being invoked. |
description |
Description 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. | |
display_name | (required) |
Display Name
|
download_url |
Download URL
| |
freshmeat_project |
Freshmeat Project
| |
home_page_url |
Homepage URL
| |
license_info |
Description of additional licenses Description of licenses that do not appear in the list above. | |
license_reviewed |
Project reviewed Whether or not this project has been reviewed. If you looked at the project and how it uses Launchpad, you reviewed it. | |
licenses | Licenses | |
name | (required) |
Name 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. |
programming_lang |
Programming Languages
| |
project_group | Link to a project_group. |
Part of 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. |
registrant | Link to a person. |
Registrant This person registered the project in Launchpad. |
screenshots_url |
Screenshots URL
| |
sourceforge_project |
Sourceforge Project
| |
summary | (required) |
Summary A short paragraph to introduce the project's work. |
title | (required) |
Title The project title. Should be just a few words. |
wiki_url |
Wiki URL
|
On success, the response status will be 201 and the Location header will contain the link to the newly created project.
A tool to create temporary blobs.
https://api.edge.launchpad.net/devel/temporary_blobs
Retrieve a TemporaryBlobStorage by uuid.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: fetch |
The name of the operation being invoked. |
token |
(required) |
UUID |
A set of files to be imported into Rosetta.
https://api.edge.launchpad.net/devel/translation_import_queue_entries
Return all entries this import queue has.
If any of target, status or file_extension are given, the returned entries are filtered based on those values.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getAllEntries | The name of the operation being invoked. |
import_status | The status of the import. |
Response contains an
application/json
representation of a
translation_import_queue_entry
collection
.
Return the first entry of the queue ready to be imported.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getFirstEntryToImport | The name of the operation being invoked. |
target | Link to a object_with_translation_imports. |
Response contains an
application/json
representation of a
translation_import_queue_entry.
List Product`s and `DistroSeries with pending imports.
All returned items will implement IHasTranslationImports.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getRequestTargets | The name of the operation being invoked. |
status | The status of the import. |
Response contains an
application/json
representation of a
object_with_translation_imports
collection
.
Main Archive interface.
https://api.edge.launchpad.net/devel/<distribution>/+archive/<archive.name>
Key | Value | Description |
---|---|---|
dependencies_collection_link |
(read-only) Link to a archive_dependency collection. |
Archive dependencies recorded for this archive. |
description |
(writeable) |
Archive contents description A short description of this archive's contents. |
displayname |
(writeable) |
Displayname Displayname for this archive. |
distribution_link |
(writeable) Link to a distribution. |
The distribution that uses or is used by this archive. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
Name The name of this archive. |
owner_link |
(writeable) Link to a person. |
Owner The archive owner. |
private |
(writeable) |
Private 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. |
require_virtualized |
(writeable) |
Require Virtualized Builder Whether this archive requires its packages to be built on a virtual builder. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
signing_key_fingerprint |
(writeable) |
Archive signing key fingerprint A OpenPGP signing key fingerprint (40 chars) for this PPA or None if there is no signing key available. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Return the IArchiveDependency object for the given dependency.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getArchiveDependency | |
dependency | (required) Link to a archive. |
Response contains an
application/json
representation of a
archive_dependency.
Return a dictionary containing the build counters for an archive.
This is necessary currently because the IArchive.failed_builds etc. counters are not in use.
The returned dictionary contains the follwoing keys and values:
- 'total': total number of builds (includes SUPERSEDED);
- 'pending': number of builds in BUILDING or NEEDSBUILD state;
- 'failed': number of builds in FAILEDTOBUILD, MANUALDEPWAIT, CHROOTWAIT and FAILEDTOUPLOAD state;
- 'succeeded': number of SUCCESSFULLYBUILT builds.
- 'superseded': number of SUPERSEDED builds.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getBuildCounters |
|
include_needsbuild |
Include builds with state NEEDSBUILD |
Return build records in the context it is implemented.
It excludes build records generated by Gina (imported from a external repository), where IBuild.datebuilt is null and IBuild.buildstate is BuildStatus.FULLYBUILT.
The result is simply not filtered if the optional filters are omitted by call sites.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBuildRecords | |
build_state | One of:
|
Build status The status of this build record |
One of:
|
The pocket into which this entry is published | |
source_name | Source package name |
Response contains an
application/json
representation of a
build
collection
.
Return a dictionary containing a summary of the build statuses.
Only information for sources belonging to the current archive will be returned. See IPublishingSet.getBuildStatusSummariesForSourceIdsAndArchive() for details.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getBuildSummariesForSourceIds |
|
source_ids |
(required) |
A list of source publishing history record ids. |
Return IArchivePermission for the person's queue admin components
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getComponentsForQueueAdmin | |
person | (required) Link to a person. |
Response contains an
application/json
representation of a
archive_permission
collection
.
All package set based permissions for the given source.
This method is meant to aid the process of "debugging" package set based archive permission since It allows the listing of permissions for the given source package in this archive (irrespective of the principal).
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPackagesetsForSource | |
direct_permissions | Ignore package set hierarchy | |
sourcepackagename | (required) | Source package name |
Response contains an
application/json
representation of a
archive_permission
collection
.
The package set based permissions for a given source and uploader.
apply to this archive
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPackagesetsForSourceUploader | |
person | (required) Link to a person. | |
sourcepackagename | (required) | Source package name |
Response contains an
application/json
representation of a
archive_permission
collection
.
The ArchivePermission records for the person's package sets.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPackagesetsForUploader | |
person | (required) Link to a person. |
Response contains an
application/json
representation of a
archive_permission
collection
.
Return the IArchivePermission records applicable to the person.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPermissionsForPerson | |
person | (required) Link to a person. |
Response contains an
application/json
representation of a
archive_permission
collection
.
All IBinaryPackagePublishingHistory target to this archive.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPublishedBinaries | |
binary_name | Binary Package Name | |
distro_arch_series | Link to a distro_arch_series. | Distro Arch Series |
exact_match | Whether or not to filter binary names by exact matching. | |
One of:
|
The pocket into which this entry is published | |
status | One of:
|
Package Publishing Status The status of this publishing record |
version | Version |
Response contains an
application/json
representation of a
binary_package_publishing_history
collection
.
All ISourcePackagePublishingHistory target to this archive.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPublishedSources | |
created_since_date |
Created Since Date Return entries whose date_created is greater than or equal to this date. | |
distro_series | Link to a distro_series. | Distroseries name |
exact_match |
Exact Match Whether or not to filter source names by exact matching. | |
One of:
|
The pocket into which this entry is published | |
source_name | Source package name | |
status | One of:
|
Package Publishing Status The status of this publishing record |
version | Version |
Response contains an
application/json
representation of a
source_package_publishing_history
collection
.
Return IArchivePermission records for authorised queue admins.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getQueueAdminsForComponent | |
component_name | (required) | Component Name |
Response contains an
application/json
representation of a
archive_permission
collection
.
Return IArchivePermission records for the component's uploaders.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getUploadersForComponent | |
component_name | Component Name |
Response contains an
application/json
representation of a
archive_permission
collection
.
Return IArchivePermission records for the package's uploaders.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getUploadersForPackage | |
source_package_name | (required) | Source Package Name |
Response contains an
application/json
representation of a
archive_permission
collection
.
The ArchivePermission records for uploaders to the package set.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getUploadersForPackageset | |
direct_permissions | Ignore package set hierarchy | |
packageset | (required) Link to a packageset. | Package set |
Response contains an
application/json
representation of a
archive_permission
collection
.
True if the person is allowed to upload the given source package.
If the source package name is included by any package set with an explicit permission then only such explicit permissions will be considered.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: isSourceUploadAllowed |
|
distroseries |
Link to a distro_series. |
The distro series |
person |
(required) Link to a person. |
|
sourcepackagename |
(required) |
Source package name |
Revoke permission for the person to upload to the component.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deleteComponentUploader |
|
component_name |
(required) |
Component Name |
person |
(required) Link to a person. |
Revoke permission for the person to upload the package.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deletePackageUploader |
|
person |
(required) Link to a person. |
|
source_package_name |
(required) |
Source Package Name |
Revoke upload permissions for a person.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deletePackagesetUploader |
|
explicit |
Explicit |
|
packageset |
(required) Link to a packageset. |
Package set |
person |
(required) Link to a person. |
Revoke permission for the person to administer distroseries queues.
The supplied person will lose permission to administer the distroseries queue for packages in the supplied component.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deleteQueueAdmin |
|
component_name |
(required) |
Component Name |
person |
(required) Link to a person. |
Add permission for a person to upload to a component.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newComponentUploader | |
component_name | (required) | Component Name |
person | (required) Link to a person. |
On success, the response status will be 201 and the Location header will contain the link to the newly created archive_permission.
Add permisson for a person to upload a package to this archive.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newPackageUploader | |
person | (required) Link to a person. | |
source_package_name | (required) | Source Package Name |
On success, the response status will be 201 and the Location header will contain the link to the newly created archive_permission.
Add a package set based permission for a person.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newPackagesetUploader | |
explicit | Explicit | |
packageset | (required) Link to a packageset. | Package set |
person | (required) Link to a person. |
On success, the response status will be 201 and the Location header will contain the link to the newly created archive_permission.
Add permission for a person to administer a distroseries queue.
The supplied person will gain permission to administer the distroseries queue for packages in the supplied component.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newQueueAdmin | |
component_name | (required) | Component Name |
person | (required) Link to a person. |
On success, the response status will be 201 and the Location header will contain the link to the newly created archive_permission.
Create a new subscribtion to this archive.
Create an ArchiveSubscriber record which allows an IPerson to access a private repository.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newSubscription | |
date_expires |
Date of Expiration The timestamp when the subscription will expire. | |
description |
Description Free text describing this subscription. | |
subscriber | (required) Link to a person. |
Subscriber The person who is subscribed. |
On success, the response status will be 201 and the Location header will contain the link to the newly created archive_subscriber.
Synchronise (copy) a single named source into this archive.
Copy a specific version of a named source to the destination archive if necessary.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: syncSource |
|
from_archive |
(required) Link to a archive. |
|
include_binaries |
Include Binaries Whether or not to copy binaries already built for this source |
|
source_name |
(required) |
Source package name |
to_pocket |
(required) |
Pocket name |
to_series |
Distroseries name |
|
version |
(required) |
Version |
Synchronise (copy) named sources into this archive from another.
It will copy the most recent PUBLISHED versions of the named sources to the destination archive if necessary.
This operation will only succeeds when all requested packages are synchronised between the archives. If any of the requested copies cannot be performed, the whole operation will fail. There will be no partial changes of the destination archive.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: syncSources |
|
from_archive |
(required) Link to a archive. |
|
include_binaries |
Include Binaries Whether or not to copy binaries already built for this source |
|
source_names |
(required) |
Source package names |
to_pocket |
(required) |
Pocket name |
to_series |
Distroseries name |
from launchpadlib.launchpad import Launchpad launchpad = Launchpad.login_with('hello-world', 'edge') ubuntu = launchpad.distributions["ubuntu"] archive = ubuntu.main_archive series = ubuntu.current_series archive.getPublishedSources(exact_match=True, source_name="apport", distro_series=series)[0].source_package_version ### ==> should return u'0.123'
ArchiveDependency interface.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
archive_link |
(read-only) Link to a archive. |
Target archive The archive affected by this dependecy. |
component_name |
(read-only) |
Component name |
date_created |
(read-only) |
Instant when the dependency was created. |
dependency_link |
(read-only) Link to a archive. |
The archive set as a dependency. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
|
(read-only) One of:
|
|
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
title |
(read-only) |
Archive dependency title. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
The interface for ArchivePermission.
https://api.edge.launchpad.net/devel/<archive.distribution>/+archive/<archive.name>/+name/person.name.[component or source package].name
Key | Value | Description |
---|---|---|
archive_link |
(writeable) Link to a archive. |
Archive The archive that this permission is for. |
component_name |
(writeable) |
Component Name |
date_created |
(writeable) |
Date Created The timestamp when the permission was created. |
distro_series_name |
(writeable) |
The name of the distro series associated with the package set. |
explicit |
(writeable) |
Explicit Set this flag for package sets with high-profile packages requiring specialist skills for proper handling. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
package_set_name |
(writeable) |
Package set name |
permission |
(writeable) |
The permission type being granted. |
person_link |
(writeable) Link to a person. |
Person The person or team being granted the permission. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
source_package_name |
(writeable) |
Source Package Name |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
An interface for archive subscribers.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
archive_link |
(read-only) Link to a archive. |
Archive The archive for this subscription. |
date_created |
(read-only) |
Date Created The timestamp when the subscription was created. |
date_expires |
(writeable) |
Date of Expiration The timestamp when the subscription will expire. |
description |
(writeable) |
Description Free text describing this subscription. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
registrant_link |
(read-only) Link to a person. |
Registrant The person who registered this subscription. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
status |
(writeable) One of:
|
Status The status of this subscription. |
subscriber_link |
(read-only) Link to a person. |
Subscriber The person who is subscribed. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A binary package publishing record.
https://api.edge.launchpad.net/devel/<distribution.name>/+archive/<binary_package.name>/+binarypub/<id>
Key | Value | Description |
---|---|---|
archive_link |
(read-only) Link to a archive. |
Archive The context archive for this publication. |
binary_package_name |
(read-only) |
Binary Package Name |
binary_package_version |
(read-only) |
Binary Package Version |
component_name |
(read-only) |
Component Name |
date_created |
(writeable) |
Date Created The date on which this record was created |
date_made_pending |
(writeable) |
Date Made Pending The date on which this record was set as pending removal |
date_published |
(writeable) |
Date Published The date on which this record was published |
date_removed |
(writeable) |
Date Removed The date on which this record was removed from the published set |
date_superseded |
(writeable) |
Date Superseded The date on which this record was marked superseded |
display_name |
(writeable) |
Display Name Text representation of the current record. |
distro_arch_series_link |
(writeable) Link to a distro_arch_series. |
Distro Arch Series The distroarchseries being published into |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
|
(read-only) One of:
|
The pocket into which this entry is published |
priority_name |
(read-only) |
Priority Name |
removal_comment |
(writeable) |
Removal Comment Reason why this publication is going to be removed. |
removed_by_link |
(writeable) Link to a person. |
Removed By The Person responsible for the removal |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
scheduled_deletion_date |
(writeable) |
Scheduled Deletion Date The date on which this record is scheduled for deletion |
section_name |
(read-only) |
Section Name |
self_link |
(read-only) |
The canonical link to this resource. |
status |
(writeable) One of:
|
Status The status of this publishing record |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Get the daily download counts for this binary.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getDailyDownloadTotals |
|
end_date |
End date |
|
start_date |
Start date |
Get the download count of this binary package in this archive.
This is currently only meaningful for PPAs.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getDownloadCount |
Get detailed download counts for this binary.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getDownloadCounts | |
end_date | End date | |
start_date | Start date |
Response contains an
application/json
representation of a
binary_package_release_download_count
collection
.
Delete this publication.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: requestDeletion |
|
removal_comment |
Removal comment |
Daily download count of a binary package release in an archive.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
archive_link |
(read-only) Link to a archive. |
Archive |
binary_package_name |
(read-only) |
Binary package name |
binary_package_version |
(read-only) |
Binary package version |
count |
(read-only) |
Number of downloads |
country_link |
(read-only) Link to a country. |
Country |
day |
(read-only) |
Day of the downloads |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A Bazaar branch.
https://api.edge.launchpad.net/devel/~<author.name>/<project.name>/<name>
Key | Value | Description |
---|---|---|
branch_format |
(read-only) One of:
|
Branch Format |
branch_type |
(read-only) One of:
|
Branch Type |
bzr_identity |
(read-only) |
Bazaar Identity The bzr branch path as accessed by Launchpad. If the branch is associated with a product as the primary development focus, then the result should be lp:product. If the branch is related to a series, then lp:product/series. Otherwise the result is lp:~user/product/branch-name. |
code_import_link |
(writeable) Link to a code_import. |
The associated CodeImport, if any. |
control_format |
(read-only) One of:
|
Control Directory |
date_created |
(read-only) |
Date Created |
date_last_modified |
(writeable) |
Date Last Modified |
dependent_branches_collection_link |
(read-only) Link to a branch_merge_proposal collection. |
Dependent Branches A collection of the merge proposals that are dependent on this branch. |
description |
(writeable) |
Description A short description of the changes in this branch. |
display_name |
(read-only) |
Display name The branch unique_name. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
landing_candidates_collection_link |
(read-only) Link to a branch_merge_proposal collection. |
Landing Candidates A collection of the merge proposals where this branch is the target branch. |
landing_targets_collection_link |
(read-only) Link to a branch_merge_proposal collection. |
Landing Targets A collection of the merge proposals where this branch is the source branch. |
last_mirror_attempt |
(read-only) |
Last time a mirror of this branch was attempted. |
last_mirrored |
(read-only) |
Last time this branch was successfully mirrored. |
last_scanned |
(read-only) |
Last time this branch was successfully scanned. |
last_scanned_id |
(read-only) |
Last scanned revision ID The head revision ID of the branch when last successfully scanned. |
lifecycle_status |
(writeable) One of:
|
Status |
linked_bugs_collection_link |
(read-only) Link to a bug collection. |
The bugs linked to this branch. |
mirror_status_message |
(read-only) |
The last message we got when mirroring this branch. |
name |
(writeable) |
Name Keep very short, unique, and descriptive, because it will be used in URLs. Examples: main, devel, release-1.0, gnome-vfs. |
owner_link |
(read-only) Link to a person. |
Owner Either yourself or a team you are a member of. This controls who can modify the branch. |
private |
(writeable) |
Keep branch confidential Make this branch visible only to its subscribers. |
project_link |
(read-only) Link to a project. |
Project The project this branch belongs to. |
registrant_link |
(read-only) Link to a person. |
The user that registered the branch. |
repository_format |
(read-only) One of:
|
Repository Format |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
reviewer_link |
(writeable) Link to a person. |
Review Team The reviewer of a branch is the person or team that is responsible for reviewing proposals and merging into this branch. |
revision_count |
(read-only) |
Revision count The revision number of the tip of the branch. |
self_link |
(read-only) |
The canonical link to this resource. |
sourcepackage_link |
(read-only) Link to a source_package. |
The ISourcePackage that this branch belongs to. None if not a package branch. |
spec_links_collection_link |
(read-only) Link to a specification_branch collection. |
Specification linked to this branch. |
subscribers_collection_link |
(read-only) Link to a person collection. |
Persons subscribed to this branch. |
subscriptions_collection_link |
(read-only) Link to a branch_subscription collection. |
BranchSubscriptions associated to this branch. |
unique_name |
(read-only) |
Unique name Unique name of the branch, including the owner and project names. |
url |
(writeable) |
Branch URL This is the external location where the Bazaar branch is hosted. |
whiteboard |
(writeable) |
Whiteboard Notes on the current status of the branch. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Can this branch be deleted in its current state.
A branch is considered deletable if it has no revisions, is not linked to any bugs, specs, productseries, or code imports, and has no subscribers.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canBeDeleted |
Return a public URL for the branch using the given protocol.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: composePublicURL |
|
scheme |
(required) |
URL scheme |
Returns all merge proposals of a given status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMergeProposals | |
status | A list of merge proposal statuses to filter by. |
Response contains an
application/json
representation of a
branch_merge_proposal
collection
.
Return the BranchSubscription for this person.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscription | |
person | (required) Link to a person. | The person to unsubscribe |
Response contains an
application/json
representation of a
branch_subscription.
Return true if the reviewer is a trusted reviewer.
The reviewer is trusted if they are either own the branch, or are in the team that owns the branch, or they are in the review team for the branch.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: isPersonTrustedReviewer |
|
reviewer |
(required) Link to a person. |
A person for which the reviewer status is in question. |
Create a new BranchMergeProposal with this branch as the source.
Both the target_branch and the prerequisite_branch, if it is there, must be branches with the same target as the source branch.
Personal branches (a.k.a. junk branches) cannot specify landing targets.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createMergeProposal | |
commit_message |
Commit message Message to use when committing this merge. | |
initial_comment |
Initial comment Registrant's initial description of proposal. | |
needs_review |
Needs review If True the proposal needs review.Otherwise, it will be work in progress. | |
prerequisite_branch | Link to a branch. | |
review_types | ||
reviewers | ||
target_branch | (required) Link to a branch. |
On success, the response status will be 201 and the Location header will contain the link to the newly created branch_merge_proposal.
Link a bug to this branch.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: linkBug |
|
bug |
(required) Link to a bug. |
Link an ISpecification to a branch.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: linkSpecification |
|
spec |
(required) Link to a specification. |
Request that this branch be mirrored on the next run of the branch puller.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: requestMirror |
Set the owner of the branch to be new_owner.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setOwner |
|
new_owner |
(required) Link to a person. |
The new owner of the branch. |
Set the target of the branch to be project or source_package.
Only one of project or source_package can be set, and if neither is set, the branch gets moved into the junk namespace of the branch owner.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setTarget |
|
project |
Link to a project. |
The project the branch belongs to. |
source_package |
Link to a source_package. |
The source package the branch belongs to. |
Subscribe this person to the branch.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: subscribe | |
code_review_level | (required) One of:
| The level of code review notification emails. |
max_diff_lines | (required) One of:
| The max number of lines for diff email. |
notification_level | (required) One of:
| The level of notification to subscribe to. |
person | (required) Link to a person. | The person to subscribe. |
Response contains an
application/json
representation of a
branch_subscription.
Unlink a bug to this branch.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unlinkBug |
|
bug |
(required) Link to a bug. |
Unlink an ISpecification to a branch.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unlinkSpecification |
|
spec |
(required) Link to a specification. |
Remove the person's subscription to this branch.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unsubscribe |
|
person |
(required) Link to a person. |
The person to unsubscribe |
Branch merge proposals show intent of landing one branch on another.
https://api.edge.launchpad.net/devel/~<author.name>/<project.name>/<branch.name>/+merge/<id>
Key | Value | Description |
---|---|---|
address |
(read-only) |
The email address for this proposal. Any emails sent to this address will resultin comments being added. |
all_comments_collection_link |
(read-only) Link to a code_review_comment collection. |
All messages discussing this merge proposal |
commit_message |
(writeable) |
Commit Message The commit message that should be used when merging the source branch. |
date_created |
(read-only) |
Date Created |
date_merged |
(read-only) |
Date Merged The date that the source branch was merged into the target branch |
date_queued |
(read-only) |
Date Queued |
date_review_requested |
(read-only) |
Date Review Requested |
date_reviewed |
(read-only) |
Date Reviewed |
description |
(writeable) |
Description A detailed description of the changes that are being addressed by the branch being proposed to be merged. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
merge_reporter_link |
(read-only) Link to a person. |
Merge Reporter The user that marked the branch as merged. |
merged_revno |
(read-only) |
Merged Revision Number The revision number on the target branch which contains the merge from the source branch. |
prerequisite_branch_link |
(read-only) Link to a branch. |
Dependent Branch The branch that the source branch branched from. If this is the same as the target branch, then leave this field blank. |
preview_diff_link |
(read-only) Link to a preview_diff. |
The current diff of the source branch against the target branch. |
private |
(read-only) |
Proposal is confidential If True, this proposal is visible only to subscribers. |
queue_position |
(read-only) |
Queue Position The position in the queue. |
queue_status |
(read-only) One of:
|
Status The current state of the proposal. |
queued_revid |
(read-only) |
Queued Revision ID The revision id that has been queued for landing. |
queuer_link |
(read-only) Link to a person. |
Queuer The person that queued up the branch. |
registrant_link |
(read-only) Link to a person. |
Person The person who registered the landing target. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
reviewed_revid |
(writeable) |
The revision id that has been approved by the reviewer. |
reviewer_link |
(read-only) Link to a person. |
Review person or team The person that accepted (or rejected) the code for merging. |
self_link |
(read-only) |
The canonical link to this resource. |
source_branch_link |
(read-only) Link to a branch. |
Source Branch The branch that has code to land. |
superseded_by_link |
(read-only) Link to a branch_merge_proposal. |
Superseded By The branch merge proposal that supersedes this one. |
supersedes_link |
(read-only) Link to a branch_merge_proposal. |
Supersedes The branch merge proposal that this one supersedes. |
target_branch_link |
(read-only) Link to a branch. |
Target Branch The branch that the source branch will be merged into. |
votes_collection_link |
(read-only) Link to a code_review_vote_reference collection. |
The votes cast or expected for this proposal |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Return the CodeReviewComment with the specified ID.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getComment | |
id | (required) | A CodeReviewComment ID. |
Response contains an
application/json
representation of a
code_review_comment.
Create an ICodeReviewComment associated with this merge proposal.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createComment | |
content | ||
parent | Link to a code_review_comment. | |
review_type | ||
subject | (required) | |
vote | One of:
|
On success, the response status will be 201 and the Location header will contain the link to the newly created code_review_comment.
Set the specified person as a reviewer.
If they are not already a reviewer, a vote is created. Otherwise, the details are updated.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: nominateReviewer | |
review_type | ||
reviewer | (required) Link to a person. | A reviewer. |
Response contains an
application/json
representation of a
code_review_vote_reference.
Set the state of the merge proposal to the specified status.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setStatus |
|
revid |
An optional parameter for specifying the revision of the branch for the status change. |
|
status |
(required) One of:
|
The new status of the merge proposal. |
Update the preview diff for this proposal.
If there is not an existing preview diff, one will be created.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: updatePreviewDiff |
|
conflicts |
||
diff_content |
(required) Link to a file resource. |
|
prerequisite_revision_id |
||
source_revision_id |
(required) |
|
target_revision_id |
(required) |
The relationship between a person and a branch.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
branch_link |
(read-only) Link to a branch. |
Branch ID |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
max_diff_lines |
(writeable) One of:
|
Generated Diff Size Limit Diffs greater than the specified number of lines will not be sent to the subscriber. The subscriber will still receive an email with the new revision details even if the diff is larger than the specified number of lines. |
notification_level |
(writeable) One of:
|
Notification Level Attribute notifications are sent when branch details are changed such as lifecycle status and name. Revision notifications are generated when new branch revisions are found due to the branch being updated through either pushes to the hosted branches or the mirrored branches being updated. |
person_link |
(read-only) Link to a person. |
Person Enter the launchpad id, or email address of the person you wish to subscribe to this branch. If you are unsure, use the "Choose..." option to find the person in Launchpad. You can only subscribe someone who is a registered user of the system. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
review_level |
(writeable) One of:
|
Code review Level Control the kind of review activity that triggers notifications. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
The core bug entry.
https://api.edge.launchpad.net/devel/bugs/<id>
Key | Value | Description |
---|---|---|
attachments_collection_link |
(read-only) Link to a bug_attachment collection. |
Attachments List of bug attachments. |
bug_tasks_collection_link |
(read-only) Link to a bug_task collection. |
BugTasks on this bug, sorted upstream, then ubuntu, then other distroseriess. |
bug_watches_collection_link |
(read-only) Link to a bug_watch collection. |
All bug watches associated with this bug. |
can_expire |
(read-only) |
Can the Incomplete bug expire if it becomes inactive? Expiration may happen when the bug permits expiration, and a bugtask cannot be confirmed. |
cves_collection_link |
(read-only) Link to a cve collection. |
CVE entries related to this bug. |
date_created |
(read-only) |
Date Created The date on which this bug was created. |
date_last_message |
(read-only) |
Date of last bug message Date corresponds to the last comment made in launchpad or in linked bug tracker. Does not include non-comment changes to bug status. |
date_last_updated |
(read-only) |
Date Last Updated The date when anything is changed or added to the bug or its bugtasks. This includes adding comments, adding tasks, adding watches, changing bug visibility or security, setting as duplicate, attaching files and so on. However, subscribing or unsubscribing does not change this value. |
date_made_private |
(read-only) |
Date Made Private The date on which the bug was most recently set to private. |
description |
(writeable) |
Description
|
duplicate_of_link |
(writeable) Link to a bug. |
Duplicate Of |
duplicates_collection_link |
(read-only) Link to a bug collection. |
Duplicates All bugs which are dupes of this one. |
heat |
(read-only) |
Heat Heat is a composite score taking into account the number of users/subscribers/ duplicates, privacy, security, and age. See https://help.launchpad.net/Bugs/BugHeat for complete information. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
Bug ID |
latest_patch_uploaded |
(read-only) |
Date when the most recent patch was uploaded. |
linked_branches_collection_link |
(read-only) Link to a bug_branch collection. |
Linked Branches Branches associated with this bug, by convention typically branches on which this bug is being fixed. |
message_count |
(read-only) |
Message Count The number of comments on this bug, including comments imported from a linked watch. |
messages_collection_link |
(read-only) Link to a message collection. |
The messages related to this object, in reverse order of creation (so newest first). |
name |
(writeable) |
Nickname
|
number_of_duplicates |
(read-only) |
Number of Duplicates The number of bugs marked as duplicates of this bug. |
owner_link |
(read-only) Link to a person. |
Owner The reporter of the bug. May return None in some cases, such as if the account has been removed. |
private |
(writeable) |
This bug report should be private Private bug reports are visible only to their subscribers. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
security_related |
(writeable) |
Security Related This bug is a security vulnerability |
self_link |
(read-only) |
The canonical link to this resource. |
subscriptions_collection_link |
(read-only) Link to a bug_subscription collection. |
Subscriptions List of persons directly subscribed to the bug. |
tags |
(writeable) |
Tags Separated by whitespace. |
title |
(writeable) |
Summary A one-line summary of the problem. |
users_affected_collection_link |
(read-only) Link to a person collection. |
Users affected (not including duplicates) |
users_affected_count |
(read-only) |
Users Affected Count The number of users affected by this bug (not including duplicates) |
users_affected_count_with_dupes |
(read-only) |
The number of users affected by this bug (including duplicates) |
users_affected_with_dupes_collection_link |
(read-only) Link to a person collection. |
Users affected (including duplicates) |
users_unaffected_collection_link |
(read-only) Link to a person collection. |
Users explicitly marked as unaffected (not including duplicates) |
users_unaffected_count |
(read-only) |
The number of users unaffected by this bug |
who_made_private_link |
(read-only) Link to a person. |
Who Made Private The person who most recently set this bug private. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Can this bug nominated for this target?
Returns True or False.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canBeNominatedFor |
|
target |
(required) Link to a bug_target. |
Target |
Return HWDB submissions linked to this bug.
Only those submissions are returned which the user can access. Public submissions are always included; private submisisons only if the user is the owner or an admin.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getHWSubmissions |
Response contains an
application/json
representation of a
h_w_submission
collection
.
Return the IBugNomination for the target.
If no nomination is found, a NotFoundError is raised.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getNominationFor | |
target | (required) Link to a bug_target. | Target |
Response contains an
application/json
representation of a
bug_nomination.
Return a list of all IBugNominations for this bug.
The list is ordered by IBugNominations.target.bugtargetdisplayname.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getNominations | |
nominations | Nominations to search through. | |
target | Link to a bug_target. | Target |
Response contains an
application/json
representation of a
bug_nomination
collection
.
Attach a file to this bug.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addAttachment | |
comment | (required) | |
content_type | ||
data | (required) Link to a file resource. | |
description | ||
filename | (required) | |
is_patch |
On success, the response status will be 201 and the Location header will contain the link to the newly created bug_attachment.
Nominate a bug for an IDistroSeries or IProductSeries.
This method creates and returns a BugNomination. (See lp.bugs.model.bugnomination.BugNomination.)
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addNomination | |
target | (required) Link to a bug_target. | Target |
On success, the response status will be 201 and the Location header will contain the link to the newly created bug_nomination.
Create a new bug task on this bug.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addTask | |
target | (required) Link to a bug_target. |
Target The software in which this bug should be fixed. |
On success, the response status will be 201 and the Location header will contain the link to the newly created bug_task.
Create a new watch for this bug on the given remote bug and bug tracker, owned by the person given as the owner.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addWatch | |
bug_tracker | (required) Link to a bug_tracker. |
Bug System You can register new bug trackers from the Launchpad Bugs home page. |
remote_bug | (required) |
Remote Bug The bug number of this bug in the remote bug tracker. |
On success, the response status will be 201 and the Location header will contain the link to the newly created bug_watch.
Is :user: marked as affected by this bug?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: isUserAffected |
Associate a branch with this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: linkBranch |
|
branch |
(required) Link to a branch. |
Ensure that this CVE is linked to this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: linkCVE |
|
cve |
(required) Link to a cve. |
CVE |
Link a HWSubmission to this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: linkHWSubmission |
|
submission |
(required) Link to a h_w_submission. |
A HWDB submission |
Mark :user: as affected by this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: markUserAffected |
|
affected |
Does this bug affect you? |
Create a new message, and link it to this object.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newMessage | |
content | (required) | Message |
subject | Subject |
On success, the response status will be 201 and the Location header will contain the link to the newly created message.
Set the visible attribute on a bug comment. This is restricted to Launchpad admins, and will return a HTTP Error 401: Unauthorized error if called by non-admins.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setCommentVisibility |
|
comment_number |
(required) |
The number of the comment in the list of messages. |
visible |
(required) |
Show this comment? |
Subscribe person to the bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: subscribe |
|
person |
(required) Link to a person. |
Person |
Unlink a branch from this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unlinkBranch |
|
branch |
(required) Link to a branch. |
Ensure that any links between this bug and the given CVE are removed.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unlinkCVE |
|
cve |
(required) Link to a cve. |
CVE |
Remove a link to a HWSubmission.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unlinkHWSubmission |
|
submission |
(required) Link to a h_w_submission. |
A HWDB submission |
Remove this person's subscription to this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unsubscribe |
|
person |
Link to a person. |
Person |
Remove this person's subscription from all dupes of this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unsubscribeFromDupes |
|
person |
Link to a person. |
Person |
A file attachment to an IBug.
https://api.edge.launchpad.net/devel/bugs/<bug.id>/attachments/<id>
Key | Value | Description |
---|---|---|
bug_link |
(writeable) Link to a bug. |
The bug the attachment belongs to. |
data_link |
(read-only) Link to a file resource in the Librarian. |
A file object for accessing the attachment contents. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
message_link |
(writeable) Link to a message. |
The message that was created when we added this attachment. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
title |
(writeable) |
Title A short and descriptive description of the attachment |
type |
(writeable) One of:
|
Attachment Type The type of the attachment, for example Patch or Unspecified. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Remove the attachment from the bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeFromBug |
for attachment in bug.attachments: buffer = attachment.data.open() for line in buffer: print line buffer.close()
attachment = bug.attachments[0] print "title:", attachment.title print "ispatch:", a.type buffer = attachment.data.open() print "modified:", buffer.last_modified print "url:", buffer.url print "content-type:", buffer.content_type print "filename:", buffer.filename.encode('utf-8') print "isatty:", buffer.isatty() print "length:", buffer.len print "mode:", buffer.mode print "pos:", buffer.pos print "softspace:", buffer.softspace message = attachment.message print "subject:", message.subject.encode('utf-8') print "owner:", message.owner.display_name.encode('utf-8') print "created:", message.date_created
A branch linked to a bug.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
branch_link |
(writeable) Link to a branch. |
Branch |
bug_link |
(read-only) Link to a bug. |
Bug # |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A nomination for a bug to be fixed in a specific series.
A nomination can apply to an IDistroSeries or an IProductSeries.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
bug_link |
(read-only) Link to a bug. |
|
date_created |
(read-only) |
Date Submitted The date on which this nomination was submitted. |
date_decided |
(read-only) |
Date Decided The date on which this nomination was approved or declined. |
decider_link |
(read-only) Link to a person. |
Decided By |
distroseries_link |
(read-only) Link to a distro_series. |
Series |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
owner_link |
(read-only) Link to a person. |
Submitter |
productseries_link |
(read-only) Link to a project_series. |
Series |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
status |
(read-only) One of:
|
Status |
target_link |
(writeable) Link to a bug_target. |
The IProductSeries or IDistroSeries of this nomination. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Is this person allowed to approve the nomination?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canApprove |
Approve this bug for fixing in a series.
The status is set to APPROVED and the appropriate IBugTask(s) are created for the nomination target.
A nomination in any state can be approved. If the nomination is /already/ approved, this method is a noop.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: approve |
Decline this bug for fixing in a series.
The status is set to DECLINED.
If called on a nomination that is in APPROVED state, a BugNominationStatusError is raised. If the nomination was already DECLINED, this method is a noop.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: decline |
The relationship between a person and a bug.
https://api.edge.launchpad.net/devel/bugs/<bug.id>/subscriptions/<subscriber.name>
Key | Value | Description |
---|---|---|
bug_link |
(read-only) Link to a bug. |
Bug |
date_created |
(read-only) |
Date subscribed |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
person_link |
(read-only) Link to a person. |
Person The person's Launchpad ID or e-mail address. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
subscribed_by_link |
(read-only) Link to a person. |
Subscribed by The person who created this subscription. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Can the user unsubscribe the subscriber from the bug?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canBeUnsubscribedByUser |
An entity on which a bug can be reported.
Examples include an IDistribution, an IDistroSeries and an IProduct.
depends on the underlying entry
Key | Value | Description |
---|---|---|
bug_reporting_guidelines |
(writeable) |
If I’m reporting a bug, I should include, if possible These guidelines will be shown to anyone reporting a bug. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | |
affected_user | Link to a person. | |
assignee | Link to a person. | |
bug_commenter | Link to a person. | |
bug_reporter | Link to a person. | |
bug_subscriber | Link to a person. | |
bug_supervisor | Link to a person. | |
component |
Component Distribution package archive grouping. E.g. main, universe, multiverse. | |
hardware_bus | One of:
| The bus of a hardware device related to a bug. |
hardware_driver_name | The driver controlling a hardware device related to a bug. | |
hardware_driver_package_name | The package of the driver which controls a hardware device related to a bug. | |
hardware_is_linked_to_bug | Search for bugs which are linked to hardware reports which contain the given device or whcih contain a devicecontrolled by the given driver. | |
hardware_owner_is_affected_by_bug | Search for bugs where people affected by a bug own the given device or use the given hardware driver. | |
hardware_owner_is_bug_reporter | Search for bugs reported by people who own the given device or who use the given hardware driver. | |
hardware_owner_is_subscribed_to_bug | Search for bugs where a bug subscriber owns the given device or uses the given hardware driver. | |
hardware_product_id |
The product ID of a hardware device related to a bug. Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
hardware_vendor_id |
The vendor ID of a hardware device related to a bug. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
has_cve | True or False | Show only bugs associated with a CVE. |
has_no_package | True or False | Exclude bugs with packages specified. |
has_patch | True or False | Show only bugs with patches available. |
importance |
Importance Show only bugs with the given importance or list of importances. | |
linked_branches | One of:
| Search for bugs that are linked to branches or for bugs that are not linked to branches. |
milestone |
Milestone Show only bug tasks targeted to this milestone. | |
milestone_assignment | Target | |
nominated_for | Link to a distro_series. | |
omit_duplicates | True or False | Omit bugs marked as duplicate, |
omit_targeted | True or False | Omit bugs targeted to series |
order_by | List of fields by which the results are ordered. | |
owner | Link to a person. | |
search_text | Bug ID or search text. | |
status |
Status Show only bugs with the given status value or list of values. See bug_task for list of valid status values. | |
status_upstream |
One of:
|
Status upstream Indicates the status of any remote watches associated with the bug. |
tags |
Tags String or list of strings for tags to search. To exclude, prepend a '-', e.g. '-unwantedtag'. | |
tags_combinator | One of:
|
Tags combination Search for any or all of the tags specified. |
Response contains an
application/json
representation of a
bug_task
collection
.
A bug needing fixing in a particular product or package.
https://api.edge.launchpad.net/devel/<target.name>/+bug/<bug.id>
Key | Value | Description |
---|---|---|
assignee_link |
(writeable) Link to a person. |
Assigned to |
bug_link |
(read-only) Link to a bug. |
Bug |
bug_target_display_name |
(read-only) |
The short, descriptive name of the target. |
bug_target_name |
(read-only) |
The target as presented in mail notifications. |
bug_watch_link |
(writeable) Link to a bug_watch. |
Remote Bug Details Select the bug watch that represents this task in the relevant bug tracker. If none of the bug watches represents this particular bug task, leave it as (None). Linking the remote bug watch with the task in this way means that a change in the remote bug status will change the status of this bug task in Launchpad. |
date_assigned |
(read-only) |
Date Assigned The date on which this task was assigned to someone. |
date_closed |
(read-only) |
Date Closed The date on which this task was marked either Won't Fix, Invalid, Expired or Fix Released. |
date_confirmed |
(read-only) |
Date Confirmed The date on which this task was marked Confirmed. |
date_created |
(read-only) |
Date Created The date on which this task was created. |
date_fix_committed |
(read-only) |
Date Fix Committed The date on which this task was marked Fix Committed. |
date_fix_released |
(read-only) |
Date Fix Released The date on which this task was marked Fix Released. |
date_in_progress |
(read-only) |
Date In Progress The date on which this task was marked In Progress. |
date_left_closed |
(read-only) |
Date left closed The date on which this task was last reopened. |
date_left_new |
(read-only) |
Date left new The date on which this task was marked with a status higher than New. |
date_triaged |
(read-only) |
Date Triaged The date on which this task was marked Triaged. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
importance |
(writeable) One of:
|
Importance |
is_complete |
(read-only) True or False |
Is Complete? Whether this bug task is in a closed status (Fix Released, Invalid, Won't Fix, Expired.) |
milestone_link |
(writeable) Link to a milestone. |
Milestone |
owner_link |
(read-only) Link to a person. |
The owner |
related_tasks_collection_link |
(read-only) Link to a bug_task collection. |
IBugTasks related to this one, namely other IBugTasks on the same IBug. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
status |
(writeable) One of:
|
Status |
target_link |
(writeable) Link to a bug_target. |
Target The software in which this bug should be fixed. |
title |
(read-only) |
The title of the bug related to this bugtask |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Return the list of possible duplicates for this BugTask.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findSimilarBugs |
Response contains an
application/json
representation of a
bug
collection
.
def has_target(bug, series): series_url = str(series) for task in bug.bug_tasks: if str(task).startswith(series_url): return True return False launchpad = Launchpad.login_with('hello-world', 'edge') b = launchpad.bugs[324614] ubuntu = launchpad.distributions["ubuntu"] jaunty = ubuntu.getSeries(name_or_version="jaunty") has_target(b, jaunty) ### ==> should evaluate to True
A remote bug system.
https://api.edge.launchpad.net/devel/bugs/bugtrackers/<name>
Key | Value | Description |
---|---|---|
active |
(writeable) |
Updates for this bug tracker are enabled |
base_url |
(writeable) |
Location 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. |
base_url_aliases |
(writeable) |
Location aliases A list of URLs or email addresses that all lead to the same bug tracker, or commonly seen typos, separated by whitespace. |
bug_tracker_type |
(writeable) One of:
|
Bug Tracker Type |
contact_details |
(writeable) |
Contact details The contact details for the external bug tracker (so that, for example, its administrators can be contacted about a security breach). |
has_lp_plugin |
(writeable) True or False |
This bug tracker has a Launchpad plugin installed. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
Name An URL-friendly name for the bug tracker, such as "mozilla-bugs". |
registrant_link |
(writeable) Link to a person. |
Owner |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
summary |
(writeable) |
Summary A brief introduction or overview of this bug tracker instance. |
title |
(writeable) |
Title A descriptive label for this tracker to show in listings. |
watches_collection_link |
(read-only) Link to a bug_watch collection. |
The remote watches on this bug tracker. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
product = source_package.upstream_product if product: tracker = product.bug_tracker if not tracker: project = product.project_group if project: tracker = project.bug_tracker if tracker: print "%s at %s" %(tracker.bug_tracker_type, tracker.base_url)
A bug on a remote system.
https://api.edge.launchpad.net/devel/bugs/<bug.id>/watch/<id>
Key | Value | Description |
---|---|---|
bug_link |
(read-only) Link to a bug. |
Bug |
bug_tasks_collection_link |
(read-only) Link to a bug_task collection. |
The tasks which this watch will affect. In Launchpad, a bug watch can be linked to one or more tasks, and if it is linked and we notice a status change in the watched bug then we will try to update the Launchpad bug task accordingly. |
bug_tracker_link |
(writeable) Link to a bug_tracker. |
Bug System You can register new bug trackers from the Launchpad Bugs home page. |
date_created |
(read-only) |
Date Created |
date_last_changed |
(writeable) |
Last Changed |
date_last_checked |
(writeable) |
Last Checked |
date_next_checked |
(writeable) |
Next Check |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
last_error_type |
(writeable) One of:
|
Last Error Type |
owner_link |
(read-only) Link to a person. |
Owner |
remote_bug |
(writeable) |
Remote Bug The bug number of this bug in the remote bug tracker. |
remote_importance |
(writeable) |
Remote Importance |
remote_status |
(writeable) |
Remote Status |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
title |
(read-only) |
Bug watch title |
url |
(read-only) |
The URL at which to view the remote bug. |
product = source_package.upstream_product if product: tracker = product.bug_tracker if not tracker: project = product.project_group if project: tracker = project.bug_tracker if tracker: print "%s at %s" %(tracker.bug_tracker_type, tracker.base_url)
bugtrackers = {} for bugtask in source_package.searchTasks(status_upstream=['open_upstream','resolved_upstream']): for task in bugtask.bug.bug_tasks: if task.bug_watch: tracker = task.bug_watch.bug_tracker if not bugtrackers.has_key(tracker.name): bugtrackers[tracker.name] = {'tracker':tracker, 'count':0} bugtrackers[tracker.name]['count'] += 1 ordered = sorted(bugtrackers, key=lambda n: bugtrackers[n]['count'], reverse=True) for trackername in ordered: tracker = bugtrackers[trackername]['tracker'] print " %-20s %4d %-24s %s" %(tracker.name, bugtrackers[trackername]['count'], tracker.bug_tracker_type, tracker.base_url)
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A Build interface
https://api.edge.launchpad.net/devel/<distribution.name>/+source/<source_package.name>/+build/<id>
Key | Value | Description |
---|---|---|
arch_tag |
(writeable) |
Architecture tag |
archive_link |
(read-only) Link to a archive. |
Archive The Archive context for this build. |
build_log_url |
(writeable) |
Build Log URL A URL for the build log. None if there is no log available. |
buildstate |
(writeable) One of:
|
State The current build state. |
can_be_rescored |
(read-only) |
Can Be Rescored Whether or not this build record can be rescored manually. |
can_be_retried |
(read-only) |
Can Be Retried Whether or not this build record can be retried. |
current_source_publication_link |
(read-only) Link to a source_package_publishing_history. |
Source publication The current source publication for this build. |
date_first_dispatched |
(writeable) |
Date first dispatched The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts. |
datebuilt |
(writeable) |
Date built The time when the build result got collected. |
datecreated |
(read-only) |
Date created The time when the build request was created. |
dependencies |
(writeable) |
Dependencies Debian-like dependency line that must be satisfied before attempting to build this request. |
distribution_link |
(writeable) Link to a distribution. |
Distribution Shortcut for its distribution. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
|
(writeable) One of:
|
The build targeted pocket. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
title |
(writeable) |
Title |
upload_log_url |
(writeable) |
Upload Log URL A URL for failed upload logs.Will be None if there was no failure. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Change the build's score.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: rescore |
|
score |
(required) |
Score |
Restore the build record to its initial state.
Build record loses its history, is moved to NEEDSBUILD and a new non-scored BuildQueue entry is created for it.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: retry |
A code import to a Bazaar Branch.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
branch_link |
(read-only) Link to a branch. |
Branch The Bazaar branch produced by the import system. |
cvs_module |
(read-only) |
Module The path to import within the repository. Usually, it is the name of the project. |
cvs_root |
(read-only) |
Repository The CVSROOT. Example: :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome |
date_last_successful |
(read-only) |
Last successful |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
rcs_type |
(read-only) One of:
|
Type of RCS The version control system to import from. Can be CVS or Subversion. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
review_status |
(read-only) One of:
|
Review Status Before a code import is performed, it is reviewed. Only reviewed imports are processed. |
self_link |
(read-only) |
The canonical link to this resource. |
url |
(read-only) |
URL The URL of the VCS branch. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Request that an import be tried soon.
This method will schedule an import to happen soon for this branch.
The import must be in the Reviewed state, if not then a CodeImportNotInReviewedState error will be thrown. If using the API then a status code of 400 will result.
If the import is already running then a CodeImportAlreadyRunning error will be thrown. If using the API then a status code of 400 will result.
The two cases can be distinguished over the API by seeing if the exception names appear in the body of the response.
If used over the API and the request has already been made then this method will silently do nothing. If called internally then the error_if_already_requested parameter controls whether a CodeImportAlreadyRequested exception will be thrown in that situation.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: requestImport |
A link between a merge proposal and a message.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
as_quoted_email |
(read-only) |
The message as quoted in email. |
author_link |
(read-only) Link to a person. |
Comment Author |
branch_merge_proposal_link |
(read-only) Link to a branch_merge_proposal. |
The branch merge proposal |
date_created |
(read-only) |
Date Created |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
DB ID The tracking number for this comment. |
message_body |
(read-only) |
The body of the code review message. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
title |
(writeable) |
The title of the comment |
vote |
(writeable) One of:
|
Review |
vote_tag |
(writeable) |
Vote tag |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A reference to a vote on a IBranchMergeProposal.
There is at most one reference to a vote for each reviewer on a given branch merge proposal.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
branch_merge_proposal_link |
(writeable) Link to a branch_merge_proposal. |
The merge proposal that is the subject of this vote |
comment_link |
(writeable) Link to a code_review_comment. |
The code review comment that contains the most recent vote. |
date_created |
(read-only) |
Date Created |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
is_pending |
(read-only) True or False |
Is the pending? |
registrant_link |
(writeable) Link to a person. |
The person who originally registered this vote |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
review_type |
(writeable) |
Review type Lowercase keywords describing the type of review. |
reviewer_link |
(writeable) Link to a person. |
Reviewer A person who you want to review this. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Change a pending review into a review for claimant.
Pending team reviews can be claimed by members of that team. This allows reviews to be moved of the general team todo list, and onto a personal todo list.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: claimReview |
Reassign a pending review to someone else.
Pending reviews can be reassigned to someone else.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: reassignReview |
|
reviewer |
(required) Link to a person. |
The person or team to assign to do the review. |
A Commercial Subscription for a Product.
If the product has a license which does not qualify for free hosting, a subscription needs to be purchased.
https://api.edge.launchpad.net/devel/+commercialsubscription/<commercial_subscription.id>
Key | Value | Description |
---|---|---|
date_created |
(read-only) |
Date Created The date the first subscription was applied. |
date_expires |
(writeable) |
Expiration Date The expiration date of the subscription. |
date_last_modified |
(writeable) |
Date Modified The date the subscription was modified. |
date_starts |
(writeable) |
Beginning of Subscription The date the subscription starts. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
is_active |
(read-only) True or False |
Active Whether this subscription is active. |
product_link |
(read-only) Link to a project. |
Product which has commercial subscription Project for which this commercial subscription is applied. |
purchaser_link |
(read-only) Link to a person. |
Purchaser Person who purchased the voucher. |
registrant_link |
(read-only) Link to a person. |
Registrant Person who redeemed the voucher. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
The country description.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
description |
(writeable) |
Description |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
iso3166code2 |
(read-only) |
iso3166code2 |
iso3166code3 |
(read-only) |
iso3166code3 |
name |
(writeable) |
Country name |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
title |
(writeable) |
Country title |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A reference to a single CVE database entry. A CVE is a publically-registered security vulnerability listed in the MITRE CVE database at http://cve.mitre.org/ by its CVE Identifier. This identifier can be mapped to one or more bug reports in Launchpad.
https://api.edge.launchpad.net/devel/bugs/cve/<sequence>
Key | Value | Description |
---|---|---|
bugs_collection_link |
(read-only) Link to a bug collection. |
Bugs related to this CVE entry. |
date_created |
(read-only) |
Date Created |
date_modified |
(writeable) |
Date Modified |
description |
(writeable) |
Title A description of the CVE issue. This will be updated regularly from the CVE database. |
display_name |
(writeable) |
Display Name A very brief name describing the ref and state. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
sequence |
(writeable) |
CVE Sequence Number Should take the form XXXX-XXXX, all digits. |
status |
(writeable) One of:
|
Current CVE State Whether or not the vulnerability has been reviewed and assigned a full CVE number, or is still considered a Candidate, or is deprecated. |
title |
(writeable) |
Title A title for the CVE |
url |
(writeable) |
URL Returns a URL to the site that has the CVE data for this CVE reference. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A distribution implements an operating system (typically) by integrating a large collection of source packages as provided by other projects.
Distribution developers put out new releases of the distribution over time; each release is called a 'series', since it can include a series of updates following the release. Generally, one series will be currently under development, and one or more be released as "stable".
Progress towards releases can be measured using 'milestones'. Generally a set of milestones will build up to the initial release of a given series, and then subsequent milestones will be used to track major updates to the series.
https://api.edge.launchpad.net/devel/<name>
Key | Value | Description |
---|---|---|
active |
(writeable) |
Active Whether or not this item is active. |
active_milestones_collection_link |
(read-only) Link to a milestone collection. |
The visible and active milestones associated with this object, ordered by date expected. |
all_milestones_collection_link |
(read-only) Link to a milestone collection. |
All milestones associated with this object, ordered by date expected. |
archive_mirrors_collection_link |
(read-only) Link to a distribution_mirror collection. |
All enabled and official ARCHIVE mirrors of this Distribution. |
archives_collection_link |
(read-only) Link to a archive collection. |
A sequence of the distribution's non-PPA Archives. |
bug_reporting_guidelines |
(writeable) |
If I’m reporting a bug, I should include, if possible These guidelines will be shown to anyone reporting a bug. |
bug_supervisor_link |
(writeable) Link to a person. |
Bug Supervisor The person or team responsible for bug management. |
cdimage_mirrors_collection_link |
(read-only) Link to a distribution_mirror collection. |
All enabled and official RELEASE mirrors of this Distribution. |
current_series_link |
(writeable) Link to a distro_series. |
Current series The current development series of this distribution. Note that all maintainerships refer to the current series. When people ask about the state of packages in the distribution, we should interpret that query in the context of the currentseries. |
date_created |
(writeable) |
Date created The date this distribution was registered. |
description |
(writeable) |
Description Details about the distributions'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. |
display_name |
(writeable) |
Display Name The displayable name of the distribution. |
domain_name |
(writeable) |
Domain name The distro's domain name. |
driver_link |
(writeable) Link to a person. |
Driver The person or team responsible for decisions about features and bugs that will be targeted for any series in this distribution. Note that you can also specify a driver on each series who's permissions will be limited to that specific series. |
homepage_content |
(writeable) |
Homepage Content The content of this distribution's home page. Edit this and it will be displayed for all the world to see. It is NOT a wiki so you cannot undo changes. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
icon_link |
(writeable) Link to a file resource. |
Icon A small image of exactly 14x14 pixels and at most 5kb in size, that can be used to identify this distribution. The icon will be displayed everywhere we list the distribution and link to it. |
logo_link |
(writeable) Link to a file resource. |
Logo An image of exactly 64x64 pixels that will be displayed in the heading of all pages related to this distribution. It should be no bigger than 50kb in size. |
main_archive_link |
(read-only) Link to a archive. |
Distribution Main Archive. |
mirror_admin_link |
(writeable) Link to a person. |
Mirror Administrator The person or team that has the rights to review and mark this distribution's mirrors as official. |
mugshot_link |
(writeable) Link to a file resource. |
Brand A large image of exactly 192x192 pixels, that will be displayed on this distribution's home page in Launchpad. It should be no bigger than 100kb in size. |
name |
(writeable) |
Name The distro's name. |
official_bug_tags |
(writeable) |
Official Bug Tags The list of bug tags defined as official. |
owner_link |
(writeable) Link to a person. |
Owner The distro's owner. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
security_contact_link |
(writeable) Link to a person. |
Security Contact The person or team who handles security-related bug reports |
self_link |
(read-only) |
The canonical link to this resource. |
series_collection_link |
(read-only) Link to a distro_series collection. |
DistroSeries inside this Distribution |
summary |
(writeable) |
Summary A short paragraph to introduce the the goals and highlights of the distribution. |
title |
(writeable) |
Title The distro's title. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Return the distribution archive with the given name.
Only distribution archives are considered -- PPAs will not be found.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getArchive | |
name | (required) | Archive name |
Response contains an
application/json
representation of a
archive.
Return build records in the context it is implemented.
It excludes build records generated by Gina (imported from a external repository), where IBuild.datebuilt is null and IBuild.buildstate is BuildStatus.FULLYBUILT.
The result is simply not filtered if the optional filters are omitted by call sites.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBuildRecords | |
build_state | One of:
|
Build status The status of this build record |
One of:
|
The pocket into which this entry is published | |
source_name | Source package name |
Response contains an
application/json
representation of a
build
collection
.
Return the country DNS mirror for a country and content type.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getCountryMirror | |
country | (required) Link to a country. |
Location The country in which this mirror is based. |
mirror_type | (required) One of:
|
Content Choose "CD Image" if this mirror contains CD images of this distribution. Choose "Archive" if this is a mirror of packages for this distribution. |
Response contains an
application/json
representation of a
distribution_mirror.
Return the DistroSeries which are marked as in development.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getDevelopmentSeries |
Response contains an
application/json
representation of a
distro_series
collection
.
Return a milestone with the given name for this object, or None.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMilestone | |
name | (required) | Name |
Response contains an
application/json
representation of a
milestone.
Return the mirror with the given name for this distribution or None if it's not found.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMirrorByName | |
name | (required) | Name |
Response contains an
application/json
representation of a
distribution_mirror.
Return the series with the name or version given.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSeries | |
name_or_version | (required) | Name or version |
Response contains an
application/json
representation of a
distro_series.
Return a DistributionSourcePackage with the given name for this distribution, or None.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSourcePackage | |
name | (required) | Package name |
Response contains an
application/json
representation of a
distribution_source_package.
Return the subscription for person, if it exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscription | |
person | (required) Link to a person. |
Response contains an
application/json
representation of a
structural_subscription.
Return all the subscriptions with the specified levels.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscriptions |
Response contains an
application/json
representation of a
structural_subscription
collection
.
Search for source packages that correspond to the given text.
This method just decorates the result of searchSourcePackageCaches() to return DistributionSourcePackages.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchSourcePackages | |
source_match | (required) | Source package name substring match |
Response contains an
application/json
representation of a
distribution_source_package
collection
.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | |
affected_user | Link to a person. | |
assignee | Link to a person. | |
bug_commenter | Link to a person. | |
bug_reporter | Link to a person. | |
bug_subscriber | Link to a person. | |
bug_supervisor | Link to a person. | |
component |
Component Distribution package archive grouping. E.g. main, universe, multiverse | |
hardware_bus | One of:
| The bus of a hardware device related to a bug |
hardware_driver_name | The driver controlling a hardware device related to a bug. | |
hardware_driver_package_name | The package of the driver which controls a hardware device related to a bug. | |
hardware_is_linked_to_bug | Search for bugs which are linked to hardware reports which contain the given device or whcih contain a devicecontrolled by the given driver. | |
hardware_owner_is_affected_by_bug | Search for bugs where people affected by a bug own the given device or use the given hardware driver. | |
hardware_owner_is_bug_reporter | Search for bugs reported by people who own the given device or who use the given hardware driver. | |
hardware_owner_is_subscribed_to_bug | Search for bugs where a bug subscriber owns the given device or uses the given hardware driver. | |
hardware_product_id |
The product ID of a hardware device related to a bug. Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
hardware_vendor_id |
The vendor ID of a hardware device related to a bug. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
has_cve | True or False | Show only bugs associated with a CVE. |
has_no_package | True or False | Exclude bugs with packages specified. |
has_patch | True or False | Show only bugs with patches available. |
importance |
Importance Show only bugs with the given importance or list of importances. | |
linked_branches | One of:
| Search for bugs that are linked to branches or for bugs that are not linked to branches. |
milestone |
Milestone Show only bug tasks targeted to this milestone. | |
milestone_assignment | Target | |
nominated_for | Link to a distro_series. | |
omit_duplicates | True or False | Omit bugs marked as duplicate, |
omit_targeted | True or False | Omit bugs targeted to series |
order_by | List of fields by which the results are ordered. | |
owner | Link to a person. | |
search_text | Bug ID or search text. | |
status |
| |
status | One of:
|
Status Show only bugs with the given status value or list of values. See bug_task for list of valid status values. |
status_upstream |
One of:
|
Status upstream Indicates the status of any remote watches associated with the bug. |
tags |
Tags String or list of strings for tags to search. To exclude, prepend a '-', e.g. '-unwantedtag' | |
tags_combinator | One of:
|
Tags combination Search for any or all of the tags specified. |
Response contains an
application/json
representation of a
bug_task
collection
.
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target with the bug notification level set to COMMENTS, the only level currently in use.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscription | |
subscriber | Link to a person. | Person to subscribe. If omitted, the requesting user will be subscribed. |
On success, the response status will be 201 and the Location header will contain the link to the newly created structural_subscription.
Add tag to the official bug tags of this target.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addOfficialBugTag |
|
tag |
(required) |
The official bug tag |
Remove a subscription to bugs from this structure.
If subscription levels for other applications are set, set the subscription's bug_notification_level to NOTHING, otherwise, destroy the subscription.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeBugSubscription |
|
subscriber |
Link to a person. |
Person to unsubscribe. If omitted, the requesting user will be unsubscribed. |
Remove tag from the official bug tags of this target.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeOfficialBugTag |
|
tag |
(required) |
The official bug tag |
A mirror of a given distribution.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
content |
(writeable) One of:
|
Content Choose "CD Image" if this mirror contains CD images of this distribution. Choose "Archive" if this is a mirror of packages for this distribution. |
country_dns_mirror |
(writeable) |
Country DNS Mirror Whether this is a country mirror in DNS. |
country_link |
(writeable) Link to a country. |
Location The country in which this mirror is based. |
date_created |
(read-only) |
Date Created The date on which this mirror was registered. |
date_reviewed |
(read-only) |
Date reviewed The date on which this mirror was last reviewed by a mirror admin. |
description |
(writeable) |
Description |
displayname |
(writeable) |
Organisation The name of the organization hosting this mirror. |
distribution_link |
(read-only) Link to a distribution. |
Distribution The distribution that is mirrored |
enabled |
(read-only) |
This mirror was probed successfully. |
ftp_base_url |
(writeable) |
FTP URL |
http_base_url |
(writeable) |
HTTP URL |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
Name A short and unique name for this mirror. |
official_candidate |
(writeable) |
Apply to be an official mirror of this distribution |
owner_link |
(writeable) Link to a person. |
Owner The person who is set as the current administrator of this mirror. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
reviewer_link |
(read-only) Link to a person. |
Reviewer The person who last reviewed this mirror. |
rsync_base_url |
(writeable) |
Rsync URL e.g.: rsync://archive.ubuntu.com/ubuntu/ |
self_link |
(read-only) |
The canonical link to this resource. |
speed |
(writeable) One of:
|
Link Speed |
status |
(writeable) One of:
|
Status The current status of a mirror's registration. |
whiteboard |
(writeable) |
Whiteboard Notes on the current status of the mirror (only visible to admins and the mirror's registrant). |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Verify if a mirror can be set as a country mirror or return False.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canTransitionToCountryMirror |
Return this mirror's overall freshness.
For ARCHIVE mirrors, the overall freshness is the worst freshness of all of this mirror's content objects (MirrorDistroArchSeries, MirrorDistroSeriesSource or MirrorCDImageDistroSeriess).
For RELEASE mirrors, the overall freshness is either UPTODATE, if the mirror contains all ISO images that it should or UNKNOWN if it doesn't contain one or more ISO images.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getOverallFreshness |
Return True if this is an official mirror.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: isOfficial |
Represents a source package in a distribution.
Create IDistributionSourcePackages by invoking IDistribution.getSourcePackage().
https://api.edge.launchpad.net/devel/<distribution.name>/+source/<name>
Key | Value | Description |
---|---|---|
bug_reporting_guidelines |
(writeable) |
If I’m reporting a bug, I should include, if possible These guidelines will be shown to anyone reporting a bug. |
display_name |
(read-only) |
Display name for this package. |
distribution_link |
(writeable) Link to a distribution. |
The distribution. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(read-only) |
The source package name as text |
official_bug_tags |
(read-only) |
Official Bug Tags The list of bug tags defined as official. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
title |
(read-only) |
Title for this package. |
upstream_product_link |
(read-only) Link to a project. |
The upstream product to which this package is linked. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Returns all branches with the given lifecycle status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBranches | |
modified_since | Limit the branches to those modified since this date. | |
status | A list of branch lifecycle statuses to filter by. |
Response contains an
application/json
representation of a
branch
collection
.
Bug tasks on this source package, sorted newest first.
If needed, you can limit the number of bugtasks you are interested in using the quantity parameter.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBugTasks | |
limit | The maximum number of bug tasks to return |
Response contains an
application/json
representation of a
bug_task
collection
.
Returns all merge proposals of a given status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMergeProposals | |
status | A list of merge proposal statuses to filter by. |
Response contains an
application/json
representation of a
branch_merge_proposal
collection
.
Return the subscription for person, if it exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscription | |
person | (required) Link to a person. |
Response contains an
application/json
representation of a
structural_subscription.
Return all the subscriptions with the specified levels.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscriptions |
Response contains an
application/json
representation of a
structural_subscription
collection
.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | |
affected_user | Link to a person. | |
assignee | Link to a person. | |
bug_commenter | Link to a person. | |
bug_reporter | Link to a person. | |
bug_subscriber | Link to a person. | |
bug_supervisor | Link to a person. | |
component |
Component Distribution package archive grouping. E.g. main, universe, multiverse | |
hardware_bus | One of:
| The bus of a hardware device related to a bug |
hardware_driver_name | The driver controlling a hardware device related to a bug. | |
hardware_driver_package_name | The package of the driver which controls a hardware device related to a bug. | |
hardware_is_linked_to_bug | Search for bugs which are linked to hardware reports which contain the given device or whcih contain a devicecontrolled by the given driver. | |
hardware_owner_is_affected_by_bug | Search for bugs where people affected by a bug own the given device or use the given hardware driver. | |
hardware_owner_is_bug_reporter | Search for bugs reported by people who own the given device or who use the given hardware driver. | |
hardware_owner_is_subscribed_to_bug | Search for bugs where a bug subscriber owns the given device or uses the given hardware driver. | |
hardware_product_id |
The product ID of a hardware device related to a bug. Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
hardware_vendor_id |
The vendor ID of a hardware device related to a bug. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
has_cve | True or False | Show only bugs associated with a CVE. |
has_no_package | True or False | Exclude bugs with packages specified. |
has_patch | True or False | Show only bugs with patches available. |
importance |
Importance Show only bugs with the given importance or list of importances. | |
linked_branches | One of:
| Search for bugs that are linked to branches or for bugs that are not linked to branches. |
milestone |
Milestone Show only bug tasks targeted to this milestone. | |
milestone_assignment | Target | |
nominated_for | Link to a distro_series. | |
omit_duplicates | True or False | Omit bugs marked as duplicate, |
omit_targeted | True or False | Omit bugs targeted to series |
order_by | List of fields by which the results are ordered. | |
owner | Link to a person. | |
search_text | Bug ID or search text. | |
status |
Status Show only bugs with the given status value or list of values. See bug_task for list of valid status values. | |
status_upstream |
One of:
|
Status upstream Indicates the status of any remote watches associated with the bug. |
tags |
Tags String or list of strings for tags to search. To exclude, prepend a '-', e.g. '-unwantedtag' | |
tags_combinator | One of:
|
Tags combination Search for any or all of the tags specified. |
Response contains an
application/json
representation of a
bug_task
collection
.
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target with the bug notification level set to COMMENTS, the only level currently in use.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscription | |
subscriber | Link to a person. | Person to subscribe. If omitted, the requesting user will be subscribed. |
On success, the response status will be 201 and the Location header will contain the link to the newly created structural_subscription.
Remove a subscription to bugs from this structure.
If subscription levels for other applications are set, set the subscription's bug_notification_level to NOTHING, otherwise, destroy the subscription.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeBugSubscription |
|
subscriber |
Link to a person. |
Person to unsubscribe. If omitted, the requesting user will be unsubscribed. |
DistroArchSeries Table Interface
https://api.edge.launchpad.net/devel/<distribution.name>/<distroseries.name>/<architecture_tag>
Key | Value | Description |
---|---|---|
architecture_tag |
(writeable) |
Architecture Tag The architecture tag, or short piece of text that identifies this architecture. All binary packages in the archive will use this tag in their filename. Please get it correct. It should really never be changed! |
chroot_url |
(read-only) |
Build chroot URL The URL to the current build chroot for this distroarchseries. |
display_name |
(writeable) |
Display name The display name of this distroarchseries. |
distroseries_link |
(writeable) Link to a distro_series. |
The context distroseries |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
is_nominated_arch_indep |
(writeable) True or False |
Is Nominated Arch Independent True if this distroarchseries is the NominatedArchIndep one. |
main_archive_link |
(writeable) Link to a archive. |
Main Archive The main archive of the distroarchseries. |
official |
(writeable) |
Official Support Indicate whether or not this port has official support from the vendor of the distribution. |
owner_link |
(writeable) Link to a person. |
The person who registered this port. |
package_count |
(writeable) |
Package Count A cache of the number of packages published in the RELEASE pocket of this port. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
supports_virtualized |
(writeable) |
PPA support available Indicate whether or not this port has support for building PPA packages. |
title |
(writeable) |
Title The title of this distroarchseries. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A series of an operating system distribution.
https://api.edge.launchpad.net/devel/<distribution.name>/<name>
Key | Value | Description |
---|---|---|
active |
(writeable) |
Active Whether or not this series is stable and supported, or under current development. This excludes series which are experimental or obsolete. |
active_milestones_collection_link |
(read-only) Link to a milestone collection. |
The visible and active milestones associated with this object, ordered by date expected. |
all_milestones_collection_link |
(read-only) Link to a milestone collection. |
All milestones associated with this object, ordered by date expected. |
bug_reporting_guidelines |
(writeable) |
If I’m reporting a bug, I should include, if possible These guidelines will be shown to anyone reporting a bug. |
changeslist |
(writeable) |
E-mail changes to The mailing list or other e-mail address that Launchpad should notify about new uploads. |
date_created |
(writeable) |
The date this series was registered. |
datereleased |
(writeable) |
Date released |
description |
(writeable) |
Description A detailed description of this series, with information on the architectures covered, the availability of security updates and any other relevant information. |
displayname |
(writeable) |
Display name The series displayname. |
distribution_link |
(writeable) Link to a distribution. |
Distribution The distribution for which this is a series. |
driver_link |
(writeable) Link to a person. |
Driver The person or team responsible for decisions about features and bugs that will be targeted to this series of the distribution. |
drivers_collection_link |
(read-only) Link to a person collection. |
A list of the people or teams who are drivers for this series. This list is made up of any drivers or owners from this series and the parent drivers. |
fullseriesname |
(writeable) |
Series full name The series full name, e.g. Ubuntu Warty |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
main_archive_link |
(writeable) Link to a archive. |
Distribution Main Archive |
name |
(writeable) |
Name The name of this series. |
official_bug_tags |
(read-only) |
Official Bug Tags The list of bug tags defined as official. |
owner_link |
(writeable) Link to a person. |
Owner |
parent_series_link |
(writeable) Link to a distro_series. |
Parent series The series from which this one was branched. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
status |
(writeable) One of:
|
Status |
summary |
(writeable) |
Summary A single paragraph that explains the goals of of this series and the intended users. For example: "The 2.0 series of Apache represents the current stable series, and is recommended for all new deployments". |
supported |
(writeable) |
Supported Whether or not this series is currently supported. |
title |
(writeable) |
Title The title of this series. It should be distinctive and designed to look good at the top of a page. |
version |
(writeable) |
Version The version string for this series. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Return build records in the context it is implemented.
It excludes build records generated by Gina (imported from a external repository), where IBuild.datebuilt is null and IBuild.buildstate is BuildStatus.FULLYBUILT.
The result is simply not filtered if the optional filters are omitted by call sites.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBuildRecords | |
build_state | One of:
|
Build status The status of this build record |
One of:
|
The pocket into which this entry is published | |
source_name | Source package name |
Response contains an
application/json
representation of a
build
collection
.
Return the distroarchseries for this distroseries with the given architecturetag.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getDistroArchSeries | |
archtag | (required) | The architecture tag |
Response contains an
application/json
representation of a
distro_arch_series.
Get package upload records for this distribution series.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPackageUploads | |
archive | Link to a archive. |
Archive Return only items for this archive. |
created_since_date |
Created Since Timestamp Return items that are more recent than this timestamp. | |
custom_type | One of:
|
Custom Type Return only items with custom files of this type. |
One of:
|
Return only items targeted to this pocket | |
status | One of:
|
Package Upload Status Return only items that have this status. |
Response contains an
application/json
representation of a
package_upload
collection
.
Return a source package in this distro series by name.
The name given may be a string or an ISourcePackageName-providing object. The source package may not be published in the distro series.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSourcePackage | |
name | (required) | The name of the source package |
Response contains an
application/json
representation of a
source_package.
Return the subscription for person, if it exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscription | |
person | (required) Link to a person. |
Response contains an
application/json
representation of a
structural_subscription.
Return all the subscriptions with the specified levels.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscriptions |
Response contains an
application/json
representation of a
structural_subscription
collection
.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | |
affected_user | Link to a person. | |
assignee | Link to a person. | |
bug_commenter | Link to a person. | |
bug_reporter | Link to a person. | |
bug_subscriber | Link to a person. | |
bug_supervisor | Link to a person. | |
component |
Component Distribution package archive grouping. E.g. main, universe, multiverse | |
hardware_bus | One of:
| The bus of a hardware device related to a bug |
hardware_driver_name | The driver controlling a hardware device related to a bug. | |
hardware_driver_package_name | The package of the driver which controls a hardware device related to a bug. | |
hardware_is_linked_to_bug | Search for bugs which are linked to hardware reports which contain the given device or whcih contain a devicecontrolled by the given driver. | |
hardware_owner_is_affected_by_bug | Search for bugs where people affected by a bug own the given device or use the given hardware driver. | |
hardware_owner_is_bug_reporter | Search for bugs reported by people who own the given device or who use the given hardware driver. | |
hardware_owner_is_subscribed_to_bug | Search for bugs where a bug subscriber owns the given device or uses the given hardware driver. | |
hardware_product_id |
The product ID of a hardware device related to a bug. Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
hardware_vendor_id |
The vendor ID of a hardware device related to a bug. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
has_cve | True or False | Show only bugs associated with a CVE. |
has_no_package | True or False | Exclude bugs with packages specified. |
has_patch | True or False | Show only bugs with patches available. |
importance |
Importance Show only bugs with the given importance or list of importances. | |
linked_branches | One of:
| Search for bugs that are linked to branches or for bugs that are not linked to branches. |
milestone |
Milestone Show only bug tasks targeted to this milestone. | |
milestone_assignment | Target | |
nominated_for | Link to a distro_series. | |
omit_duplicates | True or False | Omit bugs marked as duplicate, |
omit_targeted | True or False | Omit bugs targeted to series |
order_by | List of fields by which the results are ordered. | |
owner | Link to a person. | |
search_text | Bug ID or search text. | |
status |
Status Show only bugs with the given status value or list of values. See bug_task for list of valid status values. | |
status_upstream |
One of:
|
Status upstream Indicates the status of any remote watches associated with the bug. |
tags |
Tags String or list of strings for tags to search. To exclude, prepend a '-', e.g. '-unwantedtag' | |
tags_combinator | One of:
|
Tags combination Search for any or all of the tags specified. |
Response contains an
application/json
representation of a
bug_task
collection
.
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target with the bug notification level set to COMMENTS, the only level currently in use.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscription | |
subscriber | Link to a person. | Person to subscribe. If omitted, the requesting user will be subscribed. |
On success, the response status will be 201 and the Location header will contain the link to the newly created structural_subscription.
Create a new milestone for this DistroSeries.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newMilestone | |
code_name |
Code name An alternative name for the milestone. | |
date_targeted |
Date Targeted Example: 2005-11-24 | |
name | (required) |
Name Only letters, numbers, and simple punctuation are allowed. |
summary |
Summary A summary of the features and status of this milestone. |
On success, the response status will be 201 and the Location header will contain the link to the newly created milestone.
Remove a subscription to bugs from this structure.
If subscription levels for other applications are set, set the subscription's bug_notification_level to NOTHING, otherwise, destroy the subscription.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeBugSubscription |
|
subscriber |
Link to a person. |
Person to unsubscribe. If omitted, the requesting user will be unsubscribed. |
The object that stores the IPerson's emails.
https://api.edge.launchpad.net/devel/<person.name>/+email/<email>
Key | Value | Description |
---|---|---|
|
(read-only) |
Email Address |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
person_link |
(writeable) Link to a person. |
Person |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
OpenPGP support
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
fingerprint |
(read-only) |
User Fingerprint |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
keyid |
(read-only) |
OpenPGP key ID |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Core information to identify a device.
https://api.edge.launchpad.net/devel/+hwdb/+device/<id>
Key | Value | Description |
---|---|---|
bus |
(read-only) One of:
|
The bus of the device. |
bus_product_id |
(writeable) |
The product identifier of the device Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. |
classes_collection_link |
(read-only) Link to a h_w_device_class collection. |
The device classes this device belongs to. |
drivers_collection_link |
(read-only) Link to a h_w_driver collection. |
The IHWDriver records related to this device. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
Device ID |
name |
(writeable) |
The human readable name of the device. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
variant |
(writeable) |
A string that distiguishes different devices with identical vendor/product IDs |
vendor_id |
(read-only) |
The vendor iD. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. |
vendor_name |
(read-only) |
The vendor name. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
List all submissions which mention this device.
Only submissions matching all given criteria are returned. Only one of :distribution: or :distroseries: may be supplied.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubmissions | |
architecture |
A processor architecture If specified, the result set is limited to sumbissions made for the given architecture. | |
distribution | Link to a distribution. |
A Distribution If specified, the result set is limited to sumbissions made for the given distribution. |
distroseries | Link to a distro_series. |
A Distribution Series If specified, the result set is limited to sumbissions made for the given distribution series. |
driver | Link to a h_w_driver. |
A driver used for this device in a submission If specified, the result set is limited to sumbissions made for the given distribution, distroseries or distroarchseries. |
owner | Link to a person. | The owner of this submission |
Response contains an
application/json
representation of a
h_w_submission
collection
.
Return an IHWDeviceClass record or create a new one.
main_class and sub_class are integers specifying the class of the device, or, in the case of USB devices, the class of an interface.
IHWDeviceClass records must be unique; if this method is called to create a new record with data of an already existing record, the existing record is returned.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getOrCreateDeviceClass | |
main_class | (required) | The main class of this device |
sub_class | The sub class of this device |
Response contains an
application/json
representation of a
h_w_device_class.
Add an IHWDeviceClass record.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeDeviceClass |
|
main_class |
(required) |
The main class of this device |
sub_class |
The sub class of this device |
The capabilities of a device.
https://api.edge.launchpad.net/devel/+hwdb/+deviceclass/<id>
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
main_class |
(read-only) |
The main class of this device |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
sub_class |
(read-only) |
The sub class of this device |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Information about a device driver.
https://api.edge.launchpad.net/devel/+hwdb/+driver/<id>
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
Driver ID |
license |
(writeable) One of:
|
License of the Driver |
name |
(writeable) |
Driver Name The name of the driver written without spaces in lowercase letters and numbers. |
package_name |
(writeable) |
Package Name The name of the package written without spaces in lowercase letters and numbers. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
List all submissions which mention this driver.
Only submissions matching all given criteria are returned. Only one of :distribution: or :distroseries: may be supplied.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubmissions | |
architecture |
A processor architecture If specified, the result set is limited to sumbissions made for the given architecture. | |
distribution | Link to a distribution. |
A Distribution If specified, the result set is limited to sumbissions made for the given distribution. |
distroseries | Link to a distro_series. |
A Distribution Series If specified, the result set is limited to sumbissions made for the given distribution series. |
owner | Link to a person. | The owner of this submission |
Response contains an
application/json
representation of a
h_w_submission
collection
.
A driver name as appearing in IHWDriver.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(read-only) |
Driver Name The name of a driver as it appears in IHWDriver. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A driver name as appearing in IHWDriver.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
package_name |
(read-only) |
Package Name The name of a package as it appears in IHWDriver. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Raw submission data for the hardware database.
See doc/hwdb.txt for details about the attributes.
https://api.edge.launchpad.net/devel/+hwdb/+submission/<submission-key>
Key | Value | Description |
---|---|---|
contactable |
(read-only) |
Contactable |
date_created |
(read-only) |
Date Created |
date_submitted |
(read-only) |
Date Submitted |
devices_collection_link |
(read-only) Link to a h_w_submission_device collection. |
The HWSubmissionDevice records for this submission. |
format |
(read-only) One of:
|
Format Version |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
owner_link |
(read-only) Link to a person. |
The owner of this submission |
private |
(writeable) |
Private Submission |
raw_submission_link |
(read-only) Link to a file resource. |
The raw submission data |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
status |
(read-only) One of:
|
Submission Status |
submission_key |
(read-only) |
Unique Submission ID |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Link a submission to a IHWDeviceDriver row.
https://api.edge.launchpad.net/devel/+hwdb/+submissiondevice/<id>
Key | Value | Description |
---|---|---|
device_link |
(writeable) Link to a h_w_device. |
The device |
driver_link |
(writeable) Link to a h_w_driver. |
The driver used for this device in this submission |
hal_device_id |
(writeable) |
The ID of the HAL node of this device in the submitted data |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
HWSubmissionDevice ID |
parent_link |
(writeable) Link to a h_w_submission_device. |
|
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A list of vendor IDs for different busses associated with vendor names.
https://api.edge.launchpad.net/devel/+hwdb/+hwvendorid/<id>
Key | Value | Description |
---|---|---|
bus |
(writeable) One of:
|
The bus that connects a device to a computer |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
The Database ID |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
vendor_id |
(writeable) |
Vendor ID |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
An entity which has a collection of bug tasks.
depends on the underlying entry
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | |
affected_user | Link to a person. | |
assignee | Link to a person. | |
bug_commenter | Link to a person. | |
bug_reporter | Link to a person. | |
bug_subscriber | Link to a person. | |
bug_supervisor | Link to a person. | |
component |
Component Distribution package archive grouping. E.g. main, universe, multiverse | |
hardware_bus | One of:
| The bus of a hardware device related to a bug |
hardware_driver_name | The driver controlling a hardware device related to a bug. | |
hardware_driver_package_name | The package of the driver which controls a hardware device related to a bug. | |
hardware_is_linked_to_bug | Search for bugs which are linked to hardware reports which contain the given device or whcih contain a devicecontrolled by the given driver. | |
hardware_owner_is_affected_by_bug | Search for bugs where people affected by a bug own the given device or use the given hardware driver. | |
hardware_owner_is_bug_reporter | Search for bugs reported by people who own the given device or who use the given hardware driver. | |
hardware_owner_is_subscribed_to_bug | Search for bugs where a bug subscriber owns the given device or uses the given hardware driver. | |
hardware_product_id |
The product ID of a hardware device related to a bug. Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
hardware_vendor_id |
The vendor ID of a hardware device related to a bug. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
has_cve | True or False | Show only bugs associated with a CVE. |
has_no_package | True or False | Exclude bugs with packages specified. |
has_patch | True or False | Show only bugs with patches available. |
importance |
Importance Show only bugs with the given importance or list of importances. | |
linked_branches | One of:
| Search for bugs that are linked to branches or for bugs that are not linked to branches. |
milestone |
Milestone Show only bug tasks targeted to this milestone. | |
milestone_assignment | Target | |
nominated_for | Link to a distro_series. | |
omit_duplicates | True or False | Omit bugs marked as duplicate, |
omit_targeted | True or False | Omit bugs targeted to series |
order_by | List of fields by which the results are ordered. | |
owner | Link to a person. | |
search_text | Bug ID or search text. | |
status |
Status Show only bugs with the given status value or list of values. See bug_task for list of valid status values. | |
status_upstream |
One of:
|
Status upstream Indicates the status of any remote watches associated with the bug. |
tags |
Tags String or list of strings for tags to search. To exclude, prepend a '-', e.g. '-unwantedtag' | |
tags_combinator | One of:
|
Tags combination Search for any or all of the tags specified. |
Response contains an
application/json
representation of a
bug_task
collection
.
An interface for classes providing milestones.
depends on the underlying entry
Key | Value | Description |
---|---|---|
active_milestones_collection_link |
(read-only) Link to a milestone collection. |
The visible and active milestones associated with this object, ordered by date expected. |
all_milestones_collection_link |
(read-only) Link to a milestone collection. |
All milestones associated with this object, ordered by date expected. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Hardware database application application root.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
driver_names_collection_link |
(read-only) Link to a h_w_driver_name collection. |
Driver Names All known distinct driver names appearing in HWDriver |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
package_names_collection_link |
(read-only) Link to a h_w_driver_package_name collection. |
Package Names All known distinct package names appearing in HWDriver. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Return persons affected by given bugs and owning a given device.
bug_ids must be a non-empty sequence of bug IDs, or bug_tags must be a non-empty sequence of bug tags.
The parameters bus, vendor_id, product_id must not be None, or driver_name must not be None.
By default, only those persons are returned which have reported a bug matching the given bug conditions.
Owners of private submissions are returned only if user is the owner of the private submission or if user is an admin.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: deviceDriverOwnersAffectedByBugs | |
affected_by_bug |
Search for users affected by a bug If true, those device owners are looked up which are affected by one of the selected bugs. | |
bug_ids |
A set of bug IDs Search submitters, subscribers or affected users of bugs with these IDs. | |
bug_tags |
A set of bug tags Search submitters, subscribers or affected users of bugs having one of these tags. | |
bus | One of:
| The device bus |
driver_name |
A driver name If specified, the search is limited to devices controlled by this driver. | |
package_name |
A package name If specified, the search is limited to devices controlled by a driver from this package. | |
product_id |
The product ID Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
subscribed_to_bug |
Search for users who subscribed to a bug If true, those device owners are looked up which to one of the selected bugs. | |
vendor_id |
The vendor ID Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. |
Response contains an
application/json
representation of a
person
collection
.
Return the set of devices.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: devices | |
bus | (required) One of:
| The device bus |
product_id |
The product ID Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
vendor_id | (required) |
The vendor ID Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. |
Response contains an
application/json
representation of a
h_w_device
collection
.
Return the set of drivers.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: drivers | |
name |
The name of the driver. If name is omitted, all driver records are returned, optionally limited to those matching the parameter package_name. | |
package_name |
The name of the package containing the driver. If package_name is omitted, all driver records returned, optionally limited to those matching the parameter name. If package_name is (empty string), those records are returned where package_name is or None. |
Response contains an
application/json
representation of a
h_w_driver
collection
.
Return a list of owners and devices related to given bugs.
Actually returns a list of tuples where the tuple is of the form, (person name, bus name, vendor id, product id).`
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: hwInfoByBugRelatedUsers |
|
affected_by_bug |
Search for users affected by a bug If true, those device owners are looked up which are affected by one of the selected bugs. |
|
bug_ids |
A set of bug IDs Search for devices and their owners related to bugs with these IDs. |
|
bug_tags |
A set of bug tags Search for devices and their owners related to bugs having one of these tags. |
|
subscribed_to_bug |
Search for users who subscribed to a bug If true, those device owners are looked up which to one of the selected bugs. |
Count how often a device or a driver appears in HWDB submissions.
You may specify at most one of the parameters distribution, distroseries or distroarchseries.
At least each of bus, vendor_id, product_id must not be None or driver_name must not be None.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: numDevicesInSubmissions |
|
bus |
One of:
|
The device bus |
distribution |
Link to a distribution. |
A Distribution If specified, the result set is limited to submissions made for this distribution. |
distroarchseries |
Link to a distro_arch_series. |
A Distribution Series If specified, the result set is limited to submissions made for the given distroarchseries. |
distroseries |
Link to a distro_series. |
A Distribution Series If specified, the result set is limited to submissions made for the given distribution series. |
driver_name |
A driver name If specified, the count is limited to devices controlled by this driver. |
|
package_name |
A package name If specified, the count is limited to devices controlled by a driver from this package. |
|
product_id |
The product ID Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. |
|
vendor_id |
The vendor ID Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. |
The number of people owning a device or using a driver.
Returns a dictionary {'owners': n1, 'all_submitters': n2} where owners is the number of people who made a HWDB submission containing the given device or driver, optionally limited to submissions made for the given distro target. all_submitters is the number of persons who made a HWDB submission, optionally limited to submission made on the given distro target installation.
You may specify at most one of the parameters distribution, distroseries or distroarchseries.
At least each of bus, vendor_id, product_id must not be None or driver_name must not be None.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: numOwnersOfDevice |
|
bus |
One of:
|
The device bus |
distribution |
Link to a distribution. |
A Distribution If specified, the result set is limited to submissions made for this distribution. |
distroarchseries |
Link to a distro_arch_series. |
A Distribution Series If specified, the result set is limited to submissions made for the given distroarchseries. |
distroseries |
Link to a distro_series. |
A Distribution Series If specified, the result set is limited to submissions made for the given distribution series. |
driver_name |
A driver name If specified, the count is limited to devices controlled by this driver. |
|
package_name |
A package name If specified, the count is limited to devices controlled by a driver from this package. |
|
product_id |
The product ID Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. |
|
vendor_id |
The vendor ID Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. |
Count the number of submissions mentioning a device or a driver.
Returns a dictionary {'submissions_with_device: n1, 'all_submissions': n2}, where submissions_with_device is the number of submissions having the given device or driver and matching the distro target criterion and where all_submissions is the number of submissions matching the distro target criterion.
You may specify at most one of the parameters distribution, distroseries or distroarchseries.
At least each of bus, vendor_id, product_id must not be None or driver_name must not be None.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: numSubmissionsWithDevice |
|
bus |
One of:
|
The device bus |
distribution |
Link to a distribution. |
A Distribution If specified, the result set is limited to submissions made for this distribution. |
distroarchseries |
Link to a distro_arch_series. |
A Distribution Series If specified, the result set is limited to submissions made for the given distroarchseries. |
distroseries |
Link to a distro_series. |
A Distribution Series If specified, the result set is limited to submissions made for the given distribution series. |
driver_name |
A driver name If specified, the count is limited to devices controlled by this driver. |
|
package_name |
A package name If specified, the count is limited to devices controlled by a driver from this package. |
|
product_id |
The product ID Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. |
|
vendor_id |
The vendor ID Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. |
Return the known vendor IDs for the given bus.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: vendorIDs | |
bus | (required) One of:
| A Device Bus. |
Response contains an
application/json
representation of a
h_w_vendor_i_d
collection
.
A person's nickname on an IRC network.
https://api.edge.launchpad.net/devel/<person.name>/+ircnick/<id>
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
network |
(writeable) |
IRC network |
nickname |
(writeable) |
Nickname |
person_link |
(read-only) Link to a person. |
Owner |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Jabber specific user ID
https://api.edge.launchpad.net/devel/<person.name>/+jabberid/<id>
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
jabberid |
(writeable) |
Jabber user ID |
person_link |
(read-only) Link to a person. |
Owner |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A Language.
https://api.edge.launchpad.net/devel/+languages/<code>
Key | Value | Description |
---|---|---|
code |
(writeable) |
The ISO 639 code |
english_name |
(writeable) |
The English name |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
plural_expression |
(writeable) |
Plural form expression The expression that relates a number of items to the appropriate plural form. |
plural_forms |
(writeable) |
Number of plural forms The number of plural forms this language has. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
text_direction |
(writeable) One of:
|
Text direction The direction of text in this language. |
translators_count |
(read-only) |
Total number of translators for this language. |
visible |
(writeable) |
Visible Whether this language is visible by default. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A message.
This is like an email (RFC822) message, though it could be created through the web as well.
https://api.edge.launchpad.net/devel/<target.name>/+bug/<bug.id>/comments/<index>
Key | Value | Description |
---|---|---|
bug_attachments_collection_link |
(read-only) Link to a bug_attachment collection. |
A list of BugAttachments connected to this message. |
content |
(writeable) |
All the text/plain chunks joined together as a unicode string. |
date_created |
(read-only) |
Date Created |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
owner_link |
(read-only) Link to a person. |
Person |
parent_link |
(read-only) Link to a message. |
Parent |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
subject |
(read-only) |
Subject |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A milestone, or a targeting point for bugs and other release-management items that need coordination.
https://api.edge.launchpad.net/devel/<target.name>/+milestone/<name>
Key | Value | Description |
---|---|---|
code_name |
(writeable) |
Code name An alternative name for the milestone. |
date_targeted |
(writeable) |
Date Targeted Example: 2005-11-24 |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
is_active |
(writeable) True or False |
Active Whether or not this milestone should be shown in web forms for bug targeting. |
name |
(writeable) |
Name Only letters, numbers, and simple punctuation are allowed. |
official_bug_tags |
(read-only) |
Official Bug Tags The list of bug tags defined as official. |
release_link |
(read-only) Link to a project_release. |
The release for this milestone. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
series_target_link |
(writeable) Link to a has_milestones. |
The productseries or distroseries of this milestone. |
summary |
(writeable) |
Summary A summary of the features and status of this milestone. |
target_link |
(writeable) Link to a has_milestones. |
The product or distribution of this milestone. |
title |
(read-only) |
A milestone context title for pages. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Return the subscription for person, if it exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscription | |
person | (required) Link to a person. |
Response contains an
application/json
representation of a
structural_subscription.
Return all the subscriptions with the specified levels.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscriptions |
Response contains an
application/json
representation of a
structural_subscription
collection
.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | |
affected_user | Link to a person. | |
assignee | Link to a person. | |
bug_commenter | Link to a person. | |
bug_reporter | Link to a person. | |
bug_subscriber | Link to a person. | |
bug_supervisor | Link to a person. | |
component |
Component Distribution package archive grouping. E.g. main, universe, multiverse | |
hardware_bus | One of:
| The bus of a hardware device related to a bug |
hardware_driver_name | The driver controlling a hardware device related to a bug. | |
hardware_driver_package_name | The package of the driver which controls a hardware device related to a bug. | |
hardware_is_linked_to_bug | Search for bugs which are linked to hardware reports which contain the given device or whcih contain a devicecontrolled by the given driver. | |
hardware_owner_is_affected_by_bug | Search for bugs where people affected by a bug own the given device or use the given hardware driver. | |
hardware_owner_is_bug_reporter | Search for bugs reported by people who own the given device or who use the given hardware driver. | |
hardware_owner_is_subscribed_to_bug | Search for bugs where a bug subscriber owns the given device or uses the given hardware driver. | |
hardware_product_id |
The product ID of a hardware device related to a bug. Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
hardware_vendor_id |
The vendor ID of a hardware device related to a bug. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
has_cve | True or False | Show only bugs associated with a CVE. |
has_no_package | True or False | Exclude bugs with packages specified. |
has_patch | True or False | Show only bugs with patches available. |
importance |
Importance Show only bugs with the given importance or list of importances. | |
linked_branches | One of:
| Search for bugs that are linked to branches or for bugs that are not linked to branches. |
milestone |
Milestone Show only bug tasks targeted to this milestone. | |
milestone_assignment | Target | |
nominated_for | Link to a distro_series. | |
omit_duplicates | True or False | Omit bugs marked as duplicate, |
omit_targeted | True or False | Omit bugs targeted to series |
order_by | List of fields by which the results are ordered. | |
owner | Link to a person. | |
search_text | Bug ID or search text. | |
status |
Status Show only bugs with the given status value or list of values. See bug_task for list of valid status values. | |
status_upstream |
One of:
|
Status upstream Indicates the status of any remote watches associated with the bug. |
tags |
Tags String or list of strings for tags to search. To exclude, prepend a '-', e.g. '-unwantedtag' | |
tags_combinator | One of:
|
Tags combination Search for any or all of the tags specified. |
Response contains an
application/json
representation of a
bug_task
collection
.
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target with the bug notification level set to COMMENTS, the only level currently in use.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscription | |
subscriber | Link to a person. | Person to subscribe. If omitted, the requesting user will be subscribed. |
On success, the response status will be 201 and the Location header will contain the link to the newly created structural_subscription.
Create a new ProductRelease.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createProductRelease | |
changelog |
Changelog A description of every change in the release. | |
date_released | (required) |
Date released The date this release was published. Before release, this should have an estimated release date. |
release_notes |
Release notes A description of important new features (though the changelog below might repeat some of this information). |
On success, the response status will be 201 and the Location header will contain the link to the newly created project_release.
Remove a subscription to bugs from this structure.
If subscription levels for other applications are set, set the subscription's bug_notification_level to NOTHING, otherwise, destroy the subscription.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeBugSubscription |
|
subscriber |
Link to a person. |
Person to unsubscribe. If omitted, the requesting user will be unsubscribed. |
An entity on which a translation import queue entry is attached.
Examples include an IProductSeries, ISourcePackage, IDistroSeries and IPerson.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A Queue item for the archive uploader.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
archive_link |
(read-only) Link to a archive. |
Archive The archive for this upload. |
custom_file_urls |
(read-only) |
Custom File URLs Librarian URLs for all the custom files attached to this upload. |
date_created |
(writeable) |
Date created The date this package upload was done. |
display_arches |
(read-only) |
Architectures related to this item |
display_name |
(read-only) |
Generic displayname for a queue item |
display_version |
(read-only) |
The source package version for this item |
distroseries_link |
(writeable) Link to a distro_series. |
Series The distroseries targeted by this upload. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
|
(writeable) One of:
|
The pocket The pocket targeted by this upload. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
status |
(read-only) One of:
|
Queue status The status of this upload. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
An interface for package sets.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
date_created |
(read-only) |
Date Created The creation date/time for the package set at hand. |
description |
(read-only) |
Description The description for the package set at hand. |
distroseries_link |
(read-only) Link to a distro_series. |
Distribution series The distroseries to which this package set is related. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
Valid package set name |
owner_link |
(read-only) Link to a person. |
Person The person who owns this package set. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Get all source names associated with this package set.
This method returns the source package names that are directly or indirectly associated with the package set at hand. Indirect associations may be defined through package set successors.
Please note: this method was mainly introduced in order to facilitate the listing of source package names via the LP web services API. It returns string names as opposed to ISourcePackageName instances.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getSourcesIncluded |
|
direct_inclusion |
Get source package names not included by another package set.
Which source package names included by this package are not included by the other_package_set?
Please note: this method was mainly introduced in order to facilitate the listing of source package names via the LP web services API. It returns string names as opposed to ISourcePackageName instances.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getSourcesNotSharedBy |
|
direct_inclusion |
||
other_package_set |
(required) Link to a packageset. |
The package set we are comparing to. |
Get source package names also included by another package set.
What source package names does this package set have in common with the other_package_set?
Please note: this method was mainly introduced in order to facilitate the listing of source package names via the LP web services API. It returns string names as opposed to ISourcePackageName instances.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getSourcesSharedBy |
|
direct_inclusion |
||
other_package_set |
(required) Link to a packageset. |
The package set we are comparing to. |
Get all package sets related to this one.
Return all package sets that are related to this one.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: relatedSets |
Response contains an
application/json
representation of a
packageset
collection
.
Get all package sets that are included by this one.
Return all package sets that are directly or indirectly included by this one.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: setsIncluded | |
direct_inclusion |
Response contains an
application/json
representation of a
packageset
collection
.
Get all package sets that include this one.
Return all package sets that directly or indirectly include this one.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: setsIncludedBy | |
direct_inclusion |
Response contains an
application/json
representation of a
packageset
collection
.
Add the named source packages to this package set.
Any passed source package names will become directly associated with the package set at hand.
This function is idempotent in the sense that source package names that are already directly associated with a package set will be ignored.
This method facilitates the addition of source package names to package sets via the LP web services API. It takes string names as opposed to ISourcePackageName instances. Non-existing source package names will be ignored.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addSources |
|
names |
(required) |
A list of source package names. |
Add the named package sets as subsets to this package set.
Any passed source package names will become directly associated with the package set at hand.
This function is idempotent in the sense that package subsets that are already directly associated with a package set will be ignored.
This method facilitates the addition of package subsets via the LP web services API. It takes string names as opposed to IPackageset instances.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addSubsets |
|
names |
(required) |
A list of package set names. |
Remove the named source packages from this package set.
Only source package names directly included by this package set can be removed. Any others will be ignored.
This method facilitates the removal of source package names from package sets via the LP web services API. It takes string names as opposed to ISourcePackageName instances.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeSources |
|
names |
(required) |
A list of source package names. |
Remove the named package subsets from this package set.
Only package subsets directly included by this package set can be removed. Any others will be ignored.
This method facilitates the removal of package subsets via the LP web services API. It takes string names as opposed to IPackageset instances.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeSubsets |
|
names |
(required) |
A list of package set names. |
An object that might be a project, a project group, or a distribution.
This is a polymorphic object served by the pillar set. Check the individual object to see what type it is.
https://api.edge.launchpad.net/devel/<name>
Key | Value | Description |
---|---|---|
active |
(writeable) |
Active Whether or not this item is active. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A diff generated to show actual diff between two branches.
This diff will be used primarily for branch merge proposals where we are trying to determine the effective changes of landing the source branch on the target branch.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
added_lines_count |
(read-only) |
The number of lines added in this diff. |
branch_merge_proposal_link |
(read-only) Link to a branch_merge_proposal. |
The branch merge proposal that diff relates to. |
conflicts |
(read-only) |
The conflicts text describing any path or text conflicts. |
diff_lines_count |
(read-only) |
The number of lines in this diff. |
diff_text_link |
(read-only) Link to a file resource. |
Content of this diff |
diffstat |
(read-only) |
Statistics about this diff |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
prerequisite_revision_id |
(read-only) |
The tip revision id of the prerequisite branch used to generate the diff. |
removed_lines_count |
(read-only) |
The number of lines removed in this diff. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
source_revision_id |
(read-only) |
The tip revision id of the source branch used to generate the diff. |
stale |
(read-only) |
If the preview diff is stale, it is out of date when compared to the tip revisions of the source, target, and possibly prerequisite branches. |
target_revision_id |
(read-only) |
The tip revision id of the target branch used to generate the diff. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A Product.
The Launchpad Registry describes the open source world as ProjectGroups and Products. Each ProjectGroup may be responsible for several Products. For example, the Mozilla Project has Firefox, Thunderbird and The Mozilla App Suite as Products, among others.
https://api.edge.launchpad.net/devel/<name>
Key | Value | Description |
---|---|---|
active |
(writeable) |
Active Whether or not this item is active. |
active_milestones_collection_link |
(read-only) Link to a milestone collection. |
The visible and active milestones associated with this object, ordered by date expected. |
all_milestones_collection_link |
(read-only) Link to a milestone collection. |
All milestones associated with this object, ordered by date expected. |
brand_link |
(writeable) Link to a file resource. |
Brand A large image of exactly 192x192 pixels, that will be displayed on this project's home page in Launchpad. It should be no bigger than 100kb in size. |
bug_reporting_guidelines |
(writeable) |
If I’m reporting a bug, I should include, if possible These guidelines will be shown to anyone reporting a bug. |
bug_supervisor_link |
(writeable) Link to a person. |
Bug Supervisor The person or team responsible for bug management. |
bug_tracker_link |
(writeable) Link to a bug_tracker. |
Bug Tracker The bug tracker specified for use by this project. Note that if this project is in a project_group and bug_tracker_link is None, the bug tracker defined for project_group will be used instead. |
commercial_subscription_is_due |
(read-only) |
Commercial subscription is due Whether the project's licensing requires a new commercial subscription to use launchpad. |
commercial_subscription_link |
(writeable) Link to a commercial_subscription. |
Commercial subscriptions An object which contains the timeframe and the voucher code of a subscription. |
date_created |
(read-only) |
Date Created The date this project was created in Launchpad. |
date_next_suggest_packaging |
(writeable) |
Next suggest packaging date The date when Launchpad can resume suggesting Ubuntu packages that the project provides. The default value is one year after a user states the project is not packaged in Ubuntu. |
description |
(writeable) |
Description 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. |
development_focus_link |
(writeable) Link to a project_series. |
Development focus The series that represents the master or trunk branch. The Bazaar URL lp:<project> points to the development focus series branch. |
display_name |
(writeable) |
Display Name
|
download_url |
(writeable) |
Download URL
|
driver_link |
(writeable) Link to a person. |
Driver This person or team will be able to set feature goals for and approve bug targeting or backporting for ANY major series in this project. You might want to leave this blank and just appoint a team for each specific series, rather than having one project team that does it all. |
freshmeat_project |
(writeable) |
Freshmeat Project
|
homepage_url |
(writeable) |
Homepage URL
|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
icon_link |
(writeable) Link to a file resource. |
Icon A small image of exactly 14x14 pixels and at most 5kb in size, that can be used to identify this project. The icon will be displayed next to the project name everywhere in Launchpad that we refer to the project and link to it. |
is_permitted |
(read-only) True or False |
Is Permitted Whether the project's licensing qualifies for free hosting or the project has an up-to-date subscription. |
license_approved |
(writeable) |
Project approved The project is legitimate and its license appears valid. Not applicable to 'Other/Proprietary'. |
license_info |
(writeable) |
Description of additional licenses Description of licenses that do not appear in the list above. |
license_reviewed |
(writeable) |
Project reviewed Whether or not this project has been reviewed. If you looked at the project and how it uses Launchpad, you reviewed it. |
licenses |
(writeable) |
Licenses |
logo_link |
(writeable) Link to a file resource. |
Logo An image of exactly 64x64 pixels that will be displayed in the heading of all pages related to this project. It should be no bigger than 50kb in size. |
name |
(writeable) |
Name 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. |
official_bug_tags |
(writeable) |
Official Bug Tags The list of bug tags defined as official. |
owner_link |
(writeable) Link to a person. |
Maintainer The person or team who maintains the project information in Launchpad. |
programming_language |
(writeable) |
Programming Languages
|
project_group_link |
(writeable) Link to a project_group. |
Part of 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. |
qualifies_for_free_hosting |
(read-only) |
Qualifies for free hosting Whether the project's licensing qualifies it for free use of launchpad. |
registrant_link |
(read-only) Link to a person. |
Registrant This person registered the project in Launchpad. |
releases_collection_link |
(read-only) Link to a project_release collection. |
An iterator over the ProductReleases for this product. |
remote_product |
(writeable) |
Remote project The ID of this project on its remote bug tracker. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
reviewer_whiteboard |
(writeable) |
Notes for the project reviewer Notes on the project's license, editable only by reviewers (Admins and Commercial Admins). |
screenshots_url |
(writeable) |
Screenshots URL
|
security_contact_link |
(writeable) Link to a person. |
Security Contact The person or team who handles security-related bug reports |
self_link |
(read-only) |
The canonical link to this resource. |
series_collection_link |
(read-only) Link to a project_series collection. |
|
sourceforge_project |
(writeable) |
Sourceforge Project
|
summary |
(writeable) |
Summary A short paragraph to introduce the project's work. |
title |
(writeable) |
Title The project title. Should be just a few words. |
translation_focus_link |
(writeable) Link to a project_series. |
Translation Focus The ProductSeries where translations are focused. |
wiki_url |
(writeable) |
Wiki URL
|
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Returns all branches with the given lifecycle status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBranches | |
modified_since | Limit the branches to those modified since this date. | |
status | A list of branch lifecycle statuses to filter by. |
Response contains an
application/json
representation of a
branch
collection
.
Returns all merge proposals of a given status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMergeProposals | |
status | A list of merge proposal statuses to filter by. |
Response contains an
application/json
representation of a
branch_merge_proposal
collection
.
Return a milestone with the given name for this object, or None.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMilestone | |
name | (required) | Name |
Response contains an
application/json
representation of a
milestone.
Return the release for this product that has the version given.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getRelease | |
version | (required) | Version |
Response contains an
application/json
representation of a
project_release.
Return the series for this product for the given name, or None.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSeries | |
name | (required) | Name |
Response contains an
application/json
representation of a
project_series.
Return the subscription for person, if it exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscription | |
person | (required) Link to a person. |
Response contains an
application/json
representation of a
structural_subscription.
Return all the subscriptions with the specified levels.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscriptions |
Response contains an
application/json
representation of a
structural_subscription
collection
.
Return basic timeline data useful for creating a diagram.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: get_timeline |
|
include_inactive |
Include inactive |
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | |
affected_user | Link to a person. | |
assignee | Link to a person. | |
bug_commenter | Link to a person. | |
bug_reporter | Link to a person. | |
bug_subscriber | Link to a person. | |
bug_supervisor | Link to a person. | |
component |
Component Distribution package archive grouping. E.g. main, universe, multiverse | |
hardware_bus | One of:
| The bus of a hardware device related to a bug |
hardware_driver_name | The driver controlling a hardware device related to a bug. | |
hardware_driver_package_name | The package of the driver which controls a hardware device related to a bug. | |
hardware_is_linked_to_bug | Search for bugs which are linked to hardware reports which contain the given device or whcih contain a devicecontrolled by the given driver. | |
hardware_owner_is_affected_by_bug | Search for bugs where people affected by a bug own the given device or use the given hardware driver. | |
hardware_owner_is_bug_reporter | Search for bugs reported by people who own the given device or who use the given hardware driver. | |
hardware_owner_is_subscribed_to_bug | Search for bugs where a bug subscriber owns the given device or uses the given hardware driver. | |
hardware_product_id |
The product ID of a hardware device related to a bug. Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
hardware_vendor_id |
The vendor ID of a hardware device related to a bug. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
has_cve | True or False | Show only bugs associated with a CVE. |
has_no_package | True or False | Exclude bugs with packages specified. |
has_patch | True or False | Show only bugs with patches available. |
importance |
Importance Show only bugs with the given importance or list of importances. | |
linked_branches | One of:
| Search for bugs that are linked to branches or for bugs that are not linked to branches. |
milestone |
Milestone Show only bug tasks targeted to this milestone. | |
milestone_assignment | Target | |
nominated_for | Link to a distro_series. | |
omit_duplicates | True or False | Omit bugs marked as duplicate, |
omit_targeted | True or False | Omit bugs targeted to series |
order_by | List of fields by which the results are ordered. | |
owner | Link to a person. | |
search_text | Bug ID or search text. | |
status |
Status Show only bugs with the given status value or list of values. See bug_task for list of valid status values. | |
status_upstream |
One of:
|
Status upstream Indicates the status of any remote watches associated with the bug. |
tags |
Tags String or list of strings for tags to search. To exclude, prepend a '-', e.g. '-unwantedtag' | |
tags_combinator | One of:
|
Tags combination Search for any or all of the tags specified. |
Response contains an
application/json
representation of a
bug_task
collection
.
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target with the bug notification level set to COMMENTS, the only level currently in use.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscription | |
subscriber | Link to a person. | Person to subscribe. If omitted, the requesting user will be subscribed. |
On success, the response status will be 201 and the Location header will contain the link to the newly created structural_subscription.
Add tag to the official bug tags of this target.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addOfficialBugTag |
|
tag |
(required) |
The official bug tag |
Create a new code import.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newCodeImport | |
branch_name | Name of branch to create | |
cvs_module | CVS module to import | |
cvs_root | CVS root URL | |
owner | Link to a person. | Owner of the resulting branch |
rcs_type | One of:
| |
url | Foreign VCS URL |
On success, the response status will be 201 and the Location header will contain the link to the newly created code_import.
Creates a new IProductSeries for this IProduct.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newSeries | |
branch | Link to a branch. |
Branch The Bazaar branch for this series. Leave blank if this series is not maintained in Bazaar. |
name | (required) |
Name The name of the series is a short, unique name that identifies it, being used in URLs. It must be all lowercase, with no special characters. For example, '2.0' or 'trunk'. |
release_url_pattern |
Release URL pattern A URL pattern that matches releases that are part of this series. Launchpad automatically scans this site to import new releases. Example: http://ftp.gnu.org/gnu/emacs/emacs-21.*.tar.gz | |
summary | (required) |
Summary A single paragraph that explains the goals of of this series and the intended users. For example: "The 2.0 series of Apache represents the current stable series, and is recommended for all new deployments". |
On success, the response status will be 201 and the Location header will contain the link to the newly created project_series.
Remove a subscription to bugs from this structure.
If subscription levels for other applications are set, set the subscription's bug_notification_level to NOTHING, otherwise, destroy the subscription.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeBugSubscription |
|
subscriber |
Link to a person. |
Person to unsubscribe. If omitted, the requesting user will be unsubscribed. |
Remove tag from the official bug tags of this target.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeOfficialBugTag |
|
tag |
(required) |
The official bug tag |
A ProjectGroup.
https://api.edge.launchpad.net/devel/<name>
Key | Value | Description |
---|---|---|
active |
(writeable) |
Active Whether or not this item is active. |
active_milestones_collection_link |
(read-only) Link to a milestone collection. |
The visible and active milestones associated with this object, ordered by date expected. |
all_milestones_collection_link |
(read-only) Link to a milestone collection. |
All milestones associated with this object, ordered by date expected. |
bug_reporting_guidelines |
(writeable) |
If I’m reporting a bug, I should include, if possible These guidelines will be shown to anyone reporting a bug. |
bug_tracker_link |
(writeable) Link to a bug_tracker. |
Bug Tracker The bug tracker the projects in this project group use. |
date_created |
(read-only) |
Date Created The date this project group was created in Launchpad. |
description |
(writeable) |
Description Details about the project group's work, goals, and how to contribute. Use plain text, paragraphs are preserved and URLs are linked in pages. Don't repeat the Summary. |
display_name |
(writeable) |
Display Name Appropriately capitalised, and typically ending in "Project". Examples: the Apache Project, the Mozilla Project, the Gimp Project. |
driver_link |
(writeable) Link to a person. |
Driver This is a project group-wide appointment. Think carefully here! This person or team will be able to set feature goals and approve bug targeting and backporting for ANY series in ANY project in this group. You can also appoint drivers at the level of a specific project or series. So you may just want to leave this space blank, and instead let the individual projects and series have drivers. |
freshmeat_project |
(writeable) |
Freshmeat Project Name The Freshmeat project name for this project group, if it is in Freshmeat. |
homepage_content |
(writeable) |
Homepage Content The content of this project group's home page. Edit this and it will be displayed for all the world to see. It is NOT a wiki so you cannot undo changes. |
homepage_url |
(writeable) |
Homepage URL The project group home page. Please include the http:// |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
icon_link |
(writeable) Link to a file resource. |
Icon A small image of exactly 14x14 pixels and at most 5kb in size, that can be used to identify this project group. The icon will be displayed in Launchpad everywhere that we link to this project group. For example in listings or tables of active project groups. |
logo_link |
(writeable) Link to a file resource. |
Logo An image of exactly 64x64 pixels that will be displayed in the heading of all pages related to this project group. It should be no bigger than 50kb in size. |
mugshot_link |
(writeable) Link to a file resource. |
Brand A large image of exactly 192x192 pixels, that will be displayed on this project group's home page in Launchpad. It should be no bigger than 100kb in size. |
name |
(writeable) |
Name A unique name, used in URLs, identifying the project group. All lowercase, no special characters. Examples: apache, mozilla, gimp. |
official_bug_tags |
(read-only) |
Official Bug Tags The list of bug tags defined as official. |
owner_link |
(writeable) Link to a person. |
Maintainer Project group owner. Must be either a Launchpad Person or Team. |
projects_collection_link |
(read-only) Link to a project collection. |
List of active projects for this project group. |
registrant_link |
(read-only) Link to a person. |
Registrant Project group registrant. Must be a valid Launchpad Person. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
reviewed |
(writeable) |
Reviewed Whether or not this project group has been reviewed. |
self_link |
(read-only) |
The canonical link to this resource. |
sourceforge_project |
(writeable) |
SourceForge Project Name The SourceForge project name for this project group, if it is in SourceForge. |
summary |
(writeable) |
Project Group Summary A short paragraph to introduce the project group's work. |
title |
(writeable) |
Title The full name of the project group, which can contain spaces, special characters, etc. |
wiki_url |
(writeable) |
Wiki URL The URL of this project group's wiki, if it has one. Please include the http:// |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Returns all branches with the given lifecycle status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBranches | |
modified_since | Limit the branches to those modified since this date. | |
status | A list of branch lifecycle statuses to filter by. |
Response contains an
application/json
representation of a
branch
collection
.
Returns all merge proposals of a given status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMergeProposals | |
status | A list of merge proposal statuses to filter by. |
Response contains an
application/json
representation of a
branch_merge_proposal
collection
.
Return a milestone with the given name for this object, or None.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMilestone | |
name | (required) | Name |
Response contains an
application/json
representation of a
milestone.
Return the subscription for person, if it exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscription | |
person | (required) Link to a person. |
Response contains an
application/json
representation of a
structural_subscription.
Return all the subscriptions with the specified levels.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscriptions |
Response contains an
application/json
representation of a
structural_subscription
collection
.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | |
affected_user | Link to a person. | |
assignee | Link to a person. | |
bug_commenter | Link to a person. | |
bug_reporter | Link to a person. | |
bug_subscriber | Link to a person. | |
bug_supervisor | Link to a person. | |
component |
Component Distribution package archive grouping. E.g. main, universe, multiverse | |
hardware_bus | One of:
| The bus of a hardware device related to a bug |
hardware_driver_name | The driver controlling a hardware device related to a bug. | |
hardware_driver_package_name | The package of the driver which controls a hardware device related to a bug. | |
hardware_is_linked_to_bug | Search for bugs which are linked to hardware reports which contain the given device or whcih contain a devicecontrolled by the given driver. | |
hardware_owner_is_affected_by_bug | Search for bugs where people affected by a bug own the given device or use the given hardware driver. | |
hardware_owner_is_bug_reporter | Search for bugs reported by people who own the given device or who use the given hardware driver. | |
hardware_owner_is_subscribed_to_bug | Search for bugs where a bug subscriber owns the given device or uses the given hardware driver. | |
hardware_product_id |
The product ID of a hardware device related to a bug. Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
hardware_vendor_id |
The vendor ID of a hardware device related to a bug. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
has_cve | True or False | Show only bugs associated with a CVE. |
has_no_package | True or False | Exclude bugs with packages specified. |
has_patch | True or False | Show only bugs with patches available. |
importance |
Importance Show only bugs with the given importance or list of importances. | |
linked_branches | One of:
| Search for bugs that are linked to branches or for bugs that are not linked to branches. |
milestone |
Milestone Show only bug tasks targeted to this milestone. | |
milestone_assignment | Target | |
nominated_for | Link to a distro_series. | |
omit_duplicates | True or False | Omit bugs marked as duplicate, |
omit_targeted | True or False | Omit bugs targeted to series |
order_by | List of fields by which the results are ordered. | |
owner | Link to a person. | |
search_text | Bug ID or search text. | |
status |
Status Show only bugs with the given status value or list of values. See bug_task for list of valid status values. | |
status_upstream |
One of:
|
Status upstream Indicates the status of any remote watches associated with the bug. |
tags |
Tags String or list of strings for tags to search. To exclude, prepend a '-', e.g. '-unwantedtag' | |
tags_combinator | One of:
|
Tags combination Search for any or all of the tags specified. |
Response contains an
application/json
representation of a
bug_task
collection
.
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target with the bug notification level set to COMMENTS, the only level currently in use.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscription | |
subscriber | Link to a person. | Person to subscribe. If omitted, the requesting user will be subscribed. |
On success, the response status will be 201 and the Location header will contain the link to the newly created structural_subscription.
Remove a subscription to bugs from this structure.
If subscription levels for other applications are set, set the subscription's bug_notification_level to NOTHING, otherwise, destroy the subscription.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeBugSubscription |
|
subscriber |
Link to a person. |
Person to unsubscribe. If omitted, the requesting user will be unsubscribed. |
A specific release (i.e. version) of a product.
For example: Mozilla 1.7.2 or Apache 2.0.48.
https://api.edge.launchpad.net/devel/<project.name>/<project_series.name>/<release.version>
Key | Value | Description |
---|---|---|
changelog |
(writeable) |
Changelog A description of every change in the release. |
date_created |
(read-only) |
Date Created The date this project release was created in Launchpad. |
date_released |
(writeable) |
Date released The date this release was published. Before release, this should have an estimated release date. |
display_name |
(read-only) |
Constructed display name for a project release. |
files_collection_link |
(read-only) Link to a project_release_file collection. |
Project release files A list of files for this release. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
milestone_link |
(writeable) Link to a milestone. |
Milestone for this release A release requires a corresponding milestone that is not attached to another release. |
owner_link |
(writeable) Link to a person. |
The owner of this release. The person or team who owns his product release. |
project_link |
(read-only) Link to a project. |
The upstream project of this release. |
release_notes |
(writeable) |
Release notes A description of important new features (though the changelog below might repeat some of this information). |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
title |
(read-only) |
Constructed title for a project release. |
version |
(writeable) |
Version The specific version number assigned to this release. Letters and numbers are acceptable, for releases like "1.2rc3". |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Add file to the library and link to this IProductRelease.
The signature file will also be added if available.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: add_file | |
content_type | (required) | |
description |
Description A detailed description of the file contents | |
file_content | (required) Link to a file resource. | |
file_type | One of:
| Upstream file type |
filename | (required) | |
signature_content | Link to a file resource. | |
signature_filename |
On success, the response status will be 201 and the Location header will contain the link to the newly created project_release_file.
Delete this product release.
This method must not be used if this product release has any release files associated with it.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: delete |
A file associated with a ProductRelease.
https://api.edge.launchpad.net/devel/<project.name>/<project_series.name>/<release.version>/+file/<hosted_file.filename>
Key | Value | Description |
---|---|---|
date_uploaded |
(read-only) |
Upload date The date this file was uploaded |
description |
(writeable) |
Description A detailed description of the file contents |
file_link |
(read-only) Link to a file resource. |
File The file contents. |
file_type |
(writeable) One of:
|
Upstream file type |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
project_release_link |
(writeable) Link to a project_release. |
Project release The parent product release. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
signature_link |
(read-only) Link to a file resource. |
File signature The file signature. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Delete the product release file.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: delete |
A series of releases. For example '2.0' or '1.3' or 'dev'.
https://api.edge.launchpad.net/devel/<project.name>/<name>
Key | Value | Description |
---|---|---|
active |
(writeable) |
Active Whether or not this series is stable and supported, or under current development. This excludes series which are experimental or obsolete. |
active_milestones_collection_link |
(read-only) Link to a milestone collection. |
The visible milestones associated with this project series, ordered by date expected. |
all_milestones_collection_link |
(read-only) Link to a milestone collection. |
All milestones associated with this project series, ordered by date expected. |
branch_link |
(writeable) Link to a branch. |
Branch The Bazaar branch for this series. Leave blank if this series is not maintained in Bazaar. |
bug_reporting_guidelines |
(writeable) |
If I’m reporting a bug, I should include, if possible These guidelines will be shown to anyone reporting a bug. |
date_created |
(read-only) |
Date Registered |
display_name |
(writeable) |
Display Name Display name, in this case we have removed the underlying database field, and this attribute just returns the name. |
driver_link |
(writeable) Link to a person. |
Release manager The person or team responsible for decisions about features and bugs that will be targeted to this series. If you don't nominate someone here, then the owner of this series will automatically have those permissions, as will the project and project group drivers. |
drivers_collection_link |
(read-only) Link to a person collection. |
A list of the people or teams who are drivers for this series. This list is made up of any drivers or owners from this series and the parent drivers. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
Name The name of the series is a short, unique name that identifies it, being used in URLs. It must be all lowercase, with no special characters. For example, '2.0' or 'trunk'. |
official_bug_tags |
(read-only) |
Official Bug Tags The list of bug tags defined as official. |
owner_link |
(writeable) Link to a person. |
Owner Project owner, either a valid Person or Team |
project_link |
(writeable) Link to a project. |
Project |
releases_collection_link |
(read-only) Link to a project_release collection. |
An iterator over the releases in this Series, sorted with latest release first. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
status |
(writeable) One of:
|
Status |
summary |
(writeable) |
Summary A single paragraph that explains the goals of of this series and the intended users. For example: "The 2.0 series of Apache represents the current stable series, and is recommended for all new deployments". |
title |
(writeable) |
Title The product series title. Should be just a few words. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Return the subscription for person, if it exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscription | |
person | (required) Link to a person. |
Response contains an
application/json
representation of a
structural_subscription.
Return all the subscriptions with the specified levels.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscriptions |
Response contains an
application/json
representation of a
structural_subscription
collection
.
Return basic timeline data useful for creating a diagram.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: get_timeline |
|
include_inactive |
Include inactive |
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | |
affected_user | Link to a person. | |
assignee | Link to a person. | |
bug_commenter | Link to a person. | |
bug_reporter | Link to a person. | |
bug_subscriber | Link to a person. | |
bug_supervisor | Link to a person. | |
component |
Component Distribution package archive grouping. E.g. main, universe, multiverse | |
hardware_bus | One of:
| The bus of a hardware device related to a bug |
hardware_driver_name | The driver controlling a hardware device related to a bug. | |
hardware_driver_package_name | The package of the driver which controls a hardware device related to a bug. | |
hardware_is_linked_to_bug | Search for bugs which are linked to hardware reports which contain the given device or whcih contain a devicecontrolled by the given driver. | |
hardware_owner_is_affected_by_bug | Search for bugs where people affected by a bug own the given device or use the given hardware driver. | |
hardware_owner_is_bug_reporter | Search for bugs reported by people who own the given device or who use the given hardware driver. | |
hardware_owner_is_subscribed_to_bug | Search for bugs where a bug subscriber owns the given device or uses the given hardware driver. | |
hardware_product_id |
The product ID of a hardware device related to a bug. Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
hardware_vendor_id |
The vendor ID of a hardware device related to a bug. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
has_cve | True or False | Show only bugs associated with a CVE. |
has_no_package | True or False | Exclude bugs with packages specified. |
has_patch | True or False | Show only bugs with patches available. |
importance |
Importance Show only bugs with the given importance or list of importances. | |
linked_branches | One of:
| Search for bugs that are linked to branches or for bugs that are not linked to branches. |
milestone |
Milestone Show only bug tasks targeted to this milestone. | |
milestone_assignment | Target | |
nominated_for | Link to a distro_series. | |
omit_duplicates | True or False | Omit bugs marked as duplicate, |
omit_targeted | True or False | Omit bugs targeted to series |
order_by | List of fields by which the results are ordered. | |
owner | Link to a person. | |
search_text | Bug ID or search text. | |
status |
Status Show only bugs with the given status value or list of values. See bug_task for list of valid status values. | |
status_upstream |
One of:
|
Status upstream Indicates the status of any remote watches associated with the bug. |
tags |
Tags String or list of strings for tags to search. To exclude, prepend a '-', e.g. '-unwantedtag' | |
tags_combinator | One of:
|
Tags combination Search for any or all of the tags specified. |
Response contains an
application/json
representation of a
bug_task
collection
.
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target with the bug notification level set to COMMENTS, the only level currently in use.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscription | |
subscriber | Link to a person. | Person to subscribe. If omitted, the requesting user will be subscribed. |
On success, the response status will be 201 and the Location header will contain the link to the newly created structural_subscription.
Create a new milestone for this ProjectSeries.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newMilestone | |
code_name |
Code name An alternative name for the milestone. | |
date_targeted |
Date Targeted Example: 2005-11-24 | |
name | (required) |
Name Only letters, numbers, and simple punctuation are allowed. |
summary |
Summary A summary of the features and status of this milestone. |
On success, the response status will be 201 and the Location header will contain the link to the newly created milestone.
Remove a subscription to bugs from this structure.
If subscription levels for other applications are set, set the subscription's bug_notification_level to NOTHING, otherwise, destroy the subscription.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeBugSubscription |
|
subscriber |
Link to a person. |
Person to unsubscribe. If omitted, the requesting user will be unsubscribed. |
A SourcePackage. See the MagicSourcePackage specification. This interface preserves as much as possible of the old SourcePackage interface from the SourcePackage table, with the new table-less implementation.
https://api.edge.launchpad.net/devel/<distribution.name>/<distro_series.name>/+source/<name>
Key | Value | Description |
---|---|---|
bug_reporting_guidelines |
(writeable) |
If I’m reporting a bug, I should include, if possible These guidelines will be shown to anyone reporting a bug. |
displayname |
(writeable) |
Display name A displayname, constructed, for this package |
distribution_link |
(writeable) Link to a distribution. |
Distribution The distribution for this source package. |
distroseries_link |
(writeable) Link to a distro_series. |
Distribution Series The DistroSeries for this SourcePackage |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
latest_published_component_name |
(read-only) |
The name of the component in which the package was last published. |
name |
(writeable) |
Name The text name of this source package. |
official_bug_tags |
(read-only) |
Official Bug Tags The list of bug tags defined as official. |
productseries_link |
(writeable) Link to a project_series. |
Project series The registered project series that this source package is based on. This series may be the same as the one that earlier versions of this source packages were based on. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Get the official branch for this package in the given pocket.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBranch | |
(required) One of:
|
Response contains an
application/json
representation of a
branch.
Returns all branches with the given lifecycle status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBranches | |
modified_since | Limit the branches to those modified since this date. | |
status | A list of branch lifecycle statuses to filter by. |
Response contains an
application/json
representation of a
branch
collection
.
Returns all merge proposals of a given status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMergeProposals | |
status | A list of merge proposal statuses to filter by. |
Response contains an
application/json
representation of a
branch_merge_proposal
collection
.
Get the official branches for this package.
This operation returns a {Pocket-name : IBranch} dict.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: linkedBranches |
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | |
affected_user | Link to a person. | |
assignee | Link to a person. | |
bug_commenter | Link to a person. | |
bug_reporter | Link to a person. | |
bug_subscriber | Link to a person. | |
bug_supervisor | Link to a person. | |
component |
Component Distribution package archive grouping. E.g. main, universe, multiverse | |
hardware_bus | One of:
| The bus of a hardware device related to a bug |
hardware_driver_name | The driver controlling a hardware device related to a bug. | |
hardware_driver_package_name | The package of the driver which controls a hardware device related to a bug. | |
hardware_is_linked_to_bug | Search for bugs which are linked to hardware reports which contain the given device or whcih contain a devicecontrolled by the given driver. | |
hardware_owner_is_affected_by_bug | Search for bugs where people affected by a bug own the given device or use the given hardware driver. | |
hardware_owner_is_bug_reporter | Search for bugs reported by people who own the given device or who use the given hardware driver. | |
hardware_owner_is_subscribed_to_bug | Search for bugs where a bug subscriber owns the given device or uses the given hardware driver. | |
hardware_product_id |
The product ID of a hardware device related to a bug. Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
hardware_vendor_id |
The vendor ID of a hardware device related to a bug. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
has_cve | True or False | Show only bugs associated with a CVE. |
has_no_package | True or False | Exclude bugs with packages specified. |
has_patch | True or False | Show only bugs with patches available. |
importance |
Importance Show only bugs with the given importance or list of importances. | |
linked_branches | One of:
| Search for bugs that are linked to branches or for bugs that are not linked to branches. |
milestone |
Milestone Show only bug tasks targeted to this milestone. | |
milestone_assignment | Target | |
nominated_for | Link to a distro_series. | |
omit_duplicates | True or False | Omit bugs marked as duplicate, |
omit_targeted | True or False | Omit bugs targeted to series |
order_by | List of fields by which the results are ordered. | |
owner | Link to a person. | |
search_text | Bug ID or search text. | |
status |
Status Show only bugs with the given status value or list of values. See bug_task for list of valid status values. | |
status_upstream |
One of:
|
Status upstream Indicates the status of any remote watches associated with the bug. |
tags |
Tags String or list of strings for tags to search. To exclude, prepend a '-', e.g. '-unwantedtag' | |
tags_combinator | One of:
|
Tags combination Search for any or all of the tags specified. |
Response contains an
application/json
representation of a
bug_task
collection
.
Create a new code import.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newCodeImport | |
branch_name | Name of branch to create | |
cvs_module | CVS module to import | |
cvs_root | CVS root URL | |
owner | Link to a person. | Owner of the resulting branch |
rcs_type | One of:
| |
url | Foreign VCS URL |
On success, the response status will be 201 and the Location header will contain the link to the newly created code_import.
Set the official branch for the given pocket of this package.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setBranch |
|
branch |
Link to a branch. |
Branch |
|
(required) One of:
|
|
A source package publishing history record.
https://api.edge.launchpad.net/devel/<distribution>/+archive/<name>/+sourcepub/<id>
Key | Value | Description |
---|---|---|
archive_link |
(read-only) Link to a archive. |
Archive ID |
component_name |
(read-only) |
Component Name |
date_created |
(writeable) |
The date on which this record was created |
date_made_pending |
(writeable) |
The date on which this record was set as pending removal |
date_published |
(writeable) |
The date on which this record was published |
date_removed |
(writeable) |
The date on which this record was removed from the published set |
date_superseded |
(writeable) |
The date on which this record was marked superseded |
display_name |
(writeable) |
Display Name Text representation of the current record. |
distro_series_link |
(writeable) Link to a distro_series. |
The distro series being published into |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
package_creator_link |
(read-only) Link to a person. |
Package Creator The IPerson who created the source package. |
package_maintainer_link |
(read-only) Link to a person. |
Package Maintainer The IPerson who maintains the source package. |
package_signer_link |
(read-only) Link to a person. |
Package Signer The IPerson who signed the source package. |
|
(read-only) One of:
|
The pocket into which this entry is published |
removal_comment |
(writeable) |
Reason why this publication is going to be removed. |
removed_by_link |
(writeable) Link to a person. |
The IPerson responsible for the removal |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
scheduled_deletion_date |
(writeable) |
The date on which this record is scheduled for deletion |
section_name |
(read-only) |
Section Name |
self_link |
(read-only) |
The canonical link to this resource. |
source_package_name |
(read-only) |
Source Package Name |
source_package_version |
(read-only) |
Source Package Version |
status |
(writeable) One of:
|
Package Publishing Status The status of this publishing record |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
URLs for this source publication's binary files.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: binaryFileUrls |
The .changes file URL for this source publication.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: changesFileUrl |
Return a list of IBuild objects in this publishing context.
The builds are ordered by DistroArchSeries.architecturetag.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBuilds |
Response contains an
application/json
representation of a
build
collection
.
Return all resulted IBinaryPackagePublishingHistory.
Follow the build record and return every PUBLISHED or PENDING binary publishing record for any DistroArchSeries in this DistroSeries and in the same IArchive and Pocket, ordered by architecture tag.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPublishedBinaries |
Response contains an
application/json
representation of a
binary_package_publishing_history
collection
.
URLs for this source publication's uploaded source files.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: sourceFileUrls |
Delete this publication.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: requestDeletion |
|
removal_comment |
Removal comment |
An ISourcePackageRecipe describes how to build a source package.
More precisely, it describes how to combine a number of branches into a debianized source tree.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
Name The name of this recipe. |
owner_link |
(writeable) Link to a person. |
Owner The person or team who can edit this recipe. |
recipe_text |
(writeable) |
|
registrant_link |
(read-only) Link to a person. |
The person who created this recipe. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
sourcepackagename |
(writeable) |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Request that the recipe be built in to the specified archive.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: requestBuild |
|
archive |
(required) Link to a archive. |
|
distroseries |
(required) Link to a distro_series. |
|
|
(required) One of:
|
Set the text of the recipe.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setRecipeText |
|
recipe_text |
(required) |
A build of a source package.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
archive_link |
(read-only) Link to a archive. |
Archive The Archive context for this build. |
build_log_url |
(writeable) |
Build Log URL A URL for the build log. None if there is no log available. |
buildstate |
(writeable) One of:
|
State The current build state. |
date_first_dispatched |
(writeable) |
Date first dispatched The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts. |
datebuilt |
(writeable) |
Date built The time when the build result got collected. |
datecreated |
(read-only) |
Date created The time when the build request was created. |
dependencies |
(writeable) |
Dependencies Debian-like dependency line that must be satisfied before attempting to build this request. |
distribution_link |
(writeable) Link to a distribution. |
Distribution Shortcut for its distribution. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
|
(writeable) One of:
|
The build targeted pocket. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
title |
(writeable) |
Title |
upload_log_url |
(writeable) |
Upload Log URL A URL for failed upload logs.Will be None if there was no failure. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A Specification.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Associate a branch with this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: linkBranch |
|
branch |
(required) Link to a branch. |
Unlink a branch from this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unlinkBranch |
|
branch |
(required) Link to a branch. |
A branch linked to a specification.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
branch_link |
(writeable) Link to a branch. |
Branch |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
registrant_link |
(read-only) Link to a person. |
The person who linked the bug to the branch |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
specification_link |
(read-only) Link to a specification. |
Blueprint |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Destroy this specification branch link
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: delete |
SSH public key
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
comment |
(read-only) |
Comment describing this key |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
keytext |
(read-only) |
Key text |
keytype |
(read-only) One of:
|
Key type |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A subscription to a Launchpad structure.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
date_created |
(read-only) |
The date on which this subscription was created. |
date_last_updated |
(read-only) |
The date on which this subscription was last updated. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
subscribed_by_link |
(read-only) Link to a person. |
Subscribed by The person creating the subscription. |
subscriber_link |
(read-only) Link to a person. |
Subscriber The person subscribed. |
target_link |
(read-only) Link to a structural_subscription_target. |
The structure to which this subscription belongs. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
A Launchpad Structure allowing users to subscribe to it.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Return the subscription for person, if it exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscription | |
person | (required) Link to a person. |
Response contains an
application/json
representation of a
structural_subscription.
Return all the subscriptions with the specified levels.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscriptions |
Response contains an
application/json
representation of a
structural_subscription
collection
.
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target with the bug notification level set to COMMENTS, the only level currently in use.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscription | |
subscriber | Link to a person. | Person to subscribe. If omitted, the requesting user will be subscribed. |
On success, the response status will be 201 and the Location header will contain the link to the newly created structural_subscription.
Remove a subscription to bugs from this structure.
If subscription levels for other applications are set, set the subscription's bug_notification_level to NOTHING, otherwise, destroy the subscription.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeBugSubscription |
|
subscriber |
Link to a person. |
Person to unsubscribe. If omitted, the requesting user will be unsubscribed. |
ITeam extends IPerson.
The teamowner should never be None.
https://api.edge.launchpad.net/devel/~<name>
Key | Value | Description |
---|---|---|
admins_collection_link |
(read-only) Link to a person collection. |
List of this team's admins. |
archive_link |
(read-only) Link to a archive. |
Default PPA The PPA named 'ppa' owned by this person. |
confirmed_email_addresses_collection_link |
(read-only) Link to a email_address collection. |
Confirmed e-mails of this person. Confirmed e-mails are the ones in the VALIDATED state |
date_created |
(read-only) |
Date Created |
deactivated_members_collection_link |
(read-only) Link to a person collection. |
All members whose membership is in the DEACTIVATED state |
default_membership_period |
(writeable) |
Subscription period 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. |
default_renewal_period |
(writeable) |
Renewal period 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. |
display_name |
(writeable) |
Display Name Your name as you would like it displayed throughout Launchpad. Most people use their full name here. |
expired_members_collection_link |
(read-only) Link to a person collection. |
All members whose membership is in the EXPIRED state |
gpg_keys_collection_link |
(read-only) Link to a gpg_key collection. |
List of valid OpenPGP keys ordered by ID |
hardware_submissions_collection_link |
(read-only) Link to a h_w_submission collection. |
Hardware submissions |
hide_email_addresses |
(writeable) |
Hide my email addresses from other Launchpad users |
homepage_content |
(writeable) |
Homepage Content The content of your profile page. Use plain text, paragraphs are preserved and URLs are linked in pages. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
invited_members_collection_link |
(read-only) Link to a person collection. |
All members whose membership is in the INVITED state |
irc_nicknames_collection_link |
(read-only) Link to a irc_id collection. |
List of IRC nicknames of this Person. |
is_probationary |
(read-only) True or False |
Is this a probationary user? |
is_team |
(read-only) True or False |
Is this object a team? |
is_ubuntu_coc_signer |
(read-only) True or False |
Signed Ubuntu Code of Conduct |
is_valid |
(read-only) True or False |
This is an active user or a team. |
jabber_ids_collection_link |
(read-only) Link to a jabber_id collection. |
List of Jabber IDs of this Person. |
karma |
(read-only) |
Karma The cached total karma for this person. |
languages_collection_link |
(read-only) Link to a language collection. |
List of languages known by this person |
latitude |
(read-only) |
The latitude of this object. |
logo_link |
(writeable) Link to a file resource. |
Logo An image of exactly 64x64 pixels that will be displayed in the heading of all pages related to you. Traditionally this is a logo, a small picture or a personal mascot. It should be no bigger than 50kb in size. |
longitude |
(read-only) |
The longitude of this object. |
mailing_list_auto_subscribe_policy |
(writeable) One of:
|
Mailing List Auto-subscription Policy This attribute determines whether a person is automatically subscribed to a team's mailing list when the person joins said team. |
members_collection_link |
(read-only) Link to a person collection. |
List of members with ADMIN or APPROVED status |
members_details_collection_link |
(read-only) Link to a team_membership collection. |
Active TeamMemberships for this object's members. Active TeamMemberships are the ones with the ADMIN or APPROVED status. The results are ordered using Person.sortingColumns. |
memberships_details_collection_link |
(read-only) Link to a team_membership collection. |
All TeamMemberships for Teams this Person is an active member of. |
mugshot_link |
(writeable) Link to a file resource. |
Mugshot A large image of exactly 192x192 pixels, that will be displayed on your home page in Launchpad. Traditionally this is a great big picture of your grinning face. Make the most of it! It should be no bigger than 100kb in size. |
name |
(writeable) |
Name A short unique name, beginning with a lower-case letter or number, and containing only letters, numbers, dots, hyphens, or plus signs. |
open_membership_invitations_collection_link |
(read-only) Link to a team_membership collection. |
Open membership invitations. All TeamMemberships which represent an invitation (to join a team) sent to this person. |
participants_collection_link |
(read-only) Link to a person collection. |
All participants of this team. List of all direct and indirect people and teams who, one way or another, are a part of this team. If you want a method to check if a given person is a member of a team, you should probably look at IPerson.inTeam(). |
ppas_collection_link |
(read-only) Link to a archive collection. |
PPAs for this person. PPAs owned by the context person ordered by name. |
preferred_email_address_link |
(read-only) Link to a email_address. |
Preferred email address The preferred email address for this person. The one we'll use to communicate with them. |
private |
(read-only) |
This team is private Private teams are visible only to their members. |
proposed_members_collection_link |
(read-only) Link to a person collection. |
All members whose membership is in the PROPOSED state |
renewal_policy |
(writeable) One of:
|
When someone's membership is about to expire, notify them and |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
sshkeys_collection_link |
(read-only) Link to a ssh_key collection. |
List of SSH keys |
sub_teams_collection_link |
(read-only) Link to a team collection. |
All subteams of this team. A subteam is any team that is a member (either directly or indirectly) of this team. As an example, let's say we have this hierarchy of teams:
In this case, both 'Rosetta pt Translators' and 'Rosetta pt_BR Translators' are subteams of the 'Rosetta Translators' team, and all members of both subteams are considered members of "Rosetta Translators". |
subscription_policy |
(writeable) One of:
|
Subscription policy 'Moderated' means all subscriptions must be approved. 'Open' means any user can join without approval. 'Restricted' means new members can be added only by a team administrator. |
super_teams_collection_link |
(read-only) Link to a team collection. |
All superteams of this team. A superteam is any team that this team is a member of. For example, let's say we have this hierarchy of teams, and we are the "Rosetta pt_BR Translators":
In this case, we will return both 'Rosetta pt Translators' and 'Rosetta Translators', because we are member of both of them. |
team_description |
(writeable) |
Team Description Details about the team's work, highlights, goals, and how to contribute. Use plain text, paragraphs are preserved and URLs are linked in pages. |
team_owner_link |
(writeable) Link to a person. |
Team Owner |
time_zone |
(read-only) |
The time zone of this object. |
visibility |
(writeable) One of:
|
Visibility Public visibility is standard. Private Membership means that a team's members are hidden. Private means the team is completely hidden [experimental]. |
wiki_names_collection_link |
(read-only) Link to a wiki_name collection. |
All WikiNames of this Person, sorted alphabetically by URL. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Return private archive URLs that this person can see.
For each of the private archives (PPAs) that this person can see, return a URL that includes the HTTP basic auth data. The URL returned is suitable for including in a sources.list file.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getArchiveSubscriptionURLs |
Returns all branches with the given lifecycle status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBranches | |
modified_since | Limit the branches to those modified since this date. | |
status | A list of branch lifecycle statuses to filter by. |
Response contains an
application/json
representation of a
branch
collection
.
Return the people whose membership on this team match :status:.
If no orderby is provided, Person.sortingColumns is used.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMembersByStatus | |
status | (required) One of:
| The state of this membership |
Response contains an
application/json
representation of a
person
collection
.
Returns all merge proposals of a given status.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMergeProposals | |
status | A list of merge proposal statuses to filter by. |
Response contains an
application/json
representation of a
branch_merge_proposal
collection
.
Return a PPA with the given name if it exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPPAByName | |
name | (required) |
Response contains an
application/json
representation of a
archive.
Return the person's recipe with the given name.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getRecipe | |
name | (required) |
Response contains an
application/json
representation of a
source_package_recipe.
Returns merge proposals where a person was asked to review.
This does not include merge proposals that were requested from teams that the person is part of. If status is not passed then it will return proposals that are in the "Needs Review" state.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getRequestedReviews | |
status | A list of merge proposal statuses to filter by. |
Response contains an
application/json
representation of a
branch_merge_proposal
collection
.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
In order to search bugs that are related to a given hardware device, you must specify the bus, the vendor ID, the product ID of the device and set at least one of hardware_owner_is_bug_reporter, hardware_owner_is_affected_by_bug, hardware_owner_is_subscribed_to_bug, hardware_is_linked_to_bug to True.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | |
affected_user | Link to a person. | |
assignee | Link to a person. | |
bug_commenter | Link to a person. | |
bug_reporter | Link to a person. | |
bug_subscriber | Link to a person. | |
bug_supervisor | Link to a person. | |
component |
Component Distribution package archive grouping. E.g. main, universe, multiverse | |
hardware_bus | One of:
| The bus of a hardware device related to a bug |
hardware_driver_name | The driver controlling a hardware device related to a bug. | |
hardware_driver_package_name | The package of the driver which controls a hardware device related to a bug. | |
hardware_is_linked_to_bug | Search for bugs which are linked to hardware reports which contain the given device or whcih contain a devicecontrolled by the given driver. | |
hardware_owner_is_affected_by_bug | Search for bugs where people affected by a bug own the given device or use the given hardware driver. | |
hardware_owner_is_bug_reporter | Search for bugs reported by people who own the given device or who use the given hardware driver. | |
hardware_owner_is_subscribed_to_bug | Search for bugs where a bug subscriber owns the given device or uses the given hardware driver. | |
hardware_product_id |
The product ID of a hardware device related to a bug. Allowed values of the product ID depend on the bus of the device. Product IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI product IDs are strings with exactly 16 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
hardware_vendor_id |
The vendor ID of a hardware device related to a bug. Allowed values of the vendor ID depend on the bus of the device. Vendor IDs of PCI, PCCard and USB devices are hexadecimal string representations of 16 bit integers in the format '0x01ab': The prefix '0x', followed by exactly 4 digits; where a digit is one of the characters 0..9, a..f. The characters A..F are not allowed. SCSI vendor IDs are strings with exactly 8 characters. Shorter names are right-padded with space (0x20) characters. IDs for other buses may be arbitrary strings. | |
has_cve | True or False | Show only bugs associated with a CVE. |
has_no_package | True or False | Exclude bugs with packages specified. |
has_patch | True or False | Show only bugs with patches available. |
importance |
Importance Show only bugs with the given importance or list of importances. | |
linked_branches | One of:
| Search for bugs that are linked to branches or for bugs that are not linked to branches. |
milestone |
Milestone Show only bug tasks targeted to this milestone. | |
milestone_assignment | Target | |
nominated_for | Link to a distro_series. | |
omit_duplicates | True or False | Omit bugs marked as duplicate, |
omit_targeted | True or False | Omit bugs targeted to series |
order_by | List of fields by which the results are ordered. | |
owner | Link to a person. | |
search_text | Bug ID or search text. | |
status |
Status Show only bugs with the given status value or list of values. See bug_task for list of valid status values. | |
status_upstream |
One of:
|
Status upstream Indicates the status of any remote watches associated with the bug. |
tags |
Tags String or list of strings for tags to search. To exclude, prepend a '-', e.g. '-unwantedtag' | |
tags_combinator | One of:
|
Tags combination Search for any or all of the tags specified. |
Response contains an
application/json
representation of a
bug_task
collection
.
Accept an invitation to become a member of the given team.
There must be a TeamMembership for this person and the given team with the INVITED status. The status of this TeamMembership will be changed to APPROVED.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: acceptInvitationToBeMemberOf |
|
comment |
(required) |
|
team |
(required) Link to a person. |
Team |
Add the given person as a member of this team.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addMember |
|
comment |
||
person |
(required) Link to a person. |
Member |
status |
One of:
|
The state of this membership |
Create a SourcePackageRecipe owned by this person.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createRecipe | |
description | (required) | |
distroseries | (required) | |
name | (required) | |
recipe_text | (required) | |
sourcepackagename | (required) |
On success, the response status will be 201 and the Location header will contain the link to the newly created source_package_recipe.
Decline an invitation to become a member of the given team.
There must be a TeamMembership for this person and the given team with the INVITED status. The status of this TeamMembership will be changed to INVITATION_DECLINED.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: declineInvitationToBeMemberOf |
|
comment |
(required) |
|
team |
(required) Link to a person. |
Team |
Join the given team if its subscriptionpolicy is not RESTRICTED.
Join the given team according to the policies and defaults of that team:
If may_subscribe_to_list is True, then also attempt to subscribe to the team's mailing list, depending on the list status and the person's auto-subscribe settings.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: join |
|
team |
(required) Link to a person. |
Team |
Leave the given team.
If there's a membership entry for this person on the given team and its status is either APPROVED or ADMIN, we change the status to DEACTIVATED and remove the relevant entries in teamparticipation.
Teams cannot call this method because they're not allowed to login and thus can't 'leave' another team. Instead, they have their subscription deactivated (using the setMembershipData() method) by a team administrator.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: leave |
|
team |
(required) Link to a person. |
Team |
Specify the location and time zone of a person.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setLocation |
|
latitude |
(required) |
The latitude of this object. |
longitude |
(required) |
The longitude of this object. |
time_zone |
(required) |
The time zone of this object. |
Specify the visibility of a person's location and time zone.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setLocationVisibility |
|
visible |
Is this location record visible? |
def get_join_date(team, user): team = launchpad.people[team] members = team.members_details for member in members: if member.member.name == user: return member.date_joined return None print get_join_date("zeitgeist", "thekorn") ### ==> should return a datetime.datetime object like 2009-06-14 18:01:10.511369+00:00
TeamMembership for Users
https://api.edge.launchpad.net/devel/~<team.name>/+member/<member.name>
Key | Value | Description |
---|---|---|
date_expires |
(read-only) |
Date expires |
date_joined |
(read-only) |
Date joined The date in which this membership was made active for the first time. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
last_change_comment |
(read-only) |
Comment on the last change |
last_changed_by_link |
(read-only) Link to a person. |
Last person who change this |
member_link |
(read-only) Link to a person. |
Member |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
status |
(read-only) One of:
|
The state of this membership |
team_link |
(read-only) Link to a person. |
Team |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Set this membership's expiration date.
The given date must be None or in the future and the given user must be allowed to change this membership's expiration date as per the rules defined in canChangeExpirationDate().
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setExpirationDate |
|
date |
Date expires |
Set the status of this membership.
The user and comment are stored in last_changed_by and last_change_comment and may also be stored in proposed_by (and proponent_comment), reviewed_by (and reviewer_comment) or acknowledged_by (and acknowledger_comment), depending on the state transition.
The given status must be different than the current status.
Return True if the status got changed, otherwise False.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setStatus |
|
comment |
Reviewer comment |
|
silent |
Do not send notifications of status change. For use by Launchpad administrators only. |
|
status |
(required) One of:
|
The state of this membership |
A blob which we will store in the database temporarily.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
token |
(read-only) |
UUID |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Return True if this blob has been processed.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: hasBeenProcessed |
An entry of the Translation Import Queue.
https://api.edge.launchpad.net/devel
Key | Value | Description |
---|---|---|
date_created |
(read-only) |
The timestamp when this queue entry was created. |
date_status_changed |
(writeable) |
The timestamp when the status was changed. |
distroseries_link |
(read-only) Link to a distro_series. |
Series |
error_output |
(read-only) |
Error output Output from most recent import attempt. |
format |
(read-only) One of:
|
The file format of the import. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
The entry ID |
path |
(writeable) |
Path The path to this file inside the source tree. Includes the filename. |
productseries_link |
(read-only) Link to a project_series. |
Series |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
sourcepackage_link |
(read-only) Link to a source_package. |
The sourcepackage associated with this entry. |
status |
(read-only) |
The status of the import. |
uploader_link |
(read-only) Link to a person. |
Uploader The person that uploaded this file to Launchpad. |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
Transition to a new status if possible.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setStatus |
|
new_status |
(required) |
The status of the import. |
Wiki for Users
https://api.edge.launchpad.net/devel/~<person.name>/+wikiname/<id>
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
person_link |
(read-only) Link to a person. |
Owner |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
url |
(read-only) |
The URL for this wiki home page. |
wiki |
(writeable) |
Wiki host |
wikiname |
(writeable) |
Wikiname |
application/json
representation
for this entry.
application/json
of the entry
fields to update. Any fields of the default representation marked
as writeable can be included.
application/json
of the entry.
All fields of the default representation should be included. Only
fields marked as writeable in the default representation should be
modified.
HTML Snapshot of +apidoc/devel.html taken on June 1, 2010.
Last updated: $Date$