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.
Interface for ArchiveSet
https://api.staging.launchpad.net/devel/archives
Return the IArchive with the given archive reference.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByReference | The name of the operation being invoked. |
reference | (required) | Archive reference string |
Response contains an
application/json
representation of a
archive.
Interface representing the set of branches.
https://api.staging.launchpad.net/devel/branches
Return the named branches visible to both user and person.
Anonymous requesters don't get any information.
Return a dict with the following values: person_name: the displayname of the person. visible_branches: a list of the unique names of the branches which the requester and specified person can both see.
This API call is provided for use by the client Javascript. It is not designed to efficiently scale to handle requests for large numbers of branches.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getBranchVisibilityInfo |
The name of the operation being invoked. |
branch_names |
(required) |
List of branch unique names |
person |
(required) Link to a person. |
The person whose branch visibility is being checked. |
Return a collection of branches.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBranches | The name of the operation being invoked. |
modified_since_date | Modified since date Return only branches whose date_last_modified is greater than or equal to this date. | |
order_by | One of:
| Sort order |
Response contains an
application/json
representation of a
branch collection.
Find a branch by its path.
The path is the same as its lp: URL, but without the leading lp:, so it may be in any of these forms:
Unique names: ~OWNER/PROJECT/NAME ~OWNER/DISTRO/SERIES/SOURCE/NAME ~OWNER/+junk/NAME Aliases linked to other objects: PROJECT PROJECT/SERIES DISTRO/SOURCE DISTRO/SUITE/SOURCE
Return None if no match was found.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByPath | The name of the operation being invoked. |
path | (required) | Branch path |
Response contains an
application/json
representation of a
branch.
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. |
Return the merge proposals that resulted in this revision.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMergeProposals | The name of the operation being invoked. |
merged_revision | (required) |
Response contains an
application/json
representation of a
branch_merge_proposal collection.
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.staging.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 A 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.
Application root for malone.
https://api.staging.launchpad.net/devel/bugs
Search bugtasks matching the specified criteria.
The only criteria currently supported is to search for a bugtask with the specified bug id.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getBugData |
The name of the operation being invoked. |
bug_id |
(required) |
Bug ID |
related_bug |
Link to a bug. |
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchTasks | The name of the operation being invoked. |
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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 bug (with an appropriate bugtask) and return it.
Things to note when using this factory:
- The reporter will be subscribed to the bug.
- Only people that the project shares with will see the bug when the bug's information type is Proprietary, Private, or Private Security.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createBug | The name of the operation being invoked. |
description | (required) | Description A detailed description of the problem, including the steps required to reproduce it. |
information_type | One of:
| Information Type The type of information contained in this bug report. |
private | This bug report should be private Private bug reports are visible only to their subscribers. | |
security_related | This bug is a security vulnerability. | |
tags | Tags Space-separated keywords for classifying this bug report. | |
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.
Collections of builders.
IBuilderSet provides access to all Builders in the system, and also acts as a Factory to allow the creation of new Builders. Methods on this interface should deal with the set of Builders: methods that affect a single Builder should be on IBuilder.
https://api.staging.launchpad.net/devel/builders
Return the number of pending builds for each processor.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getBuildQueueSizes |
The name of the operation being invoked. |
a dict of tuples with the queue size and duration for each processor and virtualisation. For example:
{ 'virt': { '386': (1, datetime.timedelta(0, 60)), 'amd64': (2, datetime.timedelta(0, 30)), }, 'nonvirt':... }
The tuple contains the size of the queue, as an integer, and the sum of the jobs 'estimated_duration' in queue, as a timedelta or None for empty queues.
Return all builders with the given properties.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBuildersForQueue | The name of the operation being invoked. |
processor | (required) Link to a processor. | Processor |
virtualized | Virtualized |
Response contains an
application/json
representation of a
builder collection.
Retrieve a builder by name
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByName | The name of the operation being invoked. |
name | (required) | Builder name |
Response contains an
application/json
representation of a
builder.
Create a new builder.
The builder will be set to manual. An admin needs to verify its configuration and set it to automatic before jobs will be dispatched.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new | The name of the operation being invoked. |
active | Publicly Visible Whether or not to present the builder publicly. | |
name | (required) | Name The builder name used for reference purposes |
open_resources | Open resources Resource tags offered by this builder, that can be required by a build and if required must match. | |
processors | (required) | Processors Processors identifying jobs which can be built by this device. |
restricted_resources | Restricted resources Resource tags offered by this builder, indicating that the builder may only be used by builds that explicitly require these tags. | |
title | (required) | Title The builder title. Should be just a few words. |
url | (required) | URL The URL to the build machine, used as a unique identifier. Includes protocol, host and port only, e.g.: http://farm.com:8221/ |
virtualized | (required) | Virtualized Whether or not the builder is a virtual Xen instance. |
vm_host | VM host The machine hostname hosting the virtual buildd-worker, e.g.: foobar-host.ppa |
On success, the response status will be 201 and the Location header will contain the link to the newly created builder.
Interface representing the set of bases for charms.
https://api.staging.launchpad.net/devel/+charm-bases
Return the ICharmBase for this distro series.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByDistroSeries | The name of the operation being invoked. |
distro_series | (required) Link to a distro_series. | Distro series |
Response contains an
application/json
representation of a
charm_base.
Create an ICharmBase.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new | The name of the operation being invoked. |
build_snap_channels | (required) | Source snap channels for builds A dictionary mapping snap names to channels to use when building charm recipes that specify this base. The special '_byarch' key may have a mapping of architecture names to mappings of snap names to channels, which if present override the channels declared at the top level when building for those architectures. |
distro_series | (required) Link to a distro_series. | Distro series |
processors |
On success, the response status will be 201 and the Location header will contain the link to the newly created charm_base.
A utility to create and access charm recipes.
https://api.staging.launchpad.net/devel/+charm-recipes
Return all charm recipes with the given owner.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findByOwner | The name of the operation being invoked. |
owner | (required) Link to a person. | Owner |
Response contains an
application/json
representation of a
charm_recipe collection.
Returns the appropriate ICharmRecipe for the given objects.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByName | The name of the operation being invoked. |
name | (required) | Recipe name |
owner | (required) Link to a person. | Owner |
project | (required) Link to a project. | Project |
Response contains an
application/json
representation of a
charm_recipe.
Create an ICharmRecipe.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new | The name of the operation being invoked. |
auto_build | Automatically build when branch changes Whether this charm recipe is built automatically when its branch changes. | |
auto_build_channels | Source snap channels for automatic builds A dictionary mapping snap names to channels to use when building this charm recipe. Supported snap names: 'charmcraft', 'core', 'core18', 'core20', 'core22', 'core24' | |
build_path | Build path Subdirectory within the branch containing metadata.yaml. | |
description | Description A description of the charm recipe. | |
git_ref | Link to a git_ref. | Git branch The Git branch containing a charm recipe. |
information_type | One of:
| Information type The type of information contained in this charm recipe. |
name | (required) | Charm recipe name The name of the charm recipe. |
owner | (required) Link to a person. | Owner The owner of this charm recipe. |
project | (required) Link to a project. | The project that this charm recipe is associated with |
store_channels | Store channels Channels to release this charm to after uploading it to the store. A channel is defined by a combination of an optional track, a risk, and an optional branch, e.g. '2.1/stable/fix-123', '2.1/stable', 'stable/fix-123', or 'stable'. | |
store_name | Registered store name The registered name of this charm in the store. | |
store_upload | Automatically upload to store Whether builds of this charm recipe are automatically uploaded to the store. |
On success, the response status will be 201 and the Location header will contain the link to the newly created charm_recipe.
A container for countries.
https://api.staging.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.
A utility to create and access craft recipes.
https://api.staging.launchpad.net/devel/craft_recipes
Return all craft recipes for the given owner.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findByOwner | The name of the operation being invoked. |
owner | (required) Link to a person. | Owner |
Response contains an
application/json
representation of a
craft_recipe collection.
Returns the appropriate ICraftRecipe for the given objects.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByName | The name of the operation being invoked. |
name | (required) | Recipe name |
owner | (required) Link to a person. | Owner |
project | (required) Link to a project. | Project |
Response contains an
application/json
representation of a
craft_recipe.
Create an ICraftRecipe.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new | The name of the operation being invoked. |
auto_build | Automatically build when branch changes Whether this craft recipe is built automatically when the branch containing its craft.yaml recipe changes. | |
auto_build_channels | Source snap channels for automatic builds A dictionary mapping snap names to channels to use when building this craft recipe. Currently only 'core', 'core18', 'core20', and 'sourcecraft' keys are supported. | |
build_path | Build path Subdirectory within the branch containing craft.yaml. | |
description | Description A description of the craft recipe. | |
git_path | Git branch path The path of the Git branch containing a sourcecraft.yaml recipe. | |
git_ref | Link to a git_ref. | Git branch The Git branch containing a craft.yaml recipe. |
git_repository | Link to a git_repository. | Git repository A Git repository with a branch containing a sourcecraft.yaml recipe. |
git_repository_url | Git repository URL The URL of a Git repository with a branch containing a sourcecraft.yaml at the top level. | |
information_type | One of:
| Information type The type of information contained in this craft recipe. |
name | (required) | Craft recipe name The name of the craft recipe. |
owner | (required) Link to a person. | Owner The owner of this craft recipe. |
project | (required) Link to a project. | The project that this craft recipe is associated with |
store_channels | Store channels Channels to release this craft to after uploading it to the store. A channel is defined by a combination of an optional track, a risk, and an optional branch, e.g. '2.1/stable/fix-123', '2.1/stable', 'stable/fix-123', or 'stable'. | |
store_name | Registered store name The registered name of this craft in the store. | |
store_upload | Automatically upload to store Whether builds of this craft recipe are automatically uploaded to the store. |
On success, the response status will be 201 and the Location header will contain the link to the newly created craft_recipe.
The set of ICve objects.
https://api.staging.launchpad.net/devel/cves
Interface for DistrosSet
https://api.staging.launchpad.net/devel/distributions
Interface representing the set of Git repositories.
https://api.staging.launchpad.net/devel/+git
Get number of repositories qualifying for a repack.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: countRepositoriesForRepack |
The name of the operation being invoked. |
Find a repository by its ID.
Return None if no match was found.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByID | The name of the operation being invoked. |
id | (required) | Repository ID |
Response contains an
application/json
representation of a
git_repository.
Find a repository by its path.
Any of these forms may be used:
Unique names: ~OWNER/PROJECT/+git/NAME ~OWNER/DISTRO/+source/SOURCE/+git/NAME ~OWNER/+git/NAME Owner-target default aliases: ~OWNER/PROJECT ~OWNER/DISTRO/+source/SOURCE Official aliases: PROJECT DISTRO/+source/SOURCE
Return None if no match was found.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByPath | The name of the operation being invoked. |
path | (required) | Repository path |
Response contains an
application/json
representation of a
git_repository.
Get the default repository for a target.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getDefaultRepository | The name of the operation being invoked. |
target | (required) Link to a git_target. | Target |
Response contains an
application/json
representation of a
git_repository.
Get a person's default repository for a target.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getDefaultRepositoryForOwner | The name of the operation being invoked. |
owner | (required) Link to a person. | Owner |
target | (required) Link to a git_target. | Target |
Response contains an
application/json
representation of a
git_repository.
Get all repositories for a target.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getRepositories | The name of the operation being invoked. |
modified_since_date | Modified since date Return only repositories whose date_last_modified is greater than or equal to this date. | |
order_by | One of:
| Sort order |
target | Link to a git_target. | Target |
Response contains an
application/json
representation of a
git_repository collection.
Get the top badly packed repositories.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getRepositoriesForRepack |
The name of the operation being invoked. |
limit |
Return the named repositories visible to both user and person.
Anonymous requesters don't get any information.
Return a dict with the following values: person_name: the displayname of the person. visible_repositories: a list of the unique names of the repositories which the requester and specified person can both see.
This API call is provided for use by the client Javascript. It is not designed to efficiently scale to handle requests for large numbers of repositories.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getRepositoryVisibilityInfo |
The name of the operation being invoked. |
person |
(required) Link to a person. |
The person whose repository visibility is being checked. |
repository_names |
(required) |
List of repository unique names |
Create a Git repository and return it.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new | The name of the operation being invoked. |
information_type | One of:
| Information type The type of information contained in this repository. |
name | (required) | Name The repository name. Keep very short, unique, and descriptive, because it will be used in URLs. |
owner | (required) Link to a person. | Owner The owner of this Git repository. This controls who can modify the repository. |
target | (required) Link to a git_target. | Target The target of the repository. |
On success, the response status will be 201 and the Location header will contain the link to the newly created git_repository.
Set the default repository for a target.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setDefaultRepository |
The name of the operation being invoked. |
repository |
Link to a git_repository. |
Git repository |
target |
(required) Link to a git_target. |
Target |
Set a person's default repository for a target.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setDefaultRepositoryForOwner |
The name of the operation being invoked. |
owner |
(required) Link to a person. |
Owner |
repository |
Link to a git_repository. |
Git repository |
target |
(required) Link to a git_target. |
Target |
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.staging.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 utility to create and access live filesystems.
https://api.staging.launchpad.net/devel/livefses
Return the appropriate ILiveFS for the given objects.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByName | The name of the operation being invoked. |
distro_series | (required) Link to a distro_series. | Distroseries |
name | (required) | Live filesystem name |
owner | (required) Link to a person. | Owner |
Response contains an
application/json
representation of a
livefs.
Create an ILiveFS.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new | The name of the operation being invoked. |
distro_series | (required) Link to a distro_series. | Distro Series The series for which the image should be built. |
metadata | (required) | A dict of data about the image. Entries here will be passed to the builder. |
name | (required) | Name The name of the live filesystem image. |
owner | (required) Link to a person. | Owner The owner of this live filesystem image. |
On success, the response status will be 201 and the Location header will contain the link to the newly created livefs.
An interface for multiple package sets.
https://api.staging.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 | (required) Link to a distro_series. | Distribution series The distroseries to which this package set is related. |
name | (required) | Valid package set name |
Response contains an
application/json
representation of a
packageset.
Return the package sets associated with the given distroseries.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBySeries | The name of the operation being invoked. |
distroseries | (required) Link to a distro_series. | Distribution series The distroseries to which this package set is related. |
Response contains an
application/json
representation of a
packageset collection.
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 | (required) 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.
Combined schema for operations on a group of Persons.
https://api.staging.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.
Get the person for a given OpenID identifier.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByOpenIDIdentifier | The name of the operation being invoked. |
identifier | (required) |
Response contains an
application/json
representation of a
person.
Restricted SSH key creation API for SSO.
This method can only be called by the Ubuntu SSO service. It finds and returns all the SSH keys belonging to the account identified by the openid_identifier parameter.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getSSHKeysForSSO |
The name of the operation being invoked. |
openid_identifier |
(required) |
OpenID identifier suffix |
Get GDPR-related data for a user from their email address.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getUserData |
The name of the operation being invoked. |
|
(required) |
Restricted person creation API for SSO.
This method can only be called by the Ubuntu SSO service. It finds the username for an account by OpenID identifier.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getUsernameForSSO |
The name of the operation being invoked. |
openid_identifier |
(required) |
OpenID identifier suffix |
Restricted SSH key creation API for SSO.
This method can only be called by the Ubuntu SSO service. It adds a new SSH key to the account identified by 'openid_identifier' based on the 'key_text' parameter.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addSSHKeyFromSSO |
The name of the operation being invoked. |
dry_run |
Don't save changes |
|
key_text |
(required) |
SSH key text |
openid_identifier |
(required) |
OpenID identifier suffix |
Restricted SSH key deletion API for SSO.
This method can only be called by the Ubuntu SSO service. It deletes an SSH key from the account identified by 'openid_identifier' based on the 'key_text' parameter.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deleteSSHKeyFromSSO |
The name of the operation being invoked. |
dry_run |
Don't save changes |
|
key_text |
(required) |
SSH key text |
openid_identifier |
(required) |
OpenID identifier suffix |
Restricted person creation API for Software Center Agent.
This method can only be called by Software Center Agent. It gets a person by OpenID identifier or creates a new Launchpad person from the OpenID identifier, email address and display name.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getOrCreateSoftwareCenterCustomer | The name of the operation being invoked. |
display_name | (required) | Display name |
email_address | (required) | Email address |
openid_identifier | (required) | OpenID identifier suffix |
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 | Self renewal period Number of days members can renew their own membership. The number can be from 1 to 3650 (10 years). | |
display_name | (required) | Display Name Your name as you would like it displayed throughout Launchpad. Most people use their full name here. |
membership_policy | One of:
| Membership policy |
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:
| Membership policy Obsolete: use membership_policy |
team_description | Team Description Obsolete. Use description. |
On success, the response status will be 201 and the Location header will contain the link to the newly created team.
Restricted person creation API for SSO.
This method can only be called by the Ubuntu SSO service. It reserves a username for an account by OpenID identifier, as long as the user has no Launchpad account.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setUsernameFromSSO |
The name of the operation being invoked. |
dry_run |
Don't save changes |
|
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. |
openid_identifier |
(required) |
OpenID identifier suffix |
The set of Poll objects.
https://api.staging.launchpad.net/devel/+polls
Search for polls.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: find | The name of the operation being invoked. |
order_by | One of:
| Sort order |
status | Poll statuses A list of one or more of 'open', 'closed', or 'not-yet-opened'. Defaults to all statuses. | |
team | Link to a team. | Team |
Response contains an
application/json
representation of a
poll collection.
Operations related to Processor instances.
https://api.staging.launchpad.net/devel/processors
Return the IProcessor instance with the matching name.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByName | The name of the operation being invoked. |
name | (required) |
Response contains an
application/json
representation of a
processor.
The collection of projects.
https://api.staging.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.staging.launchpad.net/devel/projects
Return the latest projects registered in Launchpad.
The supplied user determines which objects are visible.
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_subscription | Has a commercial subscription | |
licenses | Licenses | |
project_reviewed | Is the project licence reviewed | |
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.
This call eager loads data appropriate for web API; caution may be needed for other callers.
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. |
bug_supervisor | Link to a person. | Bug Supervisor The Launchpad id of the person or team (preferred) responsible for bug management. |
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 The name of the project as it would appear in a paragraph. |
download_url | Download URL The full URL where downloads for this project are located, if available. Please include the http:// | |
driver | 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 | Freshmeat Project The Freshmeat project name for this project, if it is in freshmeat. [DEPRECATED] | |
home_page_url | Homepage URL The project home page. Please include the http:// | |
license_info | Description of additional licences Description of licences that do not appear in the list above. | |
licenses | Licences | |
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 A comma delimited list of programming languages used for this project. | |
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. |
project_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. | |
registrant | Link to a person. | Registrant This person registered the project in Launchpad. |
screenshots_url | Screenshots URL The full URL for screenshots of this project, if available. Please include the http:// | |
sourceforge_project | Sourceforge Project The SourceForge project name for this project, if it is in sourceforge. | |
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 The full URL of this project's wiki, if it has one. Please include the http:// |
On success, the response status will be 201 and the Location header will contain the link to the newly created project.
A utility that contain all the questions published in Launchpad.
https://api.staging.launchpad.net/devel/questions
Return the question with the given id.
Return :default: if no such question exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByID | The name of the operation being invoked. |
question_id | (required) | The id of the question to get |
Response contains an
application/json
representation of a
question.
Return the questions from the collection matching search criteria.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchQuestions | The name of the operation being invoked. |
language | Language | |
search_text | Search text | |
sort | One of:
| Sort |
status | Status |
Response contains an
application/json
representation of a
question collection.
Interface representing the set of bases for rocks.
https://api.staging.launchpad.net/devel/rock_bases
Return the IRockBase for this distro series.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByDistroSeries | The name of the operation being invoked. |
distro_series | (required) Link to a distro_series. | Distro series |
Response contains an
application/json
representation of a
rock_base.
Create an IRockBase.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new | The name of the operation being invoked. |
build_channels | (required) | Source snap channels for builds A dictionary mapping snap names to channels to use when building rock recipes that specify this base. The special '_byarch' key may have a mapping of architecture names to mappings of snap names to channels, which if present override the channels declared at the top level when building for those architectures. |
distro_series | (required) Link to a distro_series. | Distro series |
processors |
On success, the response status will be 201 and the Location header will contain the link to the newly created rock_base.
A utility to create and access rock recipes.
https://api.staging.launchpad.net/devel/+rock-recipes
Return all rock recipes with the given owner.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findByOwner | The name of the operation being invoked. |
owner | (required) Link to a person. | Owner |
Response contains an
application/json
representation of a
rock_recipe collection.
Returns the appropriate IRockRecipe for the given objects.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByName | The name of the operation being invoked. |
name | (required) | Recipe name |
owner | (required) Link to a person. | Owner |
project | (required) Link to a project. | Project |
Response contains an
application/json
representation of a
rock_recipe.
Create an IRockRecipe.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new | The name of the operation being invoked. |
auto_build | Automatically build when branch changes Whether this rock recipe is built automatically when the branch containing its rockcraft.yaml recipe changes. | |
auto_build_channels | Source snap channels for automatic builds A dictionary mapping snap names to channels to use when building this rock recipe. Currently only 'core', 'core18', 'core20', and 'rockcraft' keys are supported. | |
build_path | Build path Subdirectory within the branch containing rockcraft.yaml. | |
description | Description A description of the rock recipe. | |
git_path | Git branch path The path of the Git branch containing a rockcraft.yaml recipe. | |
git_ref | Link to a git_ref. | Git branch The Git branch containing a rockcraft.yaml recipe. |
git_repository | Link to a git_repository. | Git repository A Git repository with a branch containing a rockcraft.yaml recipe. |
git_repository_url | Git repository URL The URL of a Git repository with a branch containing a rockcraft.yaml at the top level. | |
information_type | One of:
| Information type The type of information contained in this rock recipe. |
name | (required) | Rock recipe name The name of the rock recipe. |
owner | (required) Link to a person. | Owner The owner of this rock recipe. |
project | (required) Link to a project. | The project that this rock recipe is associated with |
store_channels | Store channels Channels to release this rock to after uploading it to the store. A channel is defined by a combination of an optional track, a risk, and an optional branch, e.g. '2.1/stable/fix-123', '2.1/stable', 'stable/fix-123', or 'stable'. | |
store_name | Registered store name The registered name of this rock in the store. | |
store_upload | Automatically upload to store Whether builds of this rock recipe are automatically uploaded to the store. |
On success, the response status will be 201 and the Location header will contain the link to the newly created rock_recipe.
Interface representing the set of bases for snaps.
https://api.staging.launchpad.net/devel/+snap-bases
Return the ISnapBase with this name.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByName | The name of the operation being invoked. |
name | (required) | Base name |
Response contains an
application/json
representation of a
snap_base.
Get the default base.
This will be used to pick the default distro series for snaps that do not specify a base.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getDefault | The name of the operation being invoked. |
Response contains an
application/json
representation of a
snap_base.
Create an ISnapBase.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new | The name of the operation being invoked. |
build_channels | (required) | Source snap channels for builds A dictionary mapping snap names to channels to use when building snaps that specify this base. The special '_byarch' key may have a mapping of architecture names to mappings of snap names to channels, which if present override the channels declared at the top level when building for those architectures. |
display_name | (required) | Display name |
distro_series | (required) Link to a distro_series. | Distro series |
features | Features supported by this base A dictionary designating the features supported by the base. Key is the name of a feature, value is a boolean indicating whether the feature is supported or not. | |
name | (required) | Name |
processors |
On success, the response status will be 201 and the Location header will contain the link to the newly created snap_base.
Set the default base.
This will be used to pick the default distro series for snaps that do not specify a base.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setDefault |
The name of the operation being invoked. |
snap_base |
(required) Link to a snap_base. |
Base |
Interface representing the set of snappy series.
https://api.staging.launchpad.net/devel/+snappy-series
Return the ISnappySeries with this name.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByName | The name of the operation being invoked. |
name | (required) | Snappy series name |
Response contains an
application/json
representation of a
snappy_series.
Create an ISnappySeries.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new | The name of the operation being invoked. |
display_name | (required) | Display name |
name | (required) | Name |
status | (required) One of:
| Status |
On success, the response status will be 201 and the Location header will contain the link to the newly created snappy_series.
A utility to create and access snap packages.
https://api.staging.launchpad.net/devel/+snaps
Return all snap packages with the given owner.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findByOwner | The name of the operation being invoked. |
owner | (required) Link to a person. | Owner |
Response contains an
application/json
representation of a
snap collection.
Return all snap packages with the given store package name.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findByStoreName | The name of the operation being invoked. |
owner | Link to a person. | Owner |
store_name | (required) | The registered store package name to search for. |
Response contains an
application/json
representation of a
snap collection.
Return all snap packages that build from the given URL.
This currently only works for packages that build directly from a URL, rather than being linked to a Bazaar branch or Git repository hosted in Launchpad.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findByURL | The name of the operation being invoked. |
owner | Link to a person. | Owner |
url | (required) | The URL to search for. |
Response contains an
application/json
representation of a
snap collection.
Return all snap packages that build from a URL with this prefix.
This currently only works for packages that build directly from a URL, rather than being linked to a Bazaar branch or Git repository hosted in Launchpad.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findByURLPrefix | The name of the operation being invoked. |
owner | Link to a person. | Owner |
url_prefix | (required) | The URL prefix to search for. |
Response contains an
application/json
representation of a
snap collection.
Return all snap packages that build from a URL with any of these prefixes.
This currently only works for packages that build directly from a URL, rather than being linked to a Bazaar branch or Git repository hosted in Launchpad.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findByURLPrefixes | The name of the operation being invoked. |
owner | Link to a person. | Owner |
url_prefixes | (required) | The URL prefixes to search for. |
Response contains an
application/json
representation of a
snap collection.
Create an ISnap.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: new | The name of the operation being invoked. |
auto_build | Automatically build when branch changes Whether this snap package is built automatically when the branch containing its snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe changes. | |
auto_build_archive | Link to a archive. | Source archive for automatic builds The archive from which automatic builds of this snap package should be built. |
auto_build_pocket | One of:
| Pocket for automatic builds The package stream within the source archive and distribution series to use when building the snap package. If the source archive is a PPA, then the PPA's archive dependencies will be used to select the pocket in the distribution's primary archive. |
branch | Link to a branch. | Bazaar branch A Bazaar branch containing a snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe at the top level. |
description | Description A description of the snap package. | |
distro_series | Link to a distro_series. | Distro Series The series for which the snap package should be built. If not set, Launchpad will infer an appropriate series from snapcraft.yaml. |
git_path | Git branch path The path of the Git branch containing a snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe at the top level. | |
git_ref | Link to a git_ref. | Git branch The Git branch containing a snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe at the top level. |
git_repository | Link to a git_repository. | Git repository A Git repository with a branch containing a snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe at the top level. |
git_repository_url | Git repository URL The URL of a Git repository with a branch containing a snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe at the top level. | |
information_type | One of:
| Information type The type of information contained in this Snap recipe. |
name | (required) | Snap recipe name The name of the snap build recipe. |
owner | (required) Link to a person. | Owner The owner of this snap package. |
processors | ||
project | Link to a project. | The project that this Snap is associated with |
store_channels | Store channels Channels to release this snap package to after uploading it to the store. A channel is defined by a combination of an optional track, a risk, and an optional branch, e.g. '2.1/stable/fix-123', '2.1/stable', 'stable/fix-123', or 'stable'. | |
store_name | Registered store package name The registered name of this snap package in the store. | |
store_series | Link to a snappy_series. | Store series The series in which this snap package should be published in the store. |
store_upload | Automatically upload to store Whether builds of this snap package are automatically uploaded to the store. |
On success, the response status will be 201 and the Location header will contain the link to the newly created snap.
A container for specifications.
https://api.staging.launchpad.net/devel/specifications
Create a new specification.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createSpecification | The name of the operation being invoked. |
assignee | Link to a person. | Assignee The person responsible for implementing the feature. |
definition_status | One of:
| Definition Status The current status of the process to define the feature and get approval for the implementation plan. |
drafter | Link to a person. | Drafter The person responsible for drafting the specification. |
name | (required) | Name May contain lower-case letters, numbers, and dashes. It will be used in the specification url. Examples: mozilla-type-ahead-find, postgres-smart-serial. |
specurl | Specification URL The URL of the specification. This is usually a wiki page. | |
summary | (required) | Summary A single-paragraph description of the feature. This will also be displayed in most feature listings. |
target | (required) Link to a specification_target. | The product or distribution context of this specification. |
title | (required) | Title Describe the feature as clearly as possible in up to 70 characters. This title is displayed in every feature list or report. |
whiteboard | Status Whiteboard Any notes on the status of this spec you would like to make. Your changes will override the current text. |
On success, the response status will be 201 and the Location header will contain the link to the newly created specification.
A tool to create temporary blobs.
https://api.staging.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 container for translation groups.
https://api.staging.launchpad.net/devel/translation_groups
Get a translation group by name.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getByName | The name of the operation being invoked. |
name | (required) | Name of the translation group |
Response contains an
application/json
representation of a
translation_group.
A set of files to be imported into Rosetta.
https://api.staging.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 | One of:
| 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 | One of:
| The status of the import. |
Response contains an
application/json
representation of a
object_with_translation_imports collection.
A personal access token for the webservice API.
https://api.staging.launchpad.net/devel/[target URL]/+access-token/<id>
Key | Value | Description |
---|---|---|
date_created |
(read-only) |
Creation date When the token was created. |
date_expires |
(read-only) |
Expiry date When the token should expire or was revoked. |
date_last_used |
(read-only) |
Date last used When the token was last used. |
description |
(writeable) |
Description A short description of the token. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
owner_link |
(read-only) Link to a person. |
Owner The person who created the token. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
revoked_by_link |
(read-only) Link to a person. |
Revoked by The person who revoked the token, if any. |
scopes |
(read-only) |
Scopes A list of scopes granted by the token. |
self_link |
(read-only) |
The canonical link to this resource. |
target_link |
(read-only) Link to a access_token_target. |
Target The target for which the token was issued. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Revoke this token.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: revoke |
An object that can be a target for access tokens.
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Issue a personal access token for this target.
Access tokens can be used to push to repositories over HTTPS. These may be used in webservice API requests for certain methods in the target's repositories.
They are either non-expiring or with an expiry time given by date_expires.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: issueAccessToken |
|
date_expires |
When the token should expire. |
|
description |
(required) |
A short description of the token. |
scopes |
(required) |
A list of scopes to be granted by this token. |
Main Archive interface.
https://api.staging.launchpad.net/devel/<distribution>/+archive/<archive.name>
Key | Value | Description |
---|---|---|
authorized_size |
(writeable) |
Authorized size Maximum size, in MiB, allowed for the archive. |
build_debug_symbols |
(writeable) |
Build debug symbols Create debug symbol packages for builds in the archive. |
dependencies_collection_link |
(read-only) Link to a archive_dependency collection. |
Archive dependencies recorded for this archive. |
description |
(writeable) |
Description A short description of the archive. URLs are allowed and will be rendered as links. |
displayname |
(writeable) |
Display name A short title for the archive. |
distribution_link |
(writeable) Link to a distribution. |
The distribution that uses or is used by this archive. |
enabled_restricted_processors_collection_link |
(read-only) Link to a processor collection. |
Enabled restricted processors DEPRECATED. Use processors instead. |
external_dependencies |
(writeable) |
External dependencies Newline-separated list of repositories to be used to retrieve any external build-dependencies when building packages in the archive, in the format: deb http[s]://[user:pass@]<host>[/path] %(series)s[-pocket] [components] The series variable is replaced with the series name of the context build. NOTE: This is for migration of OEM PPAs only! |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
metadata_overrides |
(writeable) |
A JSON object containing metadata overrides for this archive. Accepted keys are Origin, Label, Suite and Snapshots.The values for all these keys should be a string and can use a {series} placeholder, which will get substituted by the name of the series that is currently being published. |
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. |
owner_link |
(writeable) Link to a person. |
Owner The archive owner. |
permit_obsolete_series_uploads |
(writeable) |
Permit uploads to obsolete series Allow uploads targeted to obsolete series. |
private |
(writeable) |
Private Restrict access to the archive to its owner and subscribers. This can only be changed if the archive has never had any sources published. |
processors_collection_link |
(read-only) Link to a processor collection. |
Processors The architectures on which the archive can build. |
publish |
(writeable) |
Publishing enabled Whether or not to update the apt repository. If disabled, nothing will be published. If the archive is private then additionally no builds will be dispatched. |
publish_debug_symbols |
(writeable) |
Publish debug symbols Publish debug symbol packages in the apt repository. |
publishing_method |
(writeable) One of:
|
Publishing method |
reference |
(read-only) |
Reference A string to uniquely identify the archive. |
relative_build_score |
(writeable) |
Relative build score A delta to apply to all build scores for the archive. Builds with a higher score will build sooner. |
repository_format |
(writeable) One of:
|
Repository format |
require_virtualized |
(writeable) |
Require virtualized builders Only build the archive's packages on virtual builders. |
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. |
status |
(read-only) |
Status of archive. |
suppress_subscription_notifications |
(writeable) |
Suppress subscription notifications Whether subscribers to private PPAs get emails about their subscriptions. Has no effect on a public PPA. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Wrapper around checkUpload for the web service API.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: checkUpload |
|
component |
(required) |
Component |
distroseries |
(required) Link to a distro_series. |
The distro series |
person |
(required) Link to a person. |
|
|
(required) One of:
|
The pocket into which this entry is published |
sourcepackagename |
(required) |
Source package name |
strict_component |
Strict component |
Return all IArchivePermission records for this archive.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getAllPermissions |
Response contains an
application/json
representation of a
archive_permission collection.
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 following 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.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getNamedAuthToken |
|
name |
(required) |
Authorization token name |
Return a subset of active named authorization tokens for this archive if names is specified, or all active named authorization tokens for this archive is names is null.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getNamedAuthTokens |
|
names |
Authorization token names |
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.
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.
Return IArchivePermission for the person's queue admin pockets.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPocketsForQueueAdmin | |
person | (required) Link to a person. |
Response contains an
application/json
representation of a
archive_permission collection.
Return the pockets that 'person' can upload to this archive.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPocketsForUploader | |
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 | |
component_name | Component name | |
created_since_date | Created Since Date Return entries whose date_created is greater than or equal to this date. | |
distro_arch_series | Link to a distro_arch_series. | Distro Arch Series |
exact_match | Whether or not to filter binary names by exact matching. | |
order_by_date | Order by creation date Return newest results first. This is recommended for applications that need to catch up with publications since their last run. | |
ordered | Ordered Return ordered results by default, but specifying False will return results more quickly. | |
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 | |
component_name | Component name | |
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. | |
order_by_date | Order by creation date Return newest results first. This is recommended for applications that need to catch up with publications since their last run. If not specified, results are ordered by source package name (lexicographically), then by descending version and then descending ID. | |
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 authorized 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 authorized queue admins.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getQueueAdminsForPocket | |
distroseries | Link to a distro_series. | Distro series |
(required) One of:
|
Response contains an
application/json
representation of a
archive_permission collection.
Get the public key used to sign this repository.
If the repository has a signing key but it cannot be retrieved from the keyserver, then the response will have an appropriate 4xx or 5xx HTTP status code. Otherwise, returns the ASCII-armoured public key material as a text string, or None if the repository has no signing key.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getSigningKeyData |
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.
Return IArchivePermission records for the pocket's uploaders.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getUploadersForPocket | |
(required) One of:
|
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 |
Record an archive dependency record for the context archive.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addArchiveDependency | |
component | Component | |
dependency | (required) Link to a archive. | |
(required) One of:
| The pocket into which this entry is published |
On success, the response status will be 201 and the Location header will contain the link to the newly created archive_dependency.
Copy a single named source into this archive.
Asynchronously copy a specific version of a named source to the destination archive if necessary. Calls to this method will return immediately if the copy passes basic security checks and the copy will happen sometime later with full checking.
If the source or target distribution has a development series alias, then it may be used as the source or target distroseries name respectively; but note that this will always be resolved to the true development series of that distribution, which may not match the alias in the respective published archives.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: copyPackage |
|
auto_approve |
Automatic approval Automatically approve this copy (queue admins only). |
|
from_archive |
(required) Link to a archive. |
|
from_pocket |
Source pocket name |
|
from_series |
Source distroseries name |
|
include_binaries |
Include Binaries Whether or not to copy binaries already built for this source |
|
move |
Move If true, delete the source publication after copying it to the destination. |
|
phased_update_percentage |
Phased update percentage The percentage of users for whom this package should be recommended, or None to publish the update for everyone. |
|
silent |
Silent Don't notify anyone about this copy. For use by queue admins only. |
|
source_name |
(required) |
Source package name |
sponsored |
Link to a person. |
Sponsored Person The person who is being sponsored for this copy. |
to_pocket |
(required) |
Target pocket name |
to_series |
Target distroseries name |
|
unembargo |
Unembargo restricted files |
|
version |
(required) |
Version |
Copy multiple named sources into this archive from another.
Asynchronously copy the most recent PUBLISHED versions of the named sources to the destination archive if necessary. Calls to this method will return immediately if the copy passes basic security checks and the copy will happen sometime later with full checking.
Partial changes of the destination archive can happen because each source is copied in its own transaction.
If the source or target distribution has a development series alias, then it may be used as the source or target distroseries name respectively; but note that this will always be resolved to the true development series of that distribution, which may not match the alias in the respective published archives.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: copyPackages |
|
auto_approve |
Automatic approval Automatically approve this copy (queue admins only). |
|
from_archive |
(required) Link to a archive. |
|
from_series |
Distroseries name The distro series to copy packages from. |
|
include_binaries |
Include Binaries Whether or not to copy binaries already built for this source |
|
silent |
Silent Don't notify anyone about this copy. For use by queue admins only. |
|
source_names |
(required) |
Source package names |
sponsored |
Link to a person. |
Sponsored Person The person who is being sponsored for this copy. |
to_pocket |
(required) |
Pocket name |
to_series |
Distroseries name The distro series to copy packages into. |
|
unembargo |
Unembargo restricted files |
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 series and pocket.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deletePocketQueueAdmin |
|
distroseries |
Link to a distro_series. |
Distro series |
person |
(required) Link to a person. |
|
|
(required) One of:
|
|
Revoke permission for the person to upload to the pocket.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deletePocketUploader |
|
person |
(required) Link to a person. |
|
|
(required) One of:
|
|
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 the processor to the set of enabled restricted processors.
DEPRECATED. Use setProcessors instead.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: enableRestrictedProcessor |
|
processor |
(required) Link to a processor. |
Mark a suite as dirty in this archive.
The next publisher run will publish this suite regardless of whether it has any pending publications.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: markSuiteDirty |
|
distroseries |
(required) Link to a distro_series. |
Distro series |
|
(required) One of:
|
|
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.
Create a new named authorization token.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: newNamedAuthToken |
|
name |
(required) |
Authorization token name |
token |
Optional secret for this named token |
Create named authorization tokens in bulk.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: newNamedAuthTokens |
|
names |
(required) |
Authorization token names |
Add permission 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 series and pocket.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newPocketQueueAdmin | |
distroseries | Link to a distro_series. | Distro series |
person | (required) Link to a person. | |
(required) One of:
|
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 upload to a pocket.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newPocketUploader | |
person | (required) Link to a person. | |
(required) One of:
|
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 subscription 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.
Remove the IArchiveDependency record for the given dependency.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeArchiveDependency |
|
dependency |
(required) Link to a archive. |
Remove a copy notification that's displayed on the +packages page.
Copy notifications are shown on the +packages page when a PlainPackageCopyJob is in progress or failed. Calling this method will delete failed jobs so they no longer appear on the page.
You need to have upload privileges on the PPA to use this.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeCopyNotification |
|
job_id |
(required) |
Deactivate a named authorization token.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: revokeNamedAuthToken |
|
name |
(required) |
Authorization token name |
Deactivate named authorization tokens in bulk.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: revokeNamedAuthTokens |
|
names |
(required) |
Authorization token names |
Set the architectures on which the archive can build.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setProcessors |
|
processors |
(required) |
Synchronise (copy) a single named source into this archive.
DEPRECATED: syncSource and syncSources are deprecated, and will be removed entirely in the future. Use the asynchronous copyPackage method instead, and poll getPublishedSources if you need to await completion.
Copy a specific version of a named source to the destination archive if necessary.
If the source distribution has a development series alias, then it may be used as the source distroseries name; but note that this will always be resolved to the true development series of that distribution, which may not match the alias in the published source archive.
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.
DEPRECATED: syncSource and syncSources are deprecated, and will be removed entirely in the future. Use the asynchronous copyPackage method instead, and poll getPublishedSources if you need to await completion.
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.
If the source or target distribution has a development series alias, then it may be used as the source or target distroseries name respectively; but note that this will always be resolved to the true development series of that distribution, which may not match the alias in the respective published archives.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: syncSources |
|
from_archive |
(required) Link to a archive. |
|
from_series |
Distroseries name The distro series to copy packages from. |
|
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 The distro series to copy packages into. |
Upload the output of a CI build to this archive.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: uploadCIBuild |
|
ci_build |
(required) Link to a ci_build. |
|
to_channel |
Target channel |
|
to_pocket |
(required) |
Target pocket name |
to_series |
(required) |
Target distroseries name |
ArchiveDependency interface.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
archive_link |
(read-only) Link to a archive. |
Target archive The archive that has this dependency. |
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. |
snap_base_link |
(read-only) Link to a snap_base. |
Target snap base The snap base that has this dependency. |
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.staging.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. |
distroseries_link |
(writeable) Link to a distro_series. |
Distro series The distro series that this permission is for (only for pocket permissions). |
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. |
|
(writeable) One of:
|
The pocket that this permission is for. |
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.staging.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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Cancel a subscription.
Sets cancelled_by to the supplied person and date_cancelled to the current date/time.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: cancel |
A binary package publishing record.
https://api.staging.launchpad.net/devel/<distribution.name>/+archive/<binary_package.name>/+binarypub/<id>
Key | Value | Description |
---|---|---|
architecture_specific |
(read-only) |
Architecture Specific |
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 |
build_link |
(read-only) Link to a build. |
Build The build that produced this binary package. |
component_name |
(read-only) |
Component Name |
copied_from_archive_link |
(read-only) Link to a archive. |
Original archive ID where this package was copied from. |
creator_link |
(read-only) Link to a person. |
Publication Creator The IPerson who created this publication. |
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. |
is_debug |
(read-only) |
Debug Package Is this a debug package publication? |
phased_update_percentage |
(read-only) |
The percentage of users for whom this package should be recommended, or None to publish the update for everyone |
|
(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. |
source_package_name |
(read-only) |
Source Package Name The source package name that built this binary. |
source_package_version |
(read-only) |
Source Package Version The source package version that built this binary. |
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.
URLs for this binary publication's binary files.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: binaryFileUrls |
|
include_meta |
Include Metadata |
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.
Change the component/section/priority/phase of this publication.
It is changed only if the argument is not None.
Passing new_phased_update_percentage=100 has the effect of setting the phased update percentage to None (i.e. recommended for all users).
Return the overridden publishing record, a IBinaryPackagePublishingHistory.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: changeOverride | |
new_component | The new component name. | |
new_phased_update_percentage | The new phased update percentage. | |
new_priority | The new priority name. | |
new_section | The new section name. |
Response contains an
application/json
representation of a
binary_package_publishing_history.
Delete this source and its binaries.
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.staging.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. |
web_link |
(read-only) |
The canonical human-addressable web 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.staging.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. |
explicitly_private |
(writeable) |
Keep branch confidential Make this branch visible only to its subscribers. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
information_type |
(read-only) One of:
|
Information Type The type of information contained in this branch. |
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 an exclusive team you are a member of. This controls who can modify the branch. |
private |
(read-only) |
Branch is confidential This branch is visible only to its subscribers. |
project_link |
(read-only) Link to a project. |
Project The project this branch belongs to. |
recipes_collection_link |
(read-only) Link to a source_package_recipe collection. |
All recipes associated with the object. |
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 exclusive 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 The external location where the Bazaar branch is hosted. It is None when the branch is hosted by Launchpad. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
webhooks_collection_link |
(read-only) Link to a webhook collection. |
Webhooks for this target. |
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 and is not linked to any bugs, specs, productseries, or code imports.
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 |
Return matching BranchMergeProposals.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMergeProposals | |
merged_revnos | ||
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 search for |
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. |
Create a new webhook.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newWebhook | |
active | Active Deliver details of subscribed events. | |
delivery_url | (required) | Delivery URL |
event_types | (required) | Event types |
secret | Secret An optional string used to sign delivery bodies with HMAC-SHA1 in the X-Hub-Signature header. This must be less than 200 bytes long. |
On success, the response status will be 201 and the Location header will contain the link to the newly created webhook.
Request that this branch be mirrored on the next run of the branch puller.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: requestMirror |
Reset this branch's scan data and request a rescan.
A convenience function wrapper around unscan().
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: rescan |
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.
Set the information type for this branch.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: transitionToInformationType |
|
information_type |
One of:
|
Information Type The type of information contained in this branch. |
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. |
Reset this branch's scan data and optionally request a scan.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unscan |
|
rescan |
(required) |
Scan the branch after resetting its scan data. |
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.staging.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 |
bugs_collection_link |
(read-only) Link to a bug collection. |
Bugs related to this object. |
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_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_revision_id |
(read-only) |
Merged revision ID The revision ID on the target branch which contains the merge from the source branch (currently Git only). |
merged_revno |
(read-only) |
Merged revision number The revision number on the target branch which contains the merge from the source branch (Bazaar only). |
prerequisite_branch_link |
(read-only) Link to a branch. |
Prerequisite branch The branch that the source branch branched from. If this branch is the same as the target branch, then leave this field blank. |
prerequisite_git_path |
(read-only) |
Prerequisite Git branch path The path of the Git branch that the source branch branched from. If this branch is the same as the target branch, then leave this field blank. |
prerequisite_git_repository_link |
(read-only) Link to a git_repository. |
Prerequisite Git repository The Git repository containing the branch that the source branch branched from. If this branch 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. |
preview_diffs_collection_link |
(read-only) Link to a preview_diff collection. |
All preview diffs for this merge proposal. |
private |
(read-only) |
Proposal is confidential If True, this proposal is visible only to subscribers. |
queue_status |
(read-only) One of:
|
Status The current state of the proposal. |
registrant_link |
(read-only) Link to a person. |
Person The person who registered the merge proposal. |
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. |
source_git_path |
(read-only) |
Source Git branch path The path of the Git branch that has code to land. |
source_git_repository_link |
(read-only) Link to a git_repository. |
Source Git repository The Git repository 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. |
target_git_path |
(read-only) |
Target Git branch path The path of the Git branch that the source branch will be merged into. |
target_git_repository_link |
(read-only) Link to a git_repository. |
Target Git repository The Git repository 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 |
web_link |
(read-only) |
The canonical human-addressable web 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 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.
Return the draft inline comments related to this MP.
The return value is a dictionary (object) where the keys are the diff lines and their values are the actual draft comment created by the given person.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getDraftInlineComments |
|
previewdiff_id |
(required) |
Return a list of inline comments related to this MP.
The return value is an list of dictionaries (objects), each one representing a comment with 'line_number', 'person', 'text' and 'date' attributes.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getInlineComments |
|
previewdiff_id |
(required) |
Return the Bug tasks related to this merge proposal.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getRelatedBugTasks |
Response contains an
application/json
representation of a
bug_task collection.
Create an ICodeReviewComment associated with this merge proposal.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createComment | |
content | ||
inline_comments | ||
parent | Link to a code_review_comment. | |
previewdiff_id | ||
review_type | ||
subject | ||
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.
Link a bug to this merge proposal.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: linkBug |
|
bug |
(required) Link to a bug. |
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.
Save ICodeReviewInlineCommentDraft
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: saveDraftInlineComment |
|
comments |
(required) |
|
previewdiff_id |
(required) |
Schedule updates of the diffs for this proposal.
This can be used if the previous attempt to generate diffs crashed, or if Launchpad failed to notice that the current diffs are outdated for some reason.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: scheduleDiffUpdates |
Set the visible attribute on a code review comment.
This is restricted to Launchpad admins, registry experts, and comment authors, and will return a HTTP Error 401: Unauthorized error for non-admin callers.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setCommentVisibility |
|
comment_number |
(required) |
The comment ID. |
visible |
(required) |
Show this comment? |
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. |
Unlink a bug from this merge proposal.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unlinkBug |
|
bug |
(required) Link to a bug. |
The relationship between a person and a branch.
https://api.staging.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. |
subscribed_by_link |
(read-only) Link to a person. |
Subscribed by The person who created this subscription. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Can the user unsubscribe the subscriber from the branch?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canBeUnsubscribedByUser |
The core bug entry.
https://api.staging.launchpad.net/devel/bugs/<id>
Key | Value | Description |
---|---|---|
activity_collection_link |
(read-only) Link to a bug_activity collection. |
Log of activity that has occurred on this bug. |
attachments_collection_link |
(read-only) Link to a bug_attachment collection. |
List of bug attachments. |
bug_tasks_collection_link |
(read-only) Link to a bug_task collection. |
BugTasks on this bug, sorted upstream, then by ubuntu, then by other distroseries. |
bug_watches_collection_link |
(read-only) Link to a bug_watch collection. |
All bug watches associated with this bug. |
cves_collection_link |
(read-only) Link to a cve collection. |
CVE entries related to this bug. |
date_created |
(read-only) |
Date Created |
date_last_message |
(read-only) |
Date of last bug message |
date_last_updated |
(read-only) |
Date Last Updated |
date_made_private |
(read-only) |
Date Made Private |
description |
(writeable) |
Description A detailed description of the problem, including the steps required to reproduce it. |
duplicate_of_link |
(writeable) Link to a bug. |
Duplicate Of |
duplicates_collection_link |
(read-only) Link to a bug collection. |
MultiJoin of bugs which are dupes of this one. |
heat |
(read-only) |
The 'heat' of the bug |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
Bug ID |
information_type |
(read-only) One of:
|
Information Type The type of information contained in this bug report. |
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. |
Bazaar branches associated with this bug, usually branches on which this bug is being fixed. |
linked_merge_proposals_collection_link |
(read-only) Link to a branch_merge_proposal collection. |
Merge proposals associated with this bug (currently only Git-based merge proposals). |
lock_reason |
(writeable) |
Lock Reason The reason for locking this bug. |
lock_status |
(read-only) One of:
|
Lock Status The lock status of this bug. |
message_count |
(read-only) |
The number of comments on this bug |
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 A short and unique name. Add one only if you often need to retype the URL but have trouble remembering the bug number. |
number_of_duplicates |
(read-only) |
The number of bugs marked as duplicates of this bug |
other_users_affected_count_with_dupes |
(read-only) |
The number of users affected by this bug (including duplicates), excluding the current user |
owner_link |
(read-only) Link to a person. |
The owner's IPerson |
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) |
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 |
tags |
(writeable) |
Tags Space-separated keywords for classifying this bug report. |
title |
(writeable) |
Summary A one-line summary of the problem. |
users_affected_collection_link |
(read-only) Link to a person collection. |
The number of users affected by this bug (not including duplicates) |
users_affected_count |
(read-only) |
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 |
vulnerabilities_collection_link |
(read-only) Link to a vulnerability collection. |
Vulnerability instances related to this bug. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
who_made_private_link |
(read-only) Link to a person. |
Who Made Private The person who 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 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.
Return all the branches linked to the bug that user can see.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getVisibleLinkedBranches |
Return all the MPs linked to the bug that user can see.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getVisibleLinkedMergeProposals |
Is this bug eligible for expiration and was it last updated more than X days ago?
If days_old is None the default number of days without activity is used.
Returns True or False.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: isExpirable |
|
days_old |
Number of days of inactivity for which to check. |
Attach a file to this bug.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addAttachment | |
comment | (required) | |
content_type | ||
data | Link to a file resource. | |
description | ||
filename | ||
is_patch | ||
url |
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 |
Ensure that this MP is linked to this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: linkMergeProposal |
|
merge_proposal |
(required) Link to a branch_merge_proposal. |
Merge proposal |
Lock the bug metadata edits to the relevant roles.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: lock |
|
reason |
Lock Reason The reason for locking this bug. |
|
status |
One of:
|
Lock Status The lock status of this bug. |
Mark :user: as affected by this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: markUserAffected |
|
affected |
Does this bug affect you? |
Add a muted subscription for person.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: mute |
|
person |
Link to a person. |
Person |
Create a new message, and link it to this object.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newMessage | |
content | (required) | Message |
send_notifications | Enable email notifications for adding this comment. | |
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 for non-admin callers.
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 |
|
level |
One of:
|
Level |
person |
(required) Link to a person. |
Person |
Set the information type for this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: transitionToInformationType |
|
information_type |
(required) One of:
|
Information Type The type of information contained in this bug report. |
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 |
Ensure that any links between this bug and the given MP are removed.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unlinkMergeProposal |
|
merge_proposal |
(required) Link to a branch_merge_proposal. |
Merge proposal |
Unlock the bug metadata edits to the default roles.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unlock |
Remove a muted subscription for person.
Returns previously muted direct subscription, if any.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unmute |
|
person |
Link to a person. |
Person |
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 log of all things that have happened to a bug.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
bug_link |
(read-only) Link to a bug. |
Bug |
datechanged |
(read-only) |
Date Changed The date on which this activity occurred. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
message |
(read-only) |
Message Additional information about what changed. |
newvalue |
(read-only) |
New Value The value after the change. |
oldvalue |
(read-only) |
Old Value The value before the change. |
person_link |
(read-only) Link to a person. |
Person The person's Launchpad ID or email 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. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
whatchanged |
(read-only) |
What Changed The property of the bug that changed. |
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 file attachment to an IBug.
Launchpadlib example of accessing content of an attachment:
for attachment in bug.attachments: buffer = attachment.data.open() for line in buffer: print(line) buffer.close()
Launchpadlib example of accessing metadata about an attachment:
attachment = bug.attachments[0] print("title:", attachment.title) print("ispatch:", attachment.type)
For information about the file-like object returned by attachment.data.open() see lazr.restfulclient's documentation of the HostedFile object.
Details about the message associated with an attachment can be found on the "message" attribute:
message = attachment.message print("subject:", message.subject) print("owner:", message.owner.display_name) print("created:", message.date_created)
https://api.staging.launchpad.net/devel/bugs/<bug.id>/+attachment/<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. |
The attachment content. |
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. |
url |
(read-only) |
Attachment URL |
web_link |
(read-only) |
The canonical human-addressable web 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.
Remove the attachment from the bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeFromBug |
A branch linked to a bug.
https://api.staging.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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
An entity which can be linked to bugs.
Examples include an ISpecification.
depends on the underlying entry
Key | Value | Description |
---|---|---|
bugs_collection_link |
(read-only) Link to a bug collection. |
Bugs related to this object. |
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.staging.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.staging.launchpad.net/devel/bugs/<bug.id>/subscriptions/<subscriber.name>
Key | Value | Description |
---|---|---|
bug_link |
(read-only) Link to a bug. |
Bug |
bug_notification_level |
(writeable) One of:
|
Bug notification level The volume and type of bug notifications this subscription will generate. |
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 email 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 |
A bug subscription filter.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
bug_notification_level |
(writeable) One of:
|
Bug notification level The volume and type of bug notifications this subscription will generate. |
description |
(writeable) |
A short description of this filter |
find_all_tags |
(writeable) |
Find all tags If enabled, all tags must match, else at least one tag must match. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
importances |
(writeable) |
The importances interested in (empty for all) |
information_types |
(writeable) |
The information types interested in (empty for all) |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
statuses |
(writeable) |
The statuses interested in (empty for all) |
structural_subscription_link |
(read-only) Link to a structural_subscription. |
Structural subscription |
tags |
(writeable) |
The tags interested in |
web_link |
(read-only) |
The canonical human-addressable web 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 True if this filter can be muted for person.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: isMuteAllowed |
Return date muted if this filter was muted for person, or None.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: muted |
Add a mute for person to this filter.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: mute |
Remove any mute for person to this filter.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unmute |
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_reported_acknowledgement |
(writeable) |
After reporting a bug, I can expect the following. This message of acknowledgement will be displayed to anyone after reporting a bug. |
bug_reporting_guidelines |
(writeable) |
Helpful guidelines for reporting a bug These guidelines will be shown to everyone reporting a bug and should be text or a bulleted list with your particular requirements, if any. |
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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.staging.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 Fix Released, Invalid, Won't Fix, Expired or Opinion. |
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_incomplete |
(read-only) |
Date Incomplete The date on which this task was marked Incomplete. |
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 |
importance_explanation |
(writeable) |
Importance explanation The explanation for the current importance of this bugtask. |
is_complete |
(read-only) |
True or False depending on whether or not there is more work required on this bug task. |
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 |
status_explanation |
(writeable) |
Status explanation The explanation for the current status of this bugtask. |
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 |
web_link |
(read-only) |
The canonical human-addressable web 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 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.
Is the person a contributor to bugs in this task's pillar?
Return a dict with the following values: is_contributor: True if the user has any bugs assigned to them in the context of this bug task's pillar, either directly or by team participation. person_name: the displayname of the person pillar_name: the displayname of the bug task's pillar
This API call is provided for use by the client Javascript where the calling context does not have access to the person or pillar names.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getContributorInfo |
|
person |
Link to a person. |
Assigned to |
A remote bug system.
Launchpadlib example: What bug tracker is used for a distro source package?
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)
https://api.staging.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) |
This bug tracker has a Launchpad plugin installed. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
Name A 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. |
web_link |
(read-only) |
The canonical human-addressable web 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 collection of all component groups for this bug tracker
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getAllRemoteComponentGroups |
Response contains an
application/json
representation of a
bug_tracker_component_group collection.
Returns the component linked to this source package, if any.
If no components have been linked, returns value of None.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getRemoteComponentForDistroSourcePackageName | |
distribution | (required) | The distribution for the source package |
sourcepackagename | (required) | The source package name |
Response contains an
application/json
representation of a
bug_tracker_component.
Retrieve a given component group registered with the bug tracker.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getRemoteComponentGroup | |
component_group_name | (required) | The name of the remote component group |
Response contains an
application/json
representation of a
bug_tracker_component_group.
Adds a new component group to the bug tracker
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addRemoteComponentGroup | |
component_group_name | (required) | The name of the remote component group |
Response contains an
application/json
representation of a
bug_tracker_component_group.
The software component in the remote bug tracker.
Most bug trackers organize bug reports by the software 'component' they affect. This class provides a mapping of this upstream component to the corresponding source package in the distro.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
component_group_link |
(writeable) Link to a bug_tracker_component_group. |
Component Group |
distro_source_package_link |
(writeable) Link to a distribution_source_package. |
Distribution Source Package The distribution source package object that should be linked to this component. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
is_visible |
(writeable) |
Is Visible? Should the component be shown in the Launchpad web interface? |
name |
(writeable) |
Name The name of a software component as shown in Launchpad. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
web_link |
(read-only) |
The canonical human-addressable web 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 collection of components in a remote bug tracker.
Some bug trackers organize sets of components into higher level groups, such as Bugzilla's 'product'.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
bug_tracker_link |
(writeable) Link to a bug_tracker. |
BugTracker |
components_collection_link |
(read-only) Link to a bug_tracker_component collection. |
Components. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
Name The name of the bug tracker product. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Adds a component to be tracked as part of this component group
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addComponent |
|
component_name |
(required) |
The name of the remote software component to be added |
A bug on a remote system.
https://api.staging.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. |
web_link |
(read-only) |
The canonical human-addressable web 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 Build interface
https://api.staging.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. |
builder_link |
(read-only) Link to a builder. |
Builder The builder assigned to this job. |
buildinfo_url |
(read-only) |
buildinfo file URL The URL for the .buildinfo file for this build. |
buildstate |
(writeable) One of:
|
Status The current status of the job. |
can_be_cancelled |
(read-only) |
Can be cancelled Whether this build record can be cancelled. |
can_be_rescored |
(read-only) |
Can be rescored Whether this build record can be rescored manually. |
can_be_retried |
(read-only) |
Can be retried Whether this build record can be retried. |
changesfile_url |
(read-only) |
Changes file URL The URL for the changes file for this build. Will be None if the build was imported by Gina. |
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 |
(read-only) |
Date finished The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts. |
date_started |
(read-only) |
Date started The timestamp when the build farm job was started. |
datebuilt |
(read-only) |
Date finished The timestamp when the build farm job was finished. |
datecreated |
(read-only) |
Date created The timestamp when the build farm job 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. |
duration |
(read-only) |
Duration Duration interval, calculated when the result gets collected. |
external_dependencies |
(writeable) |
External dependencies Newline-separated list of repositories to be used to retrieve any external build-dependencies when performing this build, in the format: deb http[s]://[user:pass@]<host>[/path] series[-pocket] [components] This is intended for bootstrapping build-dependency loops. |
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. |
score |
(read-only) |
Score of the related job (if any) |
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 |
title |
(writeable) |
Title |
upload_log_url |
(writeable) |
Upload Log URL A URL for failed upload logs.Will be None if there was no failure. |
web_link |
(read-only) |
The canonical human-addressable web 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 latest source publication corresponding to this build.
Unlike current_source_publication, this returns publications even if they are no longer active.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getLatestSourcePublication |
Response contains an
application/json
representation of a
source_package_publishing_history.
Cancel the build if it is either pending or in progress.
Check the can_be_cancelled property prior to calling this method to find out if cancelling the build is possible.
If the build is in progress, it is marked as CANCELLING until the buildd manager terminates the build and marks it CANCELLED. If the build is not in progress, it is marked CANCELLED immediately and is removed from the build queue.
If the build is not in a cancellable state, this method is a no-op.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: cancel |
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 |
Operations that jobs for the build farm must implement.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
build_log_url |
(writeable) |
Build Log URL A URL for the build log. None if there is no log available. |
builder_link |
(read-only) Link to a builder. |
Builder The builder assigned to this job. |
buildstate |
(writeable) One of:
|
Status The current status of the job. |
can_be_cancelled |
(read-only) |
Can be cancelled Whether this build record can be cancelled. |
can_be_rescored |
(read-only) |
Can be rescored Whether this build record can be rescored manually. |
can_be_retried |
(read-only) |
Can be retried Whether this build record can be retried. |
date_first_dispatched |
(read-only) |
Date finished The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts. |
date_started |
(read-only) |
Date started The timestamp when the build farm job was started. |
datebuilt |
(read-only) |
Date finished The timestamp when the build farm job was finished. |
datecreated |
(read-only) |
Date created The timestamp when the build farm job was created. |
dependencies |
(writeable) |
Dependencies Debian-like dependency line that must be satisfied before attempting to build this request. |
duration |
(read-only) |
Duration Duration interval, calculated when the result gets collected. |
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. |
title |
(writeable) |
Title |
web_link |
(read-only) |
The canonical human-addressable web 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.
Cancel the build if it is either pending or in progress.
Check the can_be_cancelled property prior to calling this method to find out if cancelling the build is possible.
If the build is in progress, it is marked as CANCELLING until the buildd manager terminates the build and marks it CANCELLED. If the build is not in progress, it is marked CANCELLED immediately and is removed from the build queue.
If the build is not in a cancellable state, this method is a no-op.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: cancel |
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 |
Builder information and state.
Builder instance represents a single machine within the Launchpad Auto Build System. It should specify a 'processor' on which the machine is based and is able to build packages for; a URL, by which the machine is accessed through an XML-RPC interface; name, title for entity identification and browsing purposes; an LP-like owner which has unrestricted access to the instance; the machine status representation, including the field/properties: virtualized, open_resources, restricted_resources, builderok, status, failnotes and currentjob.
https://api.staging.launchpad.net/devel/builders/<builder.name>
Key | Value | Description |
---|---|---|
active |
(writeable) |
Publicly Visible Whether or not to present the builder publicly. |
builderok |
(writeable) |
Builder State OK Whether or not the builder is ok |
clean_status |
(writeable) One of:
|
Clean status The readiness of the builder to take a job. Only internal build infrastructure bots need to or should write to this. |
current_build_link |
(read-only) Link to a build_farm_job. |
Current build The job currently running on this builder. |
date_clean_status_changed |
(read-only) |
Date clean status changed The date the builder's clean status last changed. |
failnotes |
(writeable) |
Failure Notes The reason for a builder not being ok |
failure_count |
(writeable) |
Failure Count Number of consecutive failures for this builder. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
manual |
(writeable) |
Manual Mode The auto-build system does not dispatch jobs automatically for builders in manual mode. |
name |
(writeable) |
Name The builder name used for reference purposes |
open_resources |
(writeable) |
Open resources Resource tags offered by this builder, that can be required by a build and if required must match. |
owner_link |
(writeable) Link to a person. |
Owner Builder owner, a Launchpad member which will be responsible for this device. |
processor_link |
(writeable) Link to a processor. |
Processor DEPRECATED: Processor identifying jobs which can be built by this device. Use processors instead to handle multiple supported architectures. |
processors |
(writeable) |
Processors Processors identifying jobs which can be built by this device. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
restricted_resources |
(writeable) |
Restricted resources Resource tags offered by this builder, indicating that the builder may only be used by builds that explicitly require these tags. |
self_link |
(read-only) |
The canonical link to this resource. |
title |
(writeable) |
Title The builder title. Should be just a few words. |
url |
(writeable) |
URL The URL to the build machine, used as a unique identifier. Includes protocol, host and port only, e.g.: http://farm.com:8221/ |
version |
(writeable) |
Version The version of launchpad-buildd on the worker. |
virtualized |
(writeable) |
Virtualized Whether or not the builder is a virtual Xen instance. |
vm_host |
(writeable) |
VM host The machine hostname hosting the virtual buildd-worker, e.g.: foobar-host.ppa |
vm_reset_protocol |
(writeable) One of:
|
VM reset protocol The protocol version for resetting the VM. |
web_link |
(read-only) |
The canonical human-addressable web 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 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.
A base for charms.
https://api.staging.launchpad.net/devel/+charm-bases/<name>
Key | Value | Description |
---|---|---|
build_snap_channels |
(writeable) |
Source snap channels for builds A dictionary mapping snap names to channels to use when building charm recipes that specify this base. The special '_byarch' key may have a mapping of architecture names to mappings of snap names to channels, which if present override the channels declared at the top level when building for those architectures. |
date_created |
(read-only) |
Date created |
distro_series_link |
(read-only) Link to a distro_series. |
Distro series |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
processors_collection_link |
(read-only) Link to a processor collection. |
Processors The architectures that the charm base supports. |
registrant_link |
(read-only) Link to a person. |
Registrant The person who registered this base. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Set the architectures that the charm base supports.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setProcessors |
|
processors |
(required) |
A buildable charm recipe.
https://api.staging.launchpad.net/devel/~<person.name>/<project.name>/+charm/<recipe.name>
Key | Value | Description |
---|---|---|
auto_build |
(writeable) |
Automatically build when branch changes Whether this charm recipe is built automatically when its branch changes. |
auto_build_channels |
(writeable) |
Source snap channels for automatic builds A dictionary mapping snap names to channels to use when building this charm recipe. Supported snap names: 'charmcraft', 'core', 'core18', 'core20', 'core22', 'core24' |
build_path |
(writeable) |
Build path Subdirectory within the branch containing metadata.yaml. |
builds_collection_link |
(read-only) Link to a charm_recipe_build collection. |
All builds of this charm recipe. All builds of this charm recipe, sorted in descending order of finishing (or starting if not completed successfully). |
can_upload_to_store |
(read-only) |
Can upload to Charmhub Whether everything is set up to allow uploading builds of this charm recipe to Charmhub. |
completed_builds_collection_link |
(read-only) Link to a charm_recipe_build collection. |
Completed builds of this charm recipe. Completed builds of this charm recipe, sorted in descending order of finishing. |
date_created |
(read-only) |
Date created |
date_last_modified |
(read-only) |
Date last modified |
description |
(writeable) |
Description A description of the charm recipe. |
failed_build_requests_collection_link |
(read-only) Link to a charm_recipe_build_request collection. |
Failed build requests for this charm recipe. |
git_ref_link |
(writeable) Link to a git_ref. |
Git branch The Git branch containing a charm recipe. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
information_type |
(writeable) One of:
|
Information type The type of information contained in this charm recipe. |
is_stale |
(read-only) |
Charm recipe is stale and is due to be rebuilt. |
name |
(writeable) |
Charm recipe name The name of the charm recipe. |
owner_link |
(writeable) Link to a person. |
Owner The owner of this charm recipe. |
pending_build_requests_collection_link |
(read-only) Link to a charm_recipe_build_request collection. |
Pending build requests for this charm recipe. |
pending_builds_collection_link |
(read-only) Link to a charm_recipe_build collection. |
Pending builds of this charm recipe. Pending builds of this charm recipe, sorted in descending order of creation. |
private |
(writeable) |
Private Whether this charm recipe is private. |
project_link |
(writeable) Link to a project. |
The project that this charm recipe is associated with |
registrant_link |
(read-only) Link to a person. |
Registrant The person who registered this charm recipe. |
require_virtualized |
(writeable) |
Require virtualized builders Only build this charm recipe on virtual builders. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
store_channels |
(writeable) |
Store channels Channels to release this charm to after uploading it to the store. A channel is defined by a combination of an optional track, a risk, and an optional branch, e.g. '2.1/stable/fix-123', '2.1/stable', 'stable/fix-123', or 'stable'. |
store_name |
(writeable) |
Registered store name The registered name of this charm in the store. |
store_upload |
(writeable) |
Automatically upload to store Whether builds of this charm recipe are automatically uploaded to the store. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
webhooks_collection_link |
(read-only) Link to a webhook collection. |
Webhooks for this target. |
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.
Begin authorizing uploads of this charm recipe to Charmhub.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: beginAuthorization |
Complete authorizing uploads of this charm recipe to Charmhub.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: completeAuthorization |
|
discharge_macaroon |
(required) |
Serialized discharge macaroon |
Create a new webhook.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newWebhook | |
active | Active Deliver details of subscribed events. | |
delivery_url | (required) | Delivery URL |
event_types | (required) | Event types |
secret | Secret An optional string used to sign delivery bodies with HMAC-SHA1 in the X-Hub-Signature header. This must be less than 200 bytes long. |
On success, the response status will be 201 and the Location header will contain the link to the newly created webhook.
Request that the charm recipe be built.
This is an asynchronous operation; once the operation has finished, the resulting build request's C{status} will be "Completed" and its C{builds} collection will return the resulting builds.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: requestBuilds | |
channels | Source snap channels to use for these builds. A dictionary mapping snap names to channels to use for these builds. Supported snap names: 'charmcraft', 'core', 'core18', 'core20', 'core22', 'core24' |
On success, the response status will be 201 and the Location header will contain the link to the newly created charm_recipe_build_request.
A build record for a charm recipe.
https://api.staging.launchpad.net/devel/~<person.name>/<project.name>/+charm/<recipe.name>/+build/<id>
Key | Value | Description |
---|---|---|
arch_tag |
(read-only) |
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. |
builder_link |
(read-only) Link to a builder. |
Builder The builder assigned to this job. |
buildstate |
(writeable) One of:
|
Status The current status of the job. |
can_be_cancelled |
(read-only) |
Can be cancelled Whether this build record can be cancelled. |
can_be_rescored |
(read-only) |
Can be rescored Whether this build record can be rescored manually. |
can_be_retried |
(read-only) |
Can be retried Whether this build record can be retried. |
channels |
(writeable) |
Source snap channels to use for this build. A dictionary mapping snap names to channels to use for this build. Supported snap names: 'charmcraft', 'core', 'core18', 'core20', 'core22', 'core24' |
date_first_dispatched |
(read-only) |
Date finished The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts. |
date_started |
(read-only) |
Date started The timestamp when the build farm job was started. |
datebuilt |
(read-only) |
Date finished The timestamp when the build farm job was finished. |
datecreated |
(read-only) |
Date created The timestamp when the build farm job 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. |
distro_arch_series_link |
(read-only) Link to a distro_arch_series. |
The series and architecture for which to build. |
distro_series_link |
(writeable) Link to a distro_series. |
Distribution series Shortcut for its distribution series. |
duration |
(read-only) |
Duration Duration interval, calculated when the result gets collected. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
|
(writeable) One of:
|
The build targeted pocket. |
recipe_link |
(read-only) Link to a charm_recipe. |
The charm recipe to build. |
requester_link |
(read-only) Link to a person. |
The person who requested this build. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
revision_id |
(read-only) |
Revision ID The revision ID of the branch used for this build, if available. |
score |
(read-only) |
Score of the related build farm job (if any). |
self_link |
(read-only) |
The canonical link to this resource. |
store_upload_error_message |
(read-only) |
Store upload error message The error message, if any, from the last attempt to upload this charm recipe build to Charmhub. |
store_upload_revision |
(read-only) |
Store revision The revision assigned to this charm recipe build by Charmhub. |
store_upload_status |
(writeable) One of:
|
Store upload status |
title |
(writeable) |
Title |
upload_log_url |
(writeable) |
Upload Log URL A URL for failed upload logs.Will be None if there was no failure. |
web_link |
(read-only) |
The canonical human-addressable web 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.
URLs for all the files produced by this build.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getFileUrls |
Cancel the build if it is either pending or in progress.
Check the can_be_cancelled property prior to calling this method to find out if cancelling the build is possible.
If the build is in progress, it is marked as CANCELLING until the buildd manager terminates the build and marks it CANCELLED. If the build is not in progress, it is marked CANCELLED immediately and is removed from the build queue.
If the build is not in a cancellable state, this method is a no-op.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: cancel |
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 |
Schedule an upload of this build to the store.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: scheduleStoreUpload |
A request to build a charm recipe.
https://api.staging.launchpad.net/devel/~<person.name>/<project.name>/+charm/<recipe.name>/+build-request/<id>
Key | Value | Description |
---|---|---|
builds_collection_link |
(read-only) Link to a charm_recipe_build collection. |
Builds produced by this request |
date_finished |
(read-only) |
The time when this request finished |
date_requested |
(read-only) |
The time when this request was made |
error_message |
(read-only) |
Error message |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
recipe_link |
(read-only) Link to a charm_recipe. |
Charm 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. |
status |
(read-only) One of:
|
Status |
web_link |
(read-only) |
The canonical human-addressable web 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 build record for a pipeline of CI jobs.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
arch_tag |
(read-only) |
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. |
builder_link |
(read-only) Link to a builder. |
Builder The builder assigned to this job. |
buildstate |
(writeable) One of:
|
Status The current status of the job. |
can_be_cancelled |
(read-only) |
Can be cancelled Whether this build record can be cancelled. |
can_be_rescored |
(read-only) |
Can be rescored Whether this build record can be rescored manually. |
can_be_retried |
(read-only) |
Can be retried Whether this build record can be retried. |
commit_sha1 |
(read-only) |
The Git commit ID for this CI build. |
date_first_dispatched |
(read-only) |
Date finished The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts. |
date_started |
(read-only) |
Date started The timestamp when the build farm job was started. |
datebuilt |
(read-only) |
Date finished The timestamp when the build farm job was finished. |
datecreated |
(read-only) |
Date created The timestamp when the build farm job 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. |
distro_arch_series_link |
(read-only) Link to a distro_arch_series. |
The series and architecture that this CI build should run on. |
distro_series_link |
(writeable) Link to a distro_series. |
Distribution series Shortcut for its distribution series. |
duration |
(read-only) |
Duration Duration interval, calculated when the result gets collected. |
git_refs |
(read-only) |
The git references that originated this CI Build. |
git_repository_link |
(read-only) Link to a git_repository. |
The Git repository for this CI build. |
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. |
results |
(writeable) |
A mapping from job IDs to result tokens, retrieved from the builder. |
score |
(read-only) |
Score of the related build farm job (if any). |
self_link |
(read-only) |
The canonical link to this resource. |
stages |
(writeable) |
A list of stages in this build's configured pipeline. |
title |
(writeable) |
Title |
upload_log_url |
(writeable) |
Upload Log URL A URL for failed upload logs.Will be None if there was no failure. |
web_link |
(read-only) |
The canonical human-addressable web 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.
URLs for all the files produced by this build.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getFileUrls |
Cancel the build if it is either pending or in progress.
Check the can_be_cancelled property prior to calling this method to find out if cancelling the build is possible.
If the build is in progress, it is marked as CANCELLING until the buildd manager terminates the build and marks it CANCELLED. If the build is not in progress, it is marked CANCELLED immediately and is removed from the build queue.
If the build is not in a cancellable state, this method is a no-op.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: cancel |
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 or Git repository.
https://api.staging.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 |
git_repository_link |
(read-only) Link to a git_repository. |
Git repository The Git repository produced by the import system. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
rcs_type |
(read-only) One of:
|
Type of RCS The revision control system to import from. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
review_status |
(read-only) One of:
|
Review Status Only reviewed imports are processed. |
self_link |
(read-only) |
The canonical link to this resource. |
target_rcs_type |
(read-only) One of:
|
Type of target RCS The revision control system to import to. |
url |
(writeable) |
URL The URL of the VCS branch. |
web_link |
(read-only) |
The canonical human-addressable web 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.
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.staging.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 |
content |
(read-only) |
All the text/plain chunks joined together as a unicode string. |
date_created |
(read-only) |
Date Created |
date_deleted |
(read-only) |
When this message was deleted |
date_last_edited |
(read-only) |
When this message was last edited |
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) |
Deprecated. Use "content" attribute instead. |
owner_link |
(read-only) Link to a person. |
Person |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
revisions_collection_link |
(read-only) Link to a message_revision collection. |
Message revision history Revision history of this message, sorted in ascending order. |
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 |
web_link |
(read-only) |
The canonical human-addressable web 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.
Deletes this message content.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deleteContent |
Edit the content of this message, generating a new message revision with the old content.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: editContent |
|
new_content |
(required) |
Message content The new message content string |
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.staging.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) |
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. |
web_link |
(read-only) |
The canonical human-addressable web 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 licence which does not qualify for free hosting, a subscription needs to be purchased.
https://api.staging.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. |
distribution_link |
(read-only) Link to a distribution. |
Distribution which has commercial subscription Distribution for which this commercial subscription is applied. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
is_active |
(read-only) |
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.staging.launchpad.net/devel/+countries/<iso3166code2>
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 buildable craft recipe.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
auto_build |
(writeable) |
Automatically build when branch changes Whether this craft recipe is built automatically when the branch containing its craft.yaml recipe changes. |
auto_build_channels |
(writeable) |
Source snap channels for automatic builds A dictionary mapping snap names to channels to use when building this craft recipe. Currently only 'core', 'core18', 'core20', and 'sourcecraft' keys are supported. |
build_path |
(writeable) |
Build path Subdirectory within the branch containing craft.yaml. |
builds_collection_link |
(read-only) Link to a craft_recipe_build collection. |
All builds of this craft recipe. All builds of this craft recipe, sorted in descending order of finishing (or starting if not completed successfully). |
can_upload_to_store |
(read-only) |
Can upload to the CraftStore Whether everything is set up to allow uploading builds of this craftrecipe to the CraftStore. |
completed_builds_collection_link |
(read-only) Link to a craft_recipe_build collection. |
Completed builds of this craft recipe. Completed builds of this craft recipe, sorted in descending order of finishing. |
date_created |
(read-only) |
Date created |
date_last_modified |
(read-only) |
Date last modified |
description |
(writeable) |
Description A description of the craft recipe. |
failed_build_requests_collection_link |
(read-only) Link to a craft_recipe_build_request collection. |
Failed build requests for this craft recipe. |
fetch_service_policy |
(writeable) One of:
|
Fetch service policy Which policy to use when using the fetch service. Ignored if use_fetch_service flag is False. |
git_path |
(read-only) |
Git branch path The path of the Git branch containing a sourcecraft.yaml recipe. |
git_ref_link |
(writeable) Link to a git_ref. |
Git branch The Git branch containing a craft.yaml recipe. |
git_repository_link |
(read-only) Link to a git_repository. |
Git repository A Git repository with a branch containing a sourcecraft.yaml recipe. |
git_repository_url |
(read-only) |
Git repository URL The URL of a Git repository with a branch containing a sourcecraft.yaml at the top level. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
information_type |
(writeable) One of:
|
Information type The type of information contained in this craft recipe. |
is_stale |
(read-only) |
Craft recipe is stale and is due to be rebuilt. |
name |
(writeable) |
Craft recipe name The name of the craft recipe. |
owner_link |
(writeable) Link to a person. |
Owner The owner of this craft recipe. |
pending_build_requests_collection_link |
(read-only) Link to a craft_recipe_build_request collection. |
Pending build requests for this craft recipe. |
pending_builds_collection_link |
(read-only) Link to a craft_recipe_build collection. |
Pending builds of this craft recipe. Pending builds of this craft recipe, sorted in descending order of creation. |
private |
(writeable) |
Private Whether this craft recipe is private. |
project_link |
(writeable) Link to a project. |
The project that this craft recipe is associated with |
registrant_link |
(read-only) Link to a person. |
Registrant The person who registered this craft recipe. |
require_virtualized |
(writeable) |
Require virtualized builders Only build this craft recipe on virtual builders. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
store_channels |
(writeable) |
Store channels Channels to release this craft to after uploading it to the store. A channel is defined by a combination of an optional track, a risk, and an optional branch, e.g. '2.1/stable/fix-123', '2.1/stable', 'stable/fix-123', or 'stable'. |
store_name |
(writeable) |
Registered store name The registered name of this craft in the store. |
store_upload |
(writeable) |
Automatically upload to store Whether builds of this craft recipe are automatically uploaded to the store. |
use_fetch_service |
(writeable) |
Use fetch service If set, Craft builds will use the fetch-service instead of the builder-proxy to access external resources. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Request that the craft recipe be built.
This is an asynchronous operation; once the operation has finished, the resulting build request's C{status} will be "Completed" and its C{builds} collection will return the resulting builds.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: requestBuilds | |
architectures | The list of architectures to build for this recipe. | |
channels | Source snap channels to use for these builds. A dictionary mapping snap names to channels to use for these builds. Currently only 'sourcecraft', 'core', 'core18', 'core20', and 'core22' keys are supported. |
On success, the response status will be 201 and the Location header will contain the link to the newly created craft_recipe_build_request.
A build record for a craft recipe.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
arch_tag |
(read-only) |
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. |
build_metadata_url |
(read-only) |
URL of the build metadata file URL of the metadata file generated by the fetch service, if it exists. |
builder_link |
(read-only) Link to a builder. |
Builder The builder assigned to this job. |
buildstate |
(writeable) One of:
|
Status The current status of the job. |
can_be_cancelled |
(read-only) |
Can be cancelled Whether this build record can be cancelled. |
can_be_rescored |
(read-only) |
Can be rescored Whether this build record can be rescored manually. |
can_be_retried |
(read-only) |
Can be retried Whether this build record can be retried. |
channels |
(writeable) |
Source snap channels to use for this build. A dictionary mapping snap names to channels to use for this build. Currently only 'core', 'core18', 'core20', and 'sourcecraft' keys are supported. |
date_first_dispatched |
(read-only) |
Date finished The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts. |
date_started |
(read-only) |
Date started The timestamp when the build farm job was started. |
datebuilt |
(read-only) |
Date finished The timestamp when the build farm job was finished. |
datecreated |
(read-only) |
Date created The timestamp when the build farm job 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. |
distro_arch_series_link |
(read-only) Link to a distro_arch_series. |
The series and architecture for which to build. |
distro_series_link |
(writeable) Link to a distro_series. |
Distribution series Shortcut for its distribution series. |
duration |
(read-only) |
Duration Duration interval, calculated when the result gets collected. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
|
(writeable) One of:
|
The build targeted pocket. |
recipe_link |
(read-only) Link to a craft_recipe. |
The craft recipe to build. |
requester_link |
(read-only) Link to a person. |
The person who requested this build. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
revision_id |
(read-only) |
Revision ID The revision ID of the branch used for this build, if available. |
score |
(read-only) |
Score of the related build farm job (if any). |
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
URLs for all the files produced by this build.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getFileUrls |
Cancel the build if it is either pending or in progress.
Check the can_be_cancelled property prior to calling this method to find out if cancelling the build is possible.
If the build is in progress, it is marked as CANCELLING until the buildd manager terminates the build and marks it CANCELLED. If the build is not in progress, it is marked CANCELLED immediately and is removed from the build queue.
If the build is not in a cancellable state, this method is a no-op.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: cancel |
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 request to build a craft recipe.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
builds_collection_link |
(read-only) Link to a craft_recipe_build collection. |
Builds produced by this request |
date_finished |
(read-only) |
The time when this request finished |
date_requested |
(read-only) |
The time when this request was made |
error_message |
(read-only) |
Error message |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
recipe_link |
(read-only) Link to a craft_recipe. |
Craft 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. |
status |
(read-only) One of:
|
Status |
web_link |
(read-only) |
The canonical human-addressable web 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 single CVE database entry.
https://api.staging.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. |
cvss |
(read-only) |
CVSS The CVSS vector strings from various authorities that publish it. |
date_created |
(read-only) |
Date Created |
date_made_public |
(read-only) |
Date Made Public |
date_modified |
(writeable) |
Date Modified |
description |
(writeable) |
Title A description of the CVE issue. This will be updated regularly from the CVE database. |
discovered_by |
(read-only) |
Discovered by The name of person(s) or organization that discovered the CVE |
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 Return a URL to the site that has the CVE data for this CVE reference. |
web_link |
(read-only) |
The canonical human-addressable web 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.
An operating system distribution.
Launchpadlib example: retrieving the current version of a package in a particular distroseries.
ubuntu = launchpad.distributions["ubuntu"] archive = ubuntu.main_archive series = ubuntu.current_series print(archive.getPublishedSources(exact_match=True, source_name="apport", distro_series=series)[0].source_package_version)
https://api.staging.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. |
all_specifications_collection_link |
(read-only) Link to a specification collection. |
All specifications A list of all specifications, regardless of status or approval or completion, for this object. |
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 primary, partner and debug archives. |
branch_sharing_policy |
(writeable) One of:
|
Branch sharing policy Sharing policy for this pillar's branches. |
bug_reported_acknowledgement |
(writeable) |
After reporting a bug, I can expect the following. This message of acknowledgement will be displayed to anyone after reporting a bug. |
bug_reporting_guidelines |
(writeable) |
Helpful guidelines for reporting a bug These guidelines will be shown to everyone reporting a bug and should be text or a bulleted list with your particular requirements, if any. |
bug_sharing_policy |
(writeable) One of:
|
Bug sharing policy Sharing policy for this pillar's bugs. |
bug_supervisor_link |
(writeable) Link to a person. |
Bug Supervisor The Launchpad id of the person or team (preferred) 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. |
code_admin_link |
(writeable) Link to a person. |
Code Administrator The distribution source code administrator. |
commercial_subscription_is_due |
(read-only) |
Commercial subscription is due Whether the distribution'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. |
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. |
default_traversal_policy |
(writeable) One of:
|
Default traversal policy The type of object that /{distro}/{name} URLs for this distribution resolve to. |
derivatives_collection_link |
(read-only) Link to a distro_series collection. |
This Distribution's derivatives |
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. |
development_series_alias |
(writeable) |
Alias for development series If set, an alias for the current development series in this distribution. |
display_name |
(writeable) |
Display Name The displayable name of the distribution. |
domain_name |
(writeable) |
Web site URL The distro's web site URL. |
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 whose 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. |
information_type |
(writeable) One of:
|
Information Type The type of data contained in this item. |
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. |
members_link |
(writeable) Link to a person. |
Members The distro's members team. |
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. |
oci_project_admin_link |
(writeable) Link to a person. |
OCI Project Administrator The person or team that has the rights to manage OCI Projects for this distribution. |
official_answers |
(writeable) |
People can ask questions in Launchpad Answers |
official_blueprints |
(writeable) |
This project uses blueprints |
official_bug_tags |
(writeable) |
Official Bug Tags The list of bug tags defined as official. |
official_bugs |
(writeable) |
Bugs in this project are tracked in Launchpad |
official_codehosting |
(writeable) |
Code for this project is published in Bazaar branches on Launchpad |
official_packages |
(writeable) |
Packages are tracked in Launchpad |
owner_link |
(writeable) Link to a person. |
Owner The restricted team, moderated team, or person who maintains the distribution information in Launchpad. |
private |
(read-only) |
Distribution is confidential If set, this distribution is visible only to those with access grants. |
redirect_default_traversal |
(writeable) |
Redirect the default traversal If true, the default traversal is for migration and redirects to a different canonical URL. |
redirect_release_uploads |
(writeable) |
Redirect release pocket uploads Redirect release pocket uploads to proposed pocket |
registrant_link |
(read-only) Link to a person. |
Registrant The distro's registrant. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
security_admin_link |
(writeable) Link to a person. |
Security Administrator The distribution security administrator. |
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 |
specification_sharing_policy |
(writeable) One of:
|
Blueprint sharing policy Sharing policy for this project's specifications. |
summary |
(writeable) |
Summary A short paragraph to introduce the goals and highlights of the distribution. |
supports_mirrors |
(writeable) |
Enable mirror listings and probes |
supports_ppas |
(writeable) |
Enable PPA creation and publication |
title |
(writeable) |
Title The distro's title. |
translationgroup_link |
(writeable) Link to a translation_group. |
Translation group The translation group that helps review translations for this project or distribution. The group's role depends on the permissions policy selected below. |
translationpermission |
(writeable) One of:
|
Translation permissions policy The policy this project or distribution uses to balance openness and control for their translations. |
translations_usage |
(writeable) One of:
|
Type of service for translations application Where does this pillar do translations? |
valid_specifications_collection_link |
(read-only) Link to a specification collection. |
Valid specifications All specifications that are not obsolete. When called from an ISpecificationGoal it will also exclude the ones that have not been accepted for that goal |
vcs |
(writeable) One of:
|
VCS Version control system for this distribution's code. |
vulnerabilities_collection_link |
(read-only) Link to a vulnerability collection. |
Vulnerabilities in this distribution. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
webhooks_collection_link |
(read-only) Link to a webhook collection. |
Webhooks for this target. |
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 add or remove the answer contact.
Users can add or remove themselves or one of the teams they administered. Admins and target owners can add/remove anyone.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canUserAlterAnswerContact |
|
person |
(required) Link to a person. |
The user or an administered team |
Find OOPS reports between start_date and end_date.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: findReferencedOOPS |
|
end_date |
(required) |
Modified before date |
start_date |
(required) |
Modified after date |
Return questions similar to phrase.
Return a list of question similar to the provided phrase. These questions will be found using a fuzzy search. The list is ordered from the most similar question to the least similar question.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findSimilarQuestions | |
phrase | (required) | A phrase |
Response contains an
application/json
representation of a
question collection.
Return the list of Persons that provide support for a language.
An answer contact supports questions in their preferred languages.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getAnswerContactsForLanguage | |
language | (required) Link to a language. |
Response contains an
application/json
representation of a
person collection.
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 the best mirrors to be used by someone in the given country.
The list of mirrors is composed by the official mirrors located in the given country (or in the country's continent if the country doesn't have any) plus the main mirror of that type.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBestMirrorsForCountry | |
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 collection.
Return a list of branches which have new tips since a date.
Each branch information is a tuple of (branch_unique_name, tip_revision, (official_series*)).
So for each branch in the distribution, you'll get the branch unique name, the revision id of tip, and if the branch is official for some series, the list of series name.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getBranchTips |
|
since |
Time of last change Return branches that have new tips since this timestamp. |
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 a OCIProject with the given name for this distribution, or None.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getOCIProject | |
name | (required) | OCI project name |
Response contains an
application/json
representation of a
oci_project.
Return the question by its id, if it is applicable to this target.
If there is no such question number for this target, return None
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getQuestion |
|
question_id |
(required) |
Question Number |
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.
Returns the specification with the given name, for this target, or None.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSpecification | |
name | (required) | The name of the specification |
Response contains an
application/json
representation of a
specification.
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 a list of languages spoken by at the answer contacts.
An answer contact is considered to speak a given language if that language is listed as one of their preferred languages.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSupportedLanguages |
Response contains an
application/json
representation of a
language collection.
Return entries in the translation import queue for this entity.
If one of both of 'import_status' or 'file_extension' are given, the returned entries are filtered based on those values.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTranslationImportQueueEntries | |
file_extension | Filename extension Show only entries with this filename suffix | |
import_status | One of:
| Status Show only entries with this status |
Response contains an
application/json
representation of a
translation_import_queue_entry collection.
Search for OCI projects that match the title text.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchOCIProjects | |
text | OCI title substring match |
Response contains an
application/json
representation of a
oci_project collection.
Return the questions from the collection matching search criteria.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchQuestions | |
language | Language | |
needs_attention_from | Link to a person. | Needs attentions from |
owner | Link to a person. | Owner |
search_text | Search text | |
sort | One of:
| Sort |
status | Status |
Response contains an
application/json
representation of a
question 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.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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.
Is user subscribed, directly or via a team, to bug mail?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: userHasBugSubscriptions |
Add a new answer contact.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addAnswerContact |
|
person |
(required) Link to a person. |
The user of an administered team |
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target. This initially has a single filter which will allow all notifications will be sent.
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 a bug subscription filter for this structure.
This method is used to create a new IBugSubscriptionFilter for the target. It will initially allow all notifications to be sent.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscriptionFilter | |
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 bug_subscription_filter.
Add tag to the official bug tags of this target.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addOfficialBugTag |
|
tag |
(required) |
The official bug tag |
Delete any existing OCI credentials for the distribution.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deleteOCICredentials |
Create an IOCIProject for this distro.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newOCIProject | |
description | Description for this OCI project. A short description of this OCI project. | |
name | (required) | The OCI project name. The name that groups a set of OCI recipes together. |
On success, the response status will be 201 and the Location header will contain the link to the newly created oci_project.
Create a new vulnerability in the distribution.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: newVulnerability |
|
creator |
(required) Link to a person. |
Person creating the vulnerability. |
cve |
Link to a cve. |
External CVE reference corresponding to this vulnerability, if any. |
date_made_public |
The date this vulnerability was made public. |
|
description |
A short description of the vulnerability. |
|
importance |
One of:
|
Indicates the work priority, not the severity. Defaults to Undecided. |
importance_explanation |
Used to explain why our importance differs from somebody else's CVSS score. |
|
information_type |
(required) One of:
|
Information Type. Defaults to Public. |
mitigation |
Explains why we're ignoring this vulnerability. |
|
notes |
Free-form notes for this vulnerability. |
|
status |
(required) One of:
|
The status of the vulnerability. |
Create a new webhook.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newWebhook | |
active | Active Deliver details of subscribed events. | |
delivery_url | (required) | Delivery URL |
event_types | (required) | Event types |
secret | Secret An optional string used to sign delivery bodies with HMAC-SHA1 in the X-Hub-Signature header. This must be less than 200 bytes long. |
On success, the response status will be 201 and the Location header will contain the link to the newly created webhook.
Remove an answer contact.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeAnswerContact |
|
person |
(required) Link to a person. |
The user of an administered team |
Remove a subscription to bugs from this structure.
This will delete all associated filters.
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 |
Set the credentials for the OCI registry for OCI projects.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setOCICredentials |
|
password |
Password The password for the OCI registry. |
|
region |
OCI registry region. The region of the OCI registry. |
|
registry_url |
(required) |
The registry url. The url of the OCI registry to use. |
username |
Username The username for the OCI registry. |
A mirror of a given distribution.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
base_url |
(writeable) |
Base URL The HTTP or FTP base URL of this mirror |
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. |
https_base_url |
(writeable) |
HTTPS URL |
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 thismirror. |
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. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
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 UP (up to date), 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.staging.launchpad.net/devel/<distribution.name>/+source/<name>
Key | Value | Description |
---|---|---|
bug_reported_acknowledgement |
(writeable) |
After reporting a bug, I can expect the following. This message of acknowledgement will be displayed to anyone after reporting a bug. |
bug_reporting_guidelines |
(writeable) |
Helpful guidelines for reporting a bug These guidelines will be shown to everyone reporting a bug and should be text or a bulleted list with your particular requirements, if any. |
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. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
webhooks_collection_link |
(read-only) Link to a webhook collection. |
Webhooks for this target. |
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 add or remove the answer contact.
Users can add or remove themselves or one of the teams they administered. Admins and target owners can add/remove anyone.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canUserAlterAnswerContact |
|
person |
(required) Link to a person. |
The user or an administered team |
Return questions similar to phrase.
Return a list of question similar to the provided phrase. These questions will be found using a fuzzy search. The list is ordered from the most similar question to the least similar question.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findSimilarQuestions | |
phrase | (required) | A phrase |
Response contains an
application/json
representation of a
question collection.
Return the list of Persons that provide support for a language.
An answer contact supports questions in their preferred languages.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getAnswerContactsForLanguage | |
language | (required) Link to a language. |
Response contains an
application/json
representation of a
person collection.
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 the question by its id, if it is applicable to this target.
If there is no such question number for this target, return None
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getQuestion |
|
question_id |
(required) |
Question Number |
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 a list of languages spoken by at the answer contacts.
An answer contact is considered to speak a given language if that language is listed as one of their preferred languages.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSupportedLanguages |
Response contains an
application/json
representation of a
language collection.
Return the questions from the collection matching search criteria.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchQuestions | |
language | Language | |
needs_attention_from | Link to a person. | Needs attentions from |
owner | Link to a person. | Owner |
search_text | Search text | |
sort | One of:
| Sort |
status | Status |
Response contains an
application/json
representation of a
question collection.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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.
Is user subscribed, directly or via a team, to bug mail?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: userHasBugSubscriptions |
Add a new answer contact.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addAnswerContact |
|
person |
(required) Link to a person. |
The user of an administered team |
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target. This initially has a single filter which will allow all notifications will be sent.
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 a bug subscription filter for this structure.
This method is used to create a new IBugSubscriptionFilter for the target. It will initially allow all notifications to be sent.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscriptionFilter | |
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 bug_subscription_filter.
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:
| |
target_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.
Create a new webhook.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newWebhook | |
active | Active Deliver details of subscribed events. | |
delivery_url | (required) | Delivery URL |
event_types | (required) | Event types |
secret | Secret An optional string used to sign delivery bodies with HMAC-SHA1 in the X-Hub-Signature header. This must be less than 200 bytes long. |
On success, the response status will be 201 and the Location header will contain the link to the newly created webhook.
Remove an answer contact.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeAnswerContact |
|
person |
(required) Link to a person. |
The user of an administered team |
Remove a subscription to bugs from this structure.
This will delete all associated filters.
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 architecture for a distroseries.
https://api.staging.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 |
enabled |
(writeable) |
Enabled Whether or not this DistroArchSeries is enabled for build creation and publication. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
is_nominated_arch_indep |
(writeable) |
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. |
processor_link |
(read-only) Link to a processor. |
Processor |
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 |
(read-only) |
PPA support available Indicate whether or not this port has support for building PPA packages. |
title |
(writeable) |
Title The title of this distroarchseries. |
web_link |
(read-only) |
The canonical human-addressable web 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 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 applicable hashes for the current chroot of this pocket.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getChrootHash |
|
image_type |
(required) One of:
|
|
|
(required) One of:
|
Return the chroot URL for this series, pocket, and image type.
The pocket defaults to "Release"; the image type defaults to "Chroot tarball".
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getChrootURL |
|
image_type |
One of:
|
|
|
One of:
|
Get the filter for packages to build for this architecture, if any.
Packages are normally built for all available architectures, subject to any constraints in their Architecture field. If a filter is set, then it applies the additional constraint that packages not included by the filter will not be built for this architecture.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSourceFilter |
Response contains an
application/json
representation of a
distro_arch_series_filter.
Remove the chroot tarball used for builds in this architecture.
The pocket defaults to "Release"; the image type defaults to "Chroot tarball".
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeChroot |
|
image_type |
One of:
|
|
|
One of:
|
Remove any filter for packages to build for this architecture.
This causes packages to be built for this architecture when they might previously have been filtered, subject to any constraints in their Architecture field.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeSourceFilter |
Set the chroot tarball used for builds in this architecture.
The SHA-1 checksum must match the chroot file.
The pocket defaults to "Release"; the image type defaults to "Chroot tarball".
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setChroot |
|
data |
(required) Link to a file resource. |
|
image_type |
One of:
|
|
|
One of:
|
|
sha1sum |
(required) |
Set the chroot tarball from a live filesystem build.
The pocket defaults to "Release"; the image type defaults to "Chroot tarball".
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setChrootFromBuild |
|
filename |
(required) |
Filename |
image_type |
One of:
|
|
livefsbuild |
(required) Link to a livefs_build. |
Live filesystem build |
|
One of:
|
Set a filter for packages to build for this architecture.
Packages are normally built for all available architectures, subject to any constraints in their Architecture field. If a filter is set, then it applies the additional constraint that packages not included by the filter will not be built for this architecture.
If the sense of the filter is "Include", then the filter only includes packages in the given package set. If the sense of the filter is "Exclude", then the filter only includes packages not in the given package set.
Later changes to the given package set will also affect any filters using it.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setSourceFilter |
|
packageset |
(required) Link to a packageset. |
Package set |
sense |
(required) One of:
|
Sense |
A filter for packages to be included in or excluded from a DAS.
Since package sets can include other package sets, a single package set is flexible enough for this. However, one might reasonably want to either include some packages ("this architecture is obsolescent or experimental and we only want to build a few packages for it") or exclude some packages ("this architecture can't handle some packages so we want to make them go away centrally").
https://api.staging.launchpad.net/devel/<distribution.name>/<distroseries.name>/<architecture_tag>/+source-filter
Key | Value | Description |
---|---|---|
creator_link |
(read-only) Link to a person. |
Creator The user who created this filter. |
date_created |
(read-only) |
Date created The time when this filter was created. |
date_last_modified |
(read-only) |
Date last modified The time when this filter was last modified. |
distroarchseries_link |
(read-only) Link to a distro_arch_series. |
Distro arch series The distro arch series that this filter is for. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
packageset_link |
(read-only) Link to a packageset. |
Package set The package set to be included in or excluded from this distro arch 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. |
sense |
(read-only) One of:
|
Sense Whether the filter represents packages to include or exclude from the distro arch series. |
web_link |
(read-only) |
The canonical human-addressable web 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 series of an operating system distribution.
https://api.staging.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. |
advertise_by_hash |
(writeable) |
Advertise by-hash directories Advertise by-hash directories with a flag in the Release file so that apt uses them by default. Only effective if publish_by_hash is also set. |
all_milestones_collection_link |
(read-only) Link to a milestone collection. |
All milestones associated with this object, ordered by date expected. |
all_specifications_collection_link |
(read-only) Link to a specification collection. |
All specifications A list of all specifications, regardless of status or approval or completion, for this object. |
architectures_collection_link |
(read-only) Link to a distro_arch_series collection. |
Enabled architectures All architectures in this series with the 'enabled' flag set. |
backports_not_automatic |
(writeable) |
Don't upgrade to backports automatically Set NotAutomatic: yes and ButAutomaticUpgrades: yes in Release files generated for the backports pocket. This tells apt to automatically upgrade within backports, but not into it. |
bug_reported_acknowledgement |
(writeable) |
After reporting a bug, I can expect the following. This message of acknowledgement will be displayed to anyone after reporting a bug. |
bug_reporting_guidelines |
(writeable) |
Helpful guidelines for reporting a bug These guidelines will be shown to everyone reporting a bug and should be text or a bulleted list with your particular requirements, if any. |
changeslist |
(writeable) |
Email changes to The mailing list or other email address that Launchpad should notify about new uploads. |
component_names |
(read-only) |
The series component names |
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. |
include_long_descriptions |
(writeable) |
Include long descriptions in Packages rather than in Translation-en If True, write long descriptions to the per-architecture Packages files; if False, write them to a Translation-en file common across architectures instead. Using a common file reduces the bandwidth footprint of enabling multiarch on clients, which requires downloading Packages files for multiple architectures. |
index_compressors |
(writeable) |
Compression types to use for published index files A list of compression types to use for published index files (Packages, Sources, etc.). |
language_pack_full_export_requested |
(writeable) |
Request a full language pack export Whether next language pack generation will be a full export. This information is useful when update packs are too big and want to merge all those changes in the base pack. |
main_archive_link |
(writeable) Link to a archive. |
Distribution Main Archive |
name |
(writeable) |
Name The name of this series. |
nominatedarchindep_link |
(writeable) Link to a distro_arch_series. |
DistroArchSeries designed to build architecture-independent packages within this distroseries context. |
official_bug_tags |
(read-only) |
Official Bug Tags The list of bug tags defined as official. |
owner_link |
(read-only) Link to a person. |
Owning team of the derived series This attribute mirrors the owner of the distribution. |
previous_series_link |
(read-only) Link to a distro_series. |
Parent series The series from which this one was branched. |
proposed_not_automatic |
(writeable) |
Don't upgrade to proposed updates automatically Set NotAutomatic: yes and ButAutomaticUpgrades: yes in Release files generated for the proposed pocket. This tells apt to automatically upgrade within proposed, but not into it. |
publish_by_hash |
(writeable) |
Publish by-hash directories Publish archive index files in by-hash directories so that apt can retrieve them based on their hash, avoiding race conditions between InRelease and other files during mirror updates. |
publish_i18n_index |
(writeable) |
Publish I18n index Publish archive i18n/Index file, which is believed to be unused. |
registrant_link |
(writeable) Link to a person. |
Registrant |
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 |
strict_supported_component_dependencies |
(writeable) |
Strict dependencies of supported components If True, packages in supported components (main and restricted) may not build-depend on packages in unsupported components. Do not rely on the name of this attribute, even for reading; it is currently subject to change. |
suite_names |
(read-only) |
The series pocket names |
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. |
translations_usage |
(writeable) One of:
|
Type of service for translations application Where does this pillar do translations? |
valid_specifications_collection_link |
(read-only) Link to a specification collection. |
Valid specifications All specifications that are not obsolete. When called from an ISpecificationGoal it will also exclude the ones that have not been accepted for that goal |
version |
(writeable) |
Version The version string for this series. |
web_link |
(read-only) |
The canonical human-addressable web 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 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.
Get all DistroSeries derived from this one.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getDerivedSeries |
Response contains an
application/json
representation of a
distro_series collection.
Get IDistroSeriesDifferenceComment items.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getDifferenceComments | |
since | Minimum creation timestamp Ignore comments that are older than this. | |
source_package_name | Name of source package Only return comments for this source package. |
Response contains an
application/json
representation of a
distro_series_difference_comment collection.
Return the differences between this series and the specified parent_series (or all the parent series if parent_series is None).
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getDifferencesTo | |
child_version_higher | Only return differences for which the child's version is higher than the parent's. | |
difference_type | One of:
| Only return differences of this type. |
parent_series | Link to a distro_series. | The parent series to consider. |
source_package_name_filter | Only return differences for packages matching this name. | |
status | One of:
| Only return differences of this status. |
Response contains an
application/json
representation of a
distro_series_difference 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. |
exact_match | Exact match Whether to filter name and version by exact matching. | |
name | Package or file name | |
One of:
| Return only items targeted to this pocket | |
status | One of:
| Package Upload Status Return only items that have this status. |
version | Package version |
Response contains an
application/json
representation of a
package_upload collection.
Get all parent DistroSeries.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getParentSeries |
Response contains an
application/json
representation of a
distro_series 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.
Returns the specification with the given name, for this target, or None.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSpecification | |
name | (required) | The name of the specification |
Response contains an
application/json
representation of a
specification.
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 entries in the translation import queue for this entity.
If one of both of 'import_status' or 'file_extension' are given, the returned entries are filtered based on those values.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTranslationImportQueueEntries | |
file_extension | Filename extension Show only entries with this filename suffix | |
import_status | One of:
| Status Show only entries with this status |
Response contains an
application/json
representation of a
translation_import_queue_entry collection.
Return statistics for translation templates in this series.
The return value is a list of dicts for each template in the series, each of which has this form:
{ "sourcepackage": ..., "translation_domain": ..., "name": ..., "total": ..., "enabled": ..., "languagepack": ..., "priority": ..., "date_last_updated": ..., }
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getTranslationTemplateStatistics |
Return an iterator over all its translation templates.
The returned templates are either obsolete or current.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTranslationTemplates |
Response contains an
application/json
representation of a
translation_template collection.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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.
Is user subscribed, directly or via a team, to bug mail?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: userHasBugSubscriptions |
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target. This initially has a single filter which will allow all notifications will be sent.
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 a bug subscription filter for this structure.
This method is used to create a new IBugSubscriptionFilter for the target. It will initially allow all notifications to be sent.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscriptionFilter | |
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 bug_subscription_filter.
Initialize this series from parents.
This method performs checks and then creates a job to populate the new distroseries.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: initDerivedDistroSeries |
|
archindep_archtag |
Architecture tag to build architecture-independent packages. |
|
architectures |
The list of architectures to copy to the derived distroseries. |
|
overlay_components |
The list of overlay components. |
|
overlay_pockets |
The list of overlay pockets. |
|
overlays |
The list of booleans indicating, for each parent, if the parent/child relationship should be an overlay. |
|
packagesets |
The list of packagesets to copy to the derived distroseries |
|
parents |
(required) |
The list of parents to derive from. |
rebuild |
If binaries will be copied to the derived distroseries. |
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.
This will delete all associated filters.
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 interface for a package difference between two distroseries.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
base_version |
(read-only) |
Base version The common base version of the package for differences with different versions in the parent and derived series. |
derived_series_link |
(read-only) Link to a distro_series. |
Derived series The distribution series which identifies the derived series with the difference. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
package_diff_status |
(read-only) One of:
|
Package diff status The status of the diff between the base version and the derived version. |
package_diff_url |
(read-only) |
Package diff url The url for the diff between the base version and the derived version. |
parent_package_diff_status |
(read-only) One of:
|
Parent package diff status The status of the diff between the base version and the parent version. |
parent_package_diff_url |
(read-only) |
Parent package diff url The url for the diff between the base version and the parent version. |
parent_series_link |
(read-only) Link to a distro_series. |
Parent series The distribution series which identifies the parent series with the difference. |
parent_source_version |
(read-only) |
Parent source version The version of the most recent source publishing in the parent 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. |
source_version |
(read-only) |
Source version The version of the most recent source publishing in the derived series. |
sourcepackagename |
(read-only) |
Source Package Name |
status |
(read-only) One of:
|
Distro series difference status. The current status of this difference. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Add a comment on this difference.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addComment |
|
comment |
(required) |
Comment text |
Blocklists this version or all versions of this source package and adds a comment on this difference.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: blocklist |
|
all |
All |
|
comment |
Comment text |
Requests IPackageDiffs for the derived and parent version.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: requestPackageDiffs |
Removes this difference from the blocklist and adds a comment on this difference.
The status will be updated based on the versions.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unblocklist |
|
comment |
Comment text |
A comment for a distroseries difference record.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
body_text |
(read-only) |
Comment text The comment text for the related distro series difference. |
comment_author_link |
(read-only) Link to a person. |
The author of the comment. |
comment_date |
(read-only) |
Comment date. |
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. |
source_package_name |
(read-only) |
Source package name Name of the source package that this comment is for. |
web_link |
(read-only) |
The canonical human-addressable web 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 object that stores the IPerson's emails.
https://api.staging.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. |
web_link |
(read-only) |
The canonical human-addressable web 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 document containing the answer to a commonly asked question.
The answer can be in the document itself or can be hosted on a separate web site and referred to by URL.
https://api.staging.launchpad.net/devel/<target.name>/+faq/<faq.id>
Key | Value | Description |
---|---|---|
content |
(writeable) |
Content The answer for this FAQ in plain text. You may choose to include a URL to an external FAQ. |
date_created |
(read-only) |
Created |
date_last_updated |
(read-only) |
Last Updated |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
FAQ Number The unique number identifying the FAQ in Launchpad. |
keywords |
(writeable) |
Keywords One or more terms that relate to this FAQ. |
last_updated_by_link |
(read-only) Link to a person. |
Last Updated By The last person who modified the document. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
target_link |
(read-only) Link to a faq_target. |
Target Product or distribution containing this FAQ. |
title |
(writeable) |
Title The title describing this FAQ, often a question. |
web_link |
(read-only) |
The canonical human-addressable web 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.
An object that can contain a FAQ document.
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. |
web_link |
(read-only) |
The canonical human-addressable web 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 reference in a Git repository.
https://api.staging.launchpad.net/devel/~<person.name>/<project.name>/+git/<repository.name>/+ref/<path>
or
/~<person.name>/<distribution.name>/+source/<source_package.name>/+git/<repository.name>/+ref/<path>
or
/~<person.name>/+git/<repository.name>/+ref/<path>
Key | Value | Description |
---|---|---|
commit_sha1 |
(read-only) |
Commit SHA-1 The full SHA-1 object name of the commit object referenced by this reference. |
dependent_landings_collection_link |
(read-only) Link to a branch_merge_proposal collection. |
Dependent landings A collection of the merge proposals that are dependent on this reference. |
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 reference is the target. |
landing_targets_collection_link |
(read-only) Link to a branch_merge_proposal collection. |
Landing targets A collection of the merge proposals where this reference is the source. |
path |
(read-only) |
Path The full path of this reference, e.g. refs/heads/master. |
recipes_collection_link |
(read-only) Link to a source_package_recipe collection. |
All recipes associated with the object. |
repository_link |
(read-only) Link to a git_repository. |
Repository The Git repository containing this reference. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Check a person's permissions on this reference.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: checkPermissions |
|
person |
(required) Link to a person. |
Person to check |
Get the access grants specific to this reference.
Other grants may apply via wildcard rules.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getGrants |
Return matching BranchMergeProposals.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMergeProposals | |
merged_revision_ids | ||
status | A list of merge proposal statuses to filter by. |
Response contains an
application/json
representation of a
branch_merge_proposal collection.
Create a new BranchMergeProposal with this reference as the source.
Both the merge_target and the merge_prerequisite, if it is there, must be references whose repositories have the same target as the source.
References in personal repositories cannot specify merge proposals.
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. | |
merge_prerequisite | Link to a git_ref. | |
merge_target | (required) Link to a git_ref. | |
needs_review | Needs review If True, the proposal needs review. Otherwise, it will be work in progress. | |
review_types | ||
reviewers |
On success, the response status will be 201 and the Location header will contain the link to the newly created branch_merge_proposal.
Set the access grants specific to this reference.
Other grants may apply via wildcard rules.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setGrants |
|
grants |
(required) |
Grants The new list of grants for this reference. For example: [ { "grantee_type": "Repository owner", "can_create": true, "can_push": true, "can_force_push": true }, { "grantee_type": "Person", "grantee_link": "/~example-person", "can_push": true } ] |
A Git repository.
https://api.staging.launchpad.net/devel/~<person.name>/<project.name>/+git/<repository.name>
or
/~<person.name>/<distribution.name>/+source/<source_package.name>/+git/<repository.name>
or
/~<person.name>/+git/<repository.name>
Key | Value | Description |
---|---|---|
branches_collection_link |
(read-only) Link to a git_ref collection. |
The branch references present in this repository. |
builder_constraints |
(writeable) |
Builder constraints Builder resource tags required by builds of this repository. |
code_import_link |
(writeable) Link to a code_import. |
The associated CodeImport, if any. |
date_created |
(read-only) |
Date created |
date_last_modified |
(read-only) |
Date last modified |
date_last_repacked |
(read-only) |
Date last repacked The date that this repository was last repacked. |
date_last_scanned |
(read-only) |
Date last scanned The date when pack statistics were last updated for this repository. |
default_branch |
(writeable) |
Default branch The full path to the default branch for this repository, e.g. refs/heads/master. |
dependent_landings_collection_link |
(read-only) Link to a branch_merge_proposal collection. |
Dependent landings A collection of the merge proposals that are dependent on this repository. |
description |
(writeable) |
Description A short description of this repository. |
display_name |
(read-only) |
Display name Display name of the repository. |
git_https_url |
(read-only) |
HTTPS URL An HTTPS URL for this repository, or None in the case of private repositories. |
git_identity |
(read-only) |
Git identity If this is the default repository for some target, then this is 'lp:' plus a shortcut version of the path via that target. Otherwise it is simply 'lp:' plus the unique name. |
git_ssh_url |
(read-only) |
SSH URL A git+ssh:// URL for this repository. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
ID |
information_type |
(writeable) One of:
|
Information type The type of information contained in this repository. |
landing_candidates_collection_link |
(read-only) Link to a branch_merge_proposal collection. |
Landing candidates A collection of the merge proposals where this repository is the target. |
landing_targets_collection_link |
(read-only) Link to a branch_merge_proposal collection. |
Landing targets A collection of the merge proposals where this repository is the source. |
loose_object_count |
(read-only) |
Loose object count The number of loose objects for this repository. |
name |
(writeable) |
Name The repository name. Keep very short, unique, and descriptive, because it will be used in URLs. |
owner_default |
(read-only) |
Owner default Whether this repository is the default for its owner and target. |
owner_link |
(writeable) Link to a person. |
Owner The owner of this Git repository. This controls who can modify the repository. |
pack_count |
(read-only) |
Pack count The number of packs for this repository. |
private |
(read-only) |
Private This repository is visible only to its subscribers. |
recipes_collection_link |
(read-only) Link to a source_package_recipe collection. |
All recipes associated with the object. |
refs_collection_link |
(read-only) Link to a git_ref collection. |
The references present in this repository. |
registrant_link |
(read-only) Link to a person. |
Registrant The person who registered this Git repository. |
repository_type |
(read-only) One of:
|
Repository type The way this repository is hosted: directly on Launchpad, or imported from somewhere else. |
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 repository is the person or exclusive team that is responsible for reviewing proposals and merging into this repository. |
self_link |
(read-only) |
The canonical link to this resource. |
subscribers_collection_link |
(read-only) Link to a person collection. |
Persons subscribed to this repository. |
subscriptions_collection_link |
(read-only) Link to a git_subscription collection. |
GitSubscriptions associated with this repository. |
target_default |
(read-only) |
Target default Whether this repository is the default for its target. |
target_link |
(writeable) Link to a git_target. |
Target The target of the repository. |
unique_name |
(read-only) |
Unique name Unique name of the repository, including the owner and project names. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
webhooks_collection_link |
(read-only) Link to a webhook collection. |
Webhooks for this target. |
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 repository be deleted in its current state?
A repository is considered deletable if it is not linked to any merge proposals.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canBeDeleted |
Check a person's permissions on some references in this repository.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: checkRefPermissions |
|
paths |
(required) |
Reference paths |
person |
(required) Link to a person. |
Person to check |
Return personal access tokens for this target.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getAccessTokens |
Response contains an
application/json
representation of a
access_token collection.
Return matching BranchMergeProposals.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getMergeProposals | |
merged_revision_ids | ||
status | A list of merge proposal statuses to filter by. |
Response contains an
application/json
representation of a
branch_merge_proposal collection.
Look up a single reference in this repository by path.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getRefByPath | |
path | (required) | A string to look up as a path. |
Response contains an
application/json
representation of a
git_ref.
Get the access rules for this repository.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getRules |
Retrieves the list of reports that exist for a commit.
Scopes: repository:build_status
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getStatusReports | |
commit_sha1 | (required) | The Git commit for which this report is built. |
Response contains an
application/json
representation of a
revision_status_report collection.
Return the GitSubscription for this person.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSubscription | |
person | (required) Link to a person. | The person to search for |
Response contains an
application/json
representation of a
git_subscription.
Return true if the reviewer is a trusted reviewer.
The reviewer is trusted if they either own the repository, or are in the team that owns the repository, or they are in the review team for the repository.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: isPersonTrustedReviewer |
|
reviewer |
(required) Link to a person. |
A person for which the reviewer status is in question. |
Trigger a gc run for a given git repository.
Raises Unauthorized if the repack was attempted by a person that is not an admin or a registry expert.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: collectGarbage |
Fork this repository to the given user's account.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: fork | |
new_owner | (required) Link to a person. | The person who will own the forked repository. |
Response contains an
application/json
representation of a
git_repository.
Issue an access token for this repository.
Access tokens can be used to push to this repository over HTTPS. They are only valid for a single repository, and have a short expiry period (currently fixed at one week), so at the moment they are only suitable in some limited situations. By default they are currently implemented as macaroons.
If description and scopes are both given, then issue a personal access token instead, either non-expiring or with an expiry time given by date_expires. These may be used in webservice API requests for certain methods on this repository.
This interface is experimental, and may be changed or removed without notice.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: issueAccessToken |
|
date_expires |
When the token should expire. |
|
description |
A short description of the token. |
|
scopes |
A list of scopes to be granted by this token. |
Create a new status report.
Scopes: repository:build_status
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newStatusReport | |
commit_sha1 | (required) | The Git commit for which this report is built. |
result | One of:
| Result of the report |
result_summary | A short summary of the result. | |
title | (required) | A short title for the report. |
url | URL The external url of the report. |
On success, the response status will be 201 and the Location header will contain the link to the newly created revision_status_report.
Create a new webhook.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newWebhook | |
active | Active Deliver details of subscribed events. | |
delivery_url | (required) | Delivery URL |
event_types | (required) | Event types |
secret | Secret An optional string used to sign delivery bodies with HMAC-SHA1 in the X-Hub-Signature header. This must be less than 200 bytes long. |
On success, the response status will be 201 and the Location header will contain the link to the newly created webhook.
Trigger a repack repository operation.
Raises Unauthorized if the repack was attempted by a person that is not an admin or a registry expert.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: repackRepository |
Force a rescan of this repository as a celery task.
This may be helpful in cases where a previous scan crashed.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: rescan |
Set the access rules for this repository.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setRules |
|
rules |
(required) |
Rules The new list of rules for this repository. For example: [ { "ref_pattern": "refs/heads/*", "grants": [ { "grantee_type": "Repository owner", "can_create": true, "can_push": true, "can_force_push": true } ] }, { "ref_pattern": "refs/heads/stable/*", "grants": [ { "grantee_type": "Person", "grantee_link": "/~example-stable-team", "can_create": true, "can_push": true } ] } ] |
Subscribe this person to the repository.
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
git_subscription.
Remove the person's subscription to this repository.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unsubscribe |
|
person |
(required) Link to a person. |
The person to unsubscribe |
The relationship between a person and a Git repository.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
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 repository details are changed such as lifecycle status and name. Revision notifications are generated when new revisions are found. |
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 repository. 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. |
repository_link |
(read-only) Link to a git_repository. |
Repository ID |
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. |
subscribed_by_link |
(read-only) Link to a person. |
Subscribed by The person who created this subscription. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Can the user unsubscribe the subscriber from the repository?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canBeUnsubscribedByUser |
An object that has related Git repositories.
A project contains Git repositories, a source package on a distribution contains Git repositories, and a person contains "personal" Git repositories.
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.staging.launchpad.net/devel/<person.name>/+gpg-keys/<fingerprint>
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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. |
web_link |
(read-only) |
The canonical human-addressable web 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 person's nickname on an IRC network.
https://api.staging.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. |
web_link |
(read-only) |
The canonical human-addressable web 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.staging.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) |
New 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. |
web_link |
(read-only) |
The canonical human-addressable web 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.staging.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. |
web_link |
(read-only) |
The canonical human-addressable web 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 buildable live filesystem image.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
builds_collection_link |
(read-only) Link to a livefs_build collection. |
All builds of this live filesystem. All builds of this live filesystem, sorted in descending order of finishing (or starting if not completed successfully). |
completed_builds_collection_link |
(read-only) Link to a livefs_build collection. |
Completed builds of this live filesystem. Completed builds of this live filesystem, sorted in descending order of finishing. |
date_created |
(read-only) |
Date created |
date_last_modified |
(read-only) |
Date last modified |
distro_series_link |
(writeable) Link to a distro_series. |
Distro Series The series for which the image should be built. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
ID |
keep_binary_files_days |
(writeable) |
Binary file retention period Keep binary files attached to builds of this live filesystem for at least this many days. If unset, disable pruning. |
metadata |
(writeable) |
A dict of data about the image. Entries here will be passed to the builder. |
name |
(writeable) |
Name The name of the live filesystem image. |
owner_link |
(writeable) Link to a person. |
Owner The owner of this live filesystem image. |
pending_builds_collection_link |
(read-only) Link to a livefs_build collection. |
Pending builds of this live filesystem. Pending builds of this live filesystem, sorted in descending order of creation. |
registrant_link |
(read-only) Link to a person. |
Registrant The person who registered this live filesystem image. |
relative_build_score |
(writeable) |
Relative build score A delta to apply to all build scores for the live filesystem. Builds with a higher score will build sooner. |
require_virtualized |
(writeable) |
Require virtualized builders Only build this live filesystem image on virtual builders. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
webhooks_collection_link |
(read-only) Link to a webhook collection. |
Webhooks for this target. |
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.
Create a new webhook.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newWebhook | |
active | Active Deliver details of subscribed events. | |
delivery_url | (required) | Delivery URL |
event_types | (required) | Event types |
secret | Secret An optional string used to sign delivery bodies with HMAC-SHA1 in the X-Hub-Signature header. This must be less than 200 bytes long. |
On success, the response status will be 201 and the Location header will contain the link to the newly created webhook.
Request that the live filesystem be built.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: requestBuild | |
archive | (required) Link to a archive. | |
distro_arch_series | (required) Link to a distro_arch_series. | |
metadata_override | A dict of data about the image. | |
(required) One of:
| ||
unique_key | A unique key for this build, if required. | |
version | A version string for this build. |
On success, the response status will be 201 and the Location header will contain the link to the newly created livefs_build.
Build information for live filesystem builds.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
archive_link |
(read-only) Link to a archive. |
The archive from which to build the live filesystem. |
build_log_url |
(writeable) |
Build Log URL A URL for the build log. None if there is no log available. |
builder_link |
(read-only) Link to a builder. |
Builder The builder assigned to this job. |
buildstate |
(writeable) One of:
|
Status The current status of the job. |
can_be_cancelled |
(read-only) |
Can be cancelled Whether this build record can be cancelled. |
can_be_rescored |
(read-only) |
Can be rescored Whether this build record can be rescored manually. |
can_be_retried |
(read-only) |
Can be retried Whether this build record can be retried. |
date_first_dispatched |
(read-only) |
Date finished The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts. |
date_started |
(read-only) |
Date started The timestamp when the build farm job was started. |
datebuilt |
(read-only) |
Date finished The timestamp when the build farm job was finished. |
datecreated |
(read-only) |
Date created The timestamp when the build farm job 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. |
distro_arch_series_link |
(read-only) Link to a distro_arch_series. |
The series and architecture for which to build. |
distro_series_link |
(writeable) Link to a distro_series. |
Distribution series Shortcut for its distribution series. |
duration |
(read-only) |
Duration Duration interval, calculated when the result gets collected. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
livefs_link |
(read-only) Link to a livefs. |
The live filesystem to build. |
metadata_override |
(read-only) |
A dict of data about the image; this will be merged into the metadata dict for the live filesystem. |
|
(read-only) One of:
|
The pocket for which to build. |
requester_link |
(read-only) Link to a person. |
The person who requested this build. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
score |
(read-only) |
Score of the related build farm job (if any). |
self_link |
(read-only) |
The canonical link to this resource. |
title |
(writeable) |
Title |
unique_key |
(read-only) |
An optional unique key; if set, this identifies a class of builds for this live filesystem. |
upload_log_url |
(writeable) |
Upload Log URL A URL for failed upload logs.Will be None if there was no failure. |
version |
(read-only) |
A version string for this build. |
web_link |
(read-only) |
The canonical human-addressable web 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.
URLs for all the files produced by this build.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getFileUrls |
Cancel the build if it is either pending or in progress.
Check the can_be_cancelled property prior to calling this method to find out if cancelling the build is possible.
If the build is in progress, it is marked as CANCELLING until the buildd manager terminates the build and marks it CANCELLED. If the build is not in progress, it is marked CANCELLED immediately and is removed from the build queue.
If the build is not in a cancellable state, this method is a no-op.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: cancel |
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 Message.
https://api.staging.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 |
(read-only) |
All the text/plain chunks joined together as a unicode string. |
date_created |
(read-only) |
Date Created |
date_deleted |
(read-only) |
When this message was deleted |
date_last_edited |
(read-only) |
When this message was last edited |
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. |
revisions_collection_link |
(read-only) Link to a message_revision collection. |
Message revision history Revision history of this message, sorted in ascending order. |
self_link |
(read-only) |
The canonical link to this resource. |
subject |
(read-only) |
Subject |
visible |
(read-only) |
Message visibility. Whether or not the message is visible. |
web_link |
(read-only) |
The canonical human-addressable web 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 None because messages are not threaded over the API.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getAPIParent |
Deletes this message content.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deleteContent |
Edit the content of this message, generating a new message revision with the old content.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: editContent |
|
new_content |
(required) |
Message content The new message content string |
A historical revision of a IMessage.
https://api.staging.launchpad.net/devel/<message-url>/revisions/<index>
Key | Value | Description |
---|---|---|
content |
(read-only) |
The message at the given revision |
date_created |
(read-only) |
The time when this message revision was created. |
date_created_display |
(read-only) |
The time when this message revision was created, rendered in the user's timezone for the web UI. |
date_deleted |
(read-only) |
The time when this message revision was created. |
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. |
revision |
(read-only) |
Revision number |
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.
Deletes this MessageRevision content.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deleteContent |
Actual interface for milestones.
https://api.staging.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) |
Active Whether or not this object should be shown in web forms for 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, distribution, or project group for this milestone. |
title |
(read-only) |
A context title for pages. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Return the milestone tags in alphabetical order.
See above the IMilestone.setTags docstring for an explanation of why this is not a property.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getTags |
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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.
Is user subscribed, directly or via a team, to bug mail?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: userHasBugSubscriptions |
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target. This initially has a single filter which will allow all notifications will be sent.
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 a bug subscription filter for this structure.
This method is used to create a new IBugSubscriptionFilter for the target. It will initially allow all notifications to be sent.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscriptionFilter | |
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 bug_subscription_filter.
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.
This will delete all associated filters.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeBugSubscription |
|
subscriber |
Link to a person. |
Person to unsubscribe. If omitted, the requesting user will be unsubscribed. |
Set the milestone tags.
Note that this is not a property because, while the current user is needed to store tags metadata, it is desirable to avoid using thread locals to get the current request in models.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setTags |
|
tags |
(required) |
Tags for this milestone Space-separated keywords for classifying this milestone. |
An entity that has a translation import queue.
Examples include ProductSeries, SourcePackage, DistroSeries, and Person.
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. |
web_link |
(read-only) |
The canonical human-addressable web 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 entries in the translation import queue for this entity.
If one of both of 'import_status' or 'file_extension' are given, the returned entries are filtered based on those values.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTranslationImportQueueEntries | |
file_extension | Filename extension Show only entries with this filename suffix | |
import_status | One of:
| Status Show only entries with this status |
Response contains an
application/json
representation of a
translation_import_queue_entry collection.
A project containing Open Container Initiative recipes.
https://api.staging.launchpad.net/devel/<distribution.name>/+oci/<oci_project.name>
Key | Value | Description |
---|---|---|
bug_reported_acknowledgement |
(writeable) |
After reporting a bug, I can expect the following. This message of acknowledgement will be displayed to anyone after reporting a bug. |
bug_reporting_guidelines |
(writeable) |
Helpful guidelines for reporting a bug These guidelines will be shown to everyone reporting a bug and should be text or a bulleted list with your particular requirements, if any. |
date_created |
(read-only) |
Date created |
date_last_modified |
(read-only) |
Date last modified |
description |
(writeable) |
The description for this OCI project. |
display_name |
(read-only) |
Display name for this OCI project. |
distribution_link |
(writeable) Link to a distribution. |
The distribution that this OCI project is associated with. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
Name The name of this OCI project. |
official_bug_tags |
(read-only) |
Official Bug Tags The list of bug tags defined as official. |
project_link |
(writeable) Link to a project. |
The project that this OCI project is associated with. |
registrant_link |
(read-only) Link to a person. |
Registrant The person that registered this project. |
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_collection_link |
(read-only) Link to a oci_project_series collection. |
Series inside this OCI project. |
translations_usage |
(writeable) One of:
|
Type of service for translations application Where does this pillar do translations? |
web_link |
(read-only) |
The canonical human-addressable web 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.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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.
Is user subscribed, directly or via a team, to bug mail?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: userHasBugSubscriptions |
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target. This initially has a single filter which will allow all notifications will be sent.
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 a bug subscription filter for this structure.
This method is used to create a new IBugSubscriptionFilter for the target. It will initially allow all notifications to be sent.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscriptionFilter | |
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 bug_subscription_filter.
Create an IOCIRecipe for this project.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newRecipe | |
build_args | Build ARGs to be used when building the recipe A dict of VARIABLE=VALUE to be used as ARG when building the recipe. | |
build_daily | Should this recipe be built daily?. | |
build_file | (required) | Build file path. The relative path to the file within this recipe's branch that defines how to build the recipe. |
description | Description for this recipe. A short description of this recipe. | |
git_ref | (required) Link to a git_ref. | Git branch. |
name | (required) | OCI Recipe name. The name of the new OCI Recipe. |
owner | (required) Link to a person. | Person or team that owns the new OCI Recipe. |
On success, the response status will be 201 and the Location header will contain the link to the newly created oci_recipe.
Remove a subscription to bugs from this structure.
This will delete all associated filters.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeBugSubscription |
|
subscriber |
Link to a person. |
Person to unsubscribe. If omitted, the requesting user will be unsubscribed. |
Change whether an OCI Recipe is official or not for this project.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setOfficialRecipeStatus |
|
recipe |
(required) Link to a oci_recipe. |
OCI recipe The OCI recipe to change the status of. |
status |
(required) |
Official status Whether the OCI recipe should be official or not. |
A series of an Open Container Initiative project.
This is used to allow tracking bugs against multiple versions of images.
https://api.staging.launchpad.net/devel/<distribution.name>/+oci/<oci_project.name>/+series/<oci_project_series.name>
Key | Value | Description |
---|---|---|
date_created |
(read-only) |
Date created The date on which this series was created in Launchpad. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
Name The name of this series. |
oci_project_link |
(read-only) Link to a oci_project. |
The OCI project that this series belongs to. |
registrant_link |
(read-only) Link to a person. |
Registrant The person that registered this 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 |
(writeable) One of:
|
Status |
summary |
(writeable) |
Summary A brief summary of this series. |
web_link |
(read-only) |
The canonical human-addressable web 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 rule for pushing builds of an OCI recipe to a registry.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
image_name |
(writeable) |
Image name The intended name of the image on the registry. |
registry_url |
(read-only) |
Registry URL The registry URL for the credentials of this push rule |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
username |
(read-only) |
Username The username for the credentials, if available. |
web_link |
(read-only) |
The canonical human-addressable web 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 recipe for building Open Container Initiative images.
https://api.staging.launchpad.net/devel/~<person.name>/<distribution.name>/+oci/<oci_project.name>/+recipe/<oci_recipe.name>
Key | Value | Description |
---|---|---|
allow_internet |
(writeable) |
Allow external network access Allow access to external network resources via a proxy. Resources hosted on Launchpad itself are always allowed. |
build_args |
(writeable) |
Build ARG variables The dictionary of ARG variables to be used when building this recipe. |
build_daily |
(writeable) |
Build daily If True, this recipe should be built daily. |
build_file |
(writeable) |
Build file path The relative path to the file within this recipe's branch that defines how to build the recipe. |
build_path |
(writeable) |
Build directory context Directory to use for build context and OCIRecipe.build_file location. |
date_created |
(read-only) |
Date created |
date_last_modified |
(read-only) |
Date last modified |
description |
(writeable) |
Description A short description of this recipe. |
git_ref_link |
(writeable) Link to a git_ref. |
Git branch The Git branch containing a Dockerfile at the location defined by the build_file attribute. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
image_name |
(writeable) |
Image name Image name to use on upload to registry. Defaults to recipe name if not set. Only used when Distribution credentials are set. |
information_type |
(writeable) One of:
|
Information type The type of information contained in this OCI recipe. |
name |
(writeable) |
Name The name of this recipe. |
oci_project_link |
(read-only) Link to a oci_project. |
OCI project The OCI project that this recipe is for. |
owner_link |
(writeable) Link to a person. |
Owner The owner of this OCI recipe. |
processors_collection_link |
(read-only) Link to a processor collection. |
Processors The architectures for which the OCI recipe should be built. |
push_rules_collection_link |
(read-only) Link to a oci_push_rule collection. |
Push rules for this OCI recipe. All of the push rules for registry upload that apply to this recipe. |
registrant_link |
(read-only) Link to a person. |
Registrant The user who registered 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. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
webhooks_collection_link |
(read-only) Link to a webhook collection. |
Webhooks for this target. |
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 a new rule for pushing builds of this recipe to a registry.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newPushRule | |
credentials | (required) | Registry credentials The credentials to use in pushing the image to the registry |
credentials_owner | Link to a person. | Registry credentials owner |
image_name | (required) | Image name Name of the image to push to on the registry |
registry_url | (required) | Registry URL URL for the target registry |
On success, the response status will be 201 and the Location header will contain the link to the newly created oci_push_rule.
Create a new webhook.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newWebhook | |
active | Active Deliver details of subscribed events. | |
delivery_url | (required) | Delivery URL |
event_types | (required) | Event types |
secret | Secret An optional string used to sign delivery bodies with HMAC-SHA1 in the X-Hub-Signature header. This must be less than 200 bytes long. |
On success, the response status will be 201 and the Location header will contain the link to the newly created webhook.
Request that the OCI recipe is built for all available architectures.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: requestBuilds |
On success, the response status will be 201 and the Location header will contain the link to the newly created oci_recipe_build_request.
Set the architectures for which the recipe should be built.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setProcessors |
|
processors |
(required) |
A build record for an OCI recipe.
https://api.staging.launchpad.net/devel/~<person.name>/<distribution.name>/+oci/<oci_project.name>/+recipe/<oci_recipe.name>/+build/<oci_recipe_build.id>
Key | Value | Description |
---|---|---|
arch_tag |
(read-only) |
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. |
builder_link |
(read-only) Link to a builder. |
Builder The builder assigned to this job. |
buildstate |
(writeable) One of:
|
Status The current status of the job. |
can_be_cancelled |
(read-only) |
Can be cancelled Whether this build record can be cancelled. |
can_be_rescored |
(read-only) |
Can be rescored Whether this build record can be rescored manually. |
can_be_retried |
(read-only) |
Can be retried Whether this build record can be retried. |
date |
(read-only) |
The date when the build completed or is estimated to complete. |
date_first_dispatched |
(read-only) |
Date finished The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts. |
date_started |
(read-only) |
Date started The timestamp when the build farm job was started. |
datebuilt |
(read-only) |
Date finished The timestamp when the build farm job was finished. |
datecreated |
(read-only) |
Date created The timestamp when the build farm job 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. |
distro_arch_series_link |
(read-only) Link to a distro_arch_series. |
The series and architecture for which to build. |
distro_series_link |
(writeable) Link to a distro_series. |
Distribution series Shortcut for its distribution series. |
duration |
(read-only) |
Duration Duration interval, calculated when the result gets collected. |
estimate |
(read-only) |
If true, the date value is an estimate. |
eta |
(read-only) |
The datetime when the build job is estimated to complete. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
|
(writeable) One of:
|
The build targeted pocket. |
recipe_link |
(read-only) Link to a oci_recipe. |
The OCI recipe to build. |
registry_upload_error_summary |
(read-only) |
Registry upload error summary The error summary, if any, from the last attempt to upload this build to a registry. |
registry_upload_errors |
(read-only) |
Detailed registry upload errors A list of errors, as described in https://docs.docker.com/registry/spec/api/#errors, from the last attempt to upload this build to a registry. |
registry_upload_status |
(writeable) One of:
|
Registry upload status |
requester_link |
(read-only) Link to a person. |
Requester The person who requested this OCI recipe build. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
score |
(read-only) |
Score of the related build farm job (if any). |
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
URLs for all the files produced by this build.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getFileUrls |
Cancel the build if it is either pending or in progress.
Check the can_be_cancelled property prior to calling this method to find out if cancelling the build is possible.
If the build is in progress, it is marked as CANCELLING until the buildd manager terminates the build and marks it CANCELLED. If the build is not in progress, it is marked CANCELLED immediately and is removed from the build queue.
If the build is not in a cancellable state, this method is a no-op.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: cancel |
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 |
Schedule an upload of this build to each configured registry.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: scheduleRegistryUpload |
A request to build an OCI Recipe.
https://api.staging.launchpad.net/devel/~<person.name>/<distribution.name>/+oci/<oci_project.name>/+recipe/<oci_recipe.name>/+build-request/<build_request.id>
Key | Value | Description |
---|---|---|
builds_collection_link |
(read-only) Link to a oci_recipe_build collection. |
Builds produced by this request |
date_finished |
(read-only) |
The time when this request finished |
date_requested |
(read-only) |
The time when this request was made |
error_message |
(read-only) |
Error message |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
recipe_link |
(read-only) Link to a oci_recipe. |
OCI 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. |
status |
(read-only) One of:
|
Status |
web_link |
(read-only) |
The canonical human-addressable web 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.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
archive_link |
(read-only) Link to a archive. |
Archive The archive for this upload. |
changes_file_url |
(read-only) |
Changes file URL Librarian URL for the changes file associated with this upload. Will be None if the upload was copied from another series. |
component_name |
(read-only) |
Source package component name |
contains_build |
(read-only) |
Whether or not this upload contains binaries |
contains_copy |
(read-only) |
Whether or not this upload contains a copy from another series. |
contains_source |
(read-only) |
Whether or not this upload contains sources |
copy_source_archive_link |
(read-only) Link to a archive. |
Copy source archive The archive from which this package was copied, if any. |
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) |
This item's displayable source package version |
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. |
id |
(read-only) |
ID |
logs_collection_link |
(read-only) Link to a package_upload_log collection. |
The package upload logs |
package_name |
(read-only) |
Name of the uploaded source package |
package_version |
(read-only) |
Source package version |
|
(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. |
section_name |
(read-only) |
Source package section name |
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.
URLs for all the binary files attached to this upload.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: binaryFileUrls |
URLs for all the custom files attached to this upload.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: customFileUrls |
The properties of the binaries associated with this queue item.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getBinaryProperties |
URLs for all the source files attached to this upload.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: sourceFileUrls |
Call setAccepted, do a flush, and send notification email.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: acceptFromQueue |
Override binary packages in a binary queue item.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: overrideBinaries |
|
changes |
(required) |
A sequence of changes to apply. Each item may have a 'name' item which specifies the binary package name to override; otherwise, the change applies to all binaries in the upload. It may also have 'component', 'section', and 'priority' items which replace the corresponding existing one in the upload's overridden binaries. |
Override the source package contained in this queue item.
The override values may be None, in which case they are not changed.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: overrideSource |
|
new_component |
The new component name. |
|
new_section |
The new section name. |
Call setRejected, do a flush, and send notification email.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: rejectFromQueue |
|
comment |
Rejection comment |
A log entry recording a change in a package upload's status.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
comment |
(read-only) |
User's comment about this change. |
date_created |
(read-only) |
When this action happened. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
new_status |
(read-only) One of:
|
New status. |
old_status |
(read-only) One of:
|
Old status. |
package_upload_link |
(read-only) Link to a package_upload. |
The package upload that generated this log |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
reviewer_link |
(read-only) Link to a person. |
Who did this action. |
self_link |
(read-only) |
The canonical link to this resource. |
web_link |
(read-only) |
The canonical human-addressable web 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.
An interface for package sets.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
date_created |
(read-only) |
Date Created The creation date/time for the package set at hand. |
description |
(writeable) |
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. |
id |
(read-only) |
ID |
name |
(writeable) |
Valid package set name |
owner_link |
(writeable) Link to a person. |
Person The person who owns this package set. |
relative_build_score |
(writeable) |
Build score Build score bonus for packages in 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 other package sets in this set's PackagesetGroup.
Returns all package sets that are related to this one, but not this one itself.
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. |
A Person.
https://api.staging.launchpad.net/devel/~<name>
Key | Value | Description |
---|---|---|
account_status |
(read-only) One of:
|
The status of this person's account |
account_status_history |
(read-only) |
Account status history |
admins_collection_link |
(read-only) Link to a person collection. |
List of this team's admins. |
all_specifications_collection_link |
(read-only) Link to a specification collection. |
All specifications A list of all specifications, regardless of status or approval or completion, for this object. |
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 emails of this person. Confirmed emails are the ones in the VALIDATED state |
date_created |
(read-only) |
Date Created |
deactivated_members_collection_link |
(read-only) Link to a person collection. |
Former members of the team. |
description |
(writeable) |
Description Details about interests and goals. Use plain text, paragraphs are preserved and URLs are linked. |
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. |
Expired members of the team. |
gpg_keys_collection_link |
(read-only) Link to a gpg_key collection. |
List of valid OpenPGP keys ordered by ID |
hide_email_addresses |
(writeable) |
Hide my email addresses from other Launchpad users |
homepage_content |
(writeable) |
Homepage Content Obsolete. Use description. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
ID Internal immutable identifier for this person. Only visible by privileged users. |
invited_members_collection_link |
(read-only) Link to a person collection. |
Other teams which have been invited to become members of this team. |
irc_nicknames_collection_link |
(read-only) Link to a irc_id collection. |
List of IRC nicknames of this Person. |
is_probationary |
(read-only) |
Is this a probationary user? |
is_team |
(read-only) |
Is this object a team? |
is_ubuntu_coc_signer |
(read-only) |
Signed Ubuntu Code of Conduct |
is_valid |
(read-only) |
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 |
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. |
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 direct 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 Team or 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. |
People who have applied to join the team. |
recipes_collection_link |
(read-only) Link to a source_package_recipe collection. |
All recipes associated with the object. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
social_accounts_collection_link |
(read-only) Link to a social_account collection. |
List of Social Accounts of this Person. |
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". |
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_owner_link |
(writeable) Link to a person. |
Team Owner |
time_zone |
(read-only) |
The time zone of this object. |
valid_specifications_collection_link |
(read-only) Link to a specification collection. |
Valid specifications All specifications that are not obsolete. When called from an ISpecificationGoal it will also exclude the ones that have not been accepted for that goal |
visibility |
(writeable) One of:
|
Visibility Anyone can see a public team's data. Only team members can see private team data. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
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 |
Return (private) archives subscription for this person.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getArchiveSubscriptions |
Response contains an
application/json
representation of a
archive_subscriber collection.
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 packages for which this person is a bug subscriber.
Returns a list of IDistributionSourcePackage's, ordered alphabetically (A to Z) by name.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBugSubscriberPackages |
Response contains an
application/json
representation of a
distribution_source_package collection.
Return a list of IQuestionTargets that a person is subscribed to.
This will return IQuestionTargets that the person is registered as an answer contact because they subscribed themselves.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getDirectAnswerQuestionTargets |
Response contains an
application/json
representation of a
question_target 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.
Projects owned by this person or teams to which they belong.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getOwnedProjects |
Response contains an
application/json
representation of a
project collection.
Return the teams that this person owns.
The iterator includes the teams that the user owns, but it not a member of.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getOwnedTeams |
Response contains an
application/json
representation of a
team collection.
Return a PPA with the given name if it exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPPAByName | |
distribution | Link to a distribution. | |
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.
Return Social Accounts associated to the user.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getSocialAccountsByPlatform |
|
platform |
(required) One of:
|
Social Platform Type |
Return a list of IQuestionTargets that are indirect subscriptions.
This will return IQuestionTargets that the person or team is registered as an answer contact because of their membership in a team.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTeamAnswerQuestionTargets |
Response contains an
application/json
representation of a
question_target collection.
Return entries in the translation import queue for this entity.
If one of both of 'import_status' or 'file_extension' are given, the returned entries are filtered based on those values.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTranslationImportQueueEntries | |
file_extension | Filename extension Show only entries with this filename suffix | |
import_status | One of:
| Status Show only entries with this status |
Response contains an
application/json
representation of a
translation_import_queue_entry collection.
Search the person's questions.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchQuestions | |
language | Language | |
needs_attention | Needs attentions from | |
participation | One of:
| Participation |
search_text | Search text | |
sort | One of:
| Sort |
status | Status |
Response contains an
application/json
representation of a
question collection.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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 a language to this person's preferences.
If the given language is one of the user's preferred languages already, nothing will happen.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addLanguage |
|
language |
(required) Link to a language. |
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 PPA.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createPPA | |
description | ||
displayname | ||
distribution | Link to a distribution. | |
name | ||
private | ||
suppress_subscription_notifications |
On success, the response status will be 201 and the Location header will contain the link to the newly created archive.
Create a SourcePackageRecipe owned by this person.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createRecipe | |
build_daily | ||
daily_build_archive | Link to a archive. | |
description | (required) | |
distroseries | (required) | |
name | (required) | |
recipe_text | (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 |
Get a text line that is suitable to be used for a sources.list entry.
It will create a new IArchiveAuthToken if one doesn't already exist.
It raises Unauthorized if the context user does not have a valid subscription for the target archive or the caller is not context user itself.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getArchiveSubscriptionURL |
|
archive |
(required) Link to a archive. |
Join the given team if its membership_policy 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.
This is a convenience method for retractTeamMembership() that allows a user to leave the given team, or to cancel a PENDING membership request.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: leave |
|
team |
(required) Link to a person. |
Team |
Remove a language from this person's preferences.
If the given language is not present, nothing will happen.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeLanguage |
|
language |
(required) Link to a language. |
Retract this team's membership in the given team.
If there's a membership entry for this team on the given team and its status is either APPROVED, ADMIN, PENDING, or INVITED, the status is changed and the relevant entries in TeamParticipation.
APPROVED and ADMIN status are changed to DEACTIVATED. PENDING status is changed to DECLINED. INVITED status is changes to INVITATION_DECLINED.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: retractTeamMembership |
|
comment |
||
team |
(required) Link to a person. |
Team |
Set the status of this person's account.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setAccountStatus |
|
comment |
(required) |
Status change comment |
status |
(required) One of:
|
The status of this account |
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. |
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.staging.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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
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.staging.launchpad.net/devel/pillars
Key | Value | Description |
---|---|---|
featured_pillars_collection_link |
(read-only) Link to a pillar collection. |
Projects, project groups, and distributions that are featured on the site. |
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. |
web_link |
(read-only) |
The canonical human-addressable web 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 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.
A poll for a given proposition in a team.
https://api.staging.launchpad.net/devel/~<team.name>/+poll/<poll.name>
Key | Value | Description |
---|---|---|
allowspoilt |
(writeable) |
Users can spoil their votes? Allow users to leave the ballot blank (i.e. cast a vote for "None of the above") |
datecloses |
(writeable) |
The date and time when this poll closes |
dateopens |
(writeable) |
The date and time when this poll opens |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
The unique name of this poll A short unique name, beginning with a lower-case letter or number, and containing only letters, numbers, dots, hyphens, or plus signs. |
proposition |
(writeable) |
The proposition that is going to be voted |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
secrecy |
(writeable) One of:
|
The secrecy of the Poll |
self_link |
(read-only) |
The canonical link to this resource. |
team_link |
(read-only) Link to a team. |
The team that this poll refers to. |
title |
(writeable) |
The title of this poll |
type |
(writeable) One of:
|
The type of this poll |
web_link |
(read-only) |
The canonical human-addressable web 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.staging.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. |
date_created |
(read-only) |
Date Created When this diff was created. |
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. |
id |
(read-only) |
DB ID The tracking number for this diff. |
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. |
title |
(read-only) |
Title PreviewDiff title. |
web_link |
(read-only) |
The canonical human-addressable web 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 Storm Processor Interface
https://api.staging.launchpad.net/devel/+processors/<processor.name>
Key | Value | Description |
---|---|---|
build_by_default |
(read-only) |
Whether this processor is enabled on archives by default. |
description |
(read-only) |
Description The Processor Description |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(read-only) |
Name The Processor Name |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
restricted |
(read-only) |
Whether this processor is restricted. |
self_link |
(read-only) |
The canonical link to this resource. |
supports_nonvirtualized |
(read-only) |
Supports non-virtualized builds Whether the processor has non-virtualized builders. If not, all builds for this processor will build on virtualized builders, even for non-virtualized archives. |
supports_virtualized |
(read-only) |
Supports virtualized builds Whether the processor has virtualized builders. If not, archives that require virtualized builds won't build on this processor. |
title |
(read-only) |
Title The Processor 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 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.staging.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. |
all_specifications_collection_link |
(read-only) Link to a specification collection. |
All specifications A list of all specifications, regardless of status or approval or completion, for this object. |
branch_sharing_policy |
(writeable) One of:
|
Branch sharing policy Sharing policy for this project's branches. |
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_reported_acknowledgement |
(writeable) |
After reporting a bug, I can expect the following. This message of acknowledgement will be displayed to anyone after reporting a bug. |
bug_reporting_guidelines |
(writeable) |
Helpful guidelines for reporting a bug These guidelines will be shown to everyone reporting a bug and should be text or a bulleted list with your particular requirements, if any. |
bug_sharing_policy |
(writeable) One of:
|
Bug sharing policy Sharing policy for this project's bugs. |
bug_supervisor_link |
(writeable) Link to a person. |
Bug Supervisor The Launchpad id of the person or team (preferred) responsible for bug management. |
bug_tracker_link |
(writeable) Link to a bug_tracker. |
Bugs are tracked |
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. |
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 The name of the project as it would appear in a paragraph. |
download_url |
(writeable) |
Download URL The full URL where downloads for this project are located, if available. Please include the http:// |
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 The Freshmeat project name for this project, if it is in freshmeat. [DEPRECATED] |
homepage_url |
(writeable) |
Homepage URL The project 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. The icon will be displayed next to the project name everywhere in Launchpad that we refer to the project and link to it. |
information_type |
(writeable) One of:
|
Information Type The type of data contained in this item. |
is_permitted |
(read-only) |
Is Permitted Whether the project's licensing qualifies for free hosting or the project has an up-to-date subscription. |
license_approved |
(writeable) |
Licence approved The project is legitimate and its licence appears valid. Not applicable to 'Other/Proprietary'. |
license_info |
(writeable) |
Description of additional licences Description of licences that do not appear in the list above. |
licenses |
(writeable) |
Licences |
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_answers |
(writeable) |
People can ask questions in Launchpad Answers |
official_blueprints |
(writeable) |
This project uses blueprints |
official_bug_tags |
(writeable) |
Official Bug Tags The list of bug tags defined as official. |
official_bugs |
(writeable) |
Bugs in this project are tracked in Launchpad |
official_codehosting |
(writeable) |
Code for this project is published in Bazaar branches on Launchpad |
owner_link |
(writeable) Link to a person. |
Maintainer The restricted team, moderated team, or person who maintains the project information in Launchpad. |
private |
(read-only) |
Product is confidential This product is visible only to those with access grants. |
programming_language |
(writeable) |
Programming Languages A comma delimited list of programming languages used for this project. |
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. |
project_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. |
qualifies_for_free_hosting |
(read-only) |
Qualifies for free hosting Whether the project's licensing qualifies it for free use of launchpad. |
recipes_collection_link |
(read-only) Link to a source_package_recipe collection. |
All recipes associated with the object. |
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 bug tracker project id Some bug trackers host multiple projects at the same URL and require an identifier for the specific project. |
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 licence, editable only by reviewers (Admins and Commercial Admins). |
screenshots_url |
(writeable) |
Screenshots URL The full URL for screenshots of this project, if available. Please include the http:// |
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 The SourceForge project name for this project, if it is in sourceforge. |
specification_sharing_policy |
(writeable) One of:
|
Blueprint sharing policy Sharing policy for this project's specifications. |
summary |
(writeable) |
Summary A short paragraph to introduce the project's work. |
title |
(read-only) |
Title The project title. Should be just a few words. |
translation_focus_link |
(writeable) Link to a project_series. |
Translation focus Project series that translators should focus on. |
translationgroup_link |
(writeable) Link to a translation_group. |
Translation group The translation group that helps review translations for this project or distribution. The group's role depends on the permissions policy selected below. |
translationpermission |
(writeable) One of:
|
Translation permissions policy The policy this project or distribution uses to balance openness and control for their translations. |
translations_usage |
(writeable) One of:
|
Type of service for translations application Where does this pillar do translations? |
valid_specifications_collection_link |
(read-only) Link to a specification collection. |
Valid specifications All specifications that are not obsolete. When called from an ISpecificationGoal it will also exclude the ones that have not been accepted for that goal |
vcs |
(writeable) One of:
|
VCS Version control system for this project's code. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
webhooks_collection_link |
(read-only) Link to a webhook collection. |
Webhooks for this target. |
wiki_url |
(writeable) |
Wiki URL The full URL of this project'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.
Can the user add or remove the answer contact.
Users can add or remove themselves or one of the teams they administered. Admins and target owners can add/remove anyone.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canUserAlterAnswerContact |
|
person |
(required) Link to a person. |
The user or an administered team |
Find OOPS reports between start_date and end_date.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: findReferencedOOPS |
|
end_date |
(required) |
Modified before date |
start_date |
(required) |
Modified after date |
Return questions similar to phrase.
Return a list of question similar to the provided phrase. These questions will be found using a fuzzy search. The list is ordered from the most similar question to the least similar question.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findSimilarQuestions | |
phrase | (required) | A phrase |
Response contains an
application/json
representation of a
question collection.
Return personal access tokens for this target.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getAccessTokens |
Response contains an
application/json
representation of a
access_token collection.
Return the list of Persons that provide support for a language.
An answer contact supports questions in their preferred languages.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getAnswerContactsForLanguage | |
language | (required) Link to a language. |
Response contains an
application/json
representation of a
person collection.
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 question by its id, if it is applicable to this target.
If there is no such question number for this target, return None
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getQuestion |
|
question_id |
(required) |
Question Number |
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.
Returns the specification with the given name, for this target, or None.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSpecification | |
name | (required) | The name of the specification |
Response contains an
application/json
representation of a
specification.
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 a list of languages spoken by at the answer contacts.
An answer contact is considered to speak a given language if that language is listed as one of their preferred languages.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSupportedLanguages |
Response contains an
application/json
representation of a
language collection.
Return entries in the translation import queue for this entity.
If one of both of 'import_status' or 'file_extension' are given, the returned entries are filtered based on those values.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTranslationImportQueueEntries | |
file_extension | Filename extension Show only entries with this filename suffix | |
import_status | One of:
| Status Show only entries with this status |
Response contains an
application/json
representation of a
translation_import_queue_entry collection.
Return basic timeline data useful for creating a diagram.
The number of milestones returned per series is limited.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: get_timeline |
|
include_inactive |
Include inactive |
Return the questions from the collection matching search criteria.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchQuestions | |
language | Language | |
needs_attention_from | Link to a person. | Needs attentions from |
owner | Link to a person. | Owner |
search_text | Search text | |
sort | One of:
| Sort |
status | Status |
Response contains an
application/json
representation of a
question collection.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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.
Is user subscribed, directly or via a team, to bug mail?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: userHasBugSubscriptions |
Add a new answer contact.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addAnswerContact |
|
person |
(required) Link to a person. |
The user of an administered team |
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target. This initially has a single filter which will allow all notifications will be sent.
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 a bug subscription filter for this structure.
This method is used to create a new IBugSubscriptionFilter for the target. It will initially allow all notifications to be sent.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscriptionFilter | |
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 bug_subscription_filter.
Add tag to the official bug tags of this target.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addOfficialBugTag |
|
tag |
(required) |
The official bug tag |
Issue a personal access token for this target.
Access tokens can be used to push to repositories over HTTPS. These may be used in webservice API requests for certain methods in the target's repositories.
They are either non-expiring or with an expiry time given by date_expires.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: issueAccessToken |
|
date_expires |
When the token should expire. |
|
description |
(required) |
A short description of the token. |
scopes |
(required) |
A list of scopes to be granted by this token. |
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:
| |
target_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.
Create a new webhook.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newWebhook | |
active | Active Deliver details of subscribed events. | |
delivery_url | (required) | Delivery URL |
event_types | (required) | Event types |
secret | Secret An optional string used to sign delivery bodies with HMAC-SHA1 in the X-Hub-Signature header. This must be less than 200 bytes long. |
On success, the response status will be 201 and the Location header will contain the link to the newly created webhook.
Remove an answer contact.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeAnswerContact |
|
person |
(required) Link to a person. |
The user of an administered team |
Remove a subscription to bugs from this structure.
This will delete all associated filters.
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.staging.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 project_group_milestone collection. |
The visible and active milestones associated with this object, ordered by date expected. |
all_milestones_collection_link |
(read-only) Link to a project_group_milestone collection. |
All milestones associated with this object, ordered by date expected. |
all_specifications_collection_link |
(read-only) Link to a specification collection. |
All specifications A list of all specifications, regardless of status or approval or completion, for this object. |
bug_reported_acknowledgement |
(writeable) |
After reporting a bug, I can expect the following. This message of acknowledgement will be displayed to anyone after reporting a bug. |
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. [DEPRECATED] |
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 The restricted team, moderated team, or person who maintains the project group information in Launchpad. |
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. |
translationgroup_link |
(writeable) Link to a translation_group. |
Translation group The translation group that helps review translations for this project or distribution. The group's role depends on the permissions policy selected below. |
translationpermission |
(writeable) One of:
|
Translation permissions policy The policy this project or distribution uses to balance openness and control for their translations. |
translations_usage |
(writeable) One of:
|
Type of service for translations application Where does this pillar do translations? |
valid_specifications_collection_link |
(read-only) Link to a specification collection. |
Valid specifications All specifications that are not obsolete. When called from an ISpecificationGoal it will also exclude the ones that have not been accepted for that goal |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
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.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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.
Is user subscribed, directly or via a team, to bug mail?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: userHasBugSubscriptions |
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target. This initially has a single filter which will allow all notifications will be sent.
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 a bug subscription filter for this structure.
This method is used to create a new IBugSubscriptionFilter for the target. It will initially allow all notifications to be sent.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscriptionFilter | |
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 bug_subscription_filter.
Remove a subscription to bugs from this structure.
This will delete all associated filters.
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 marker interface for milestones related to a project
https://api.staging.launchpad.net/devel
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) |
Active Whether or not this object should be shown in web forms for 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, distribution, or project group for this milestone. |
title |
(read-only) |
A context title for pages. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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.
Is user subscribed, directly or via a team, to bug mail?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: userHasBugSubscriptions |
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target. This initially has a single filter which will allow all notifications will be sent.
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 a bug subscription filter for this structure.
This method is used to create a new IBugSubscriptionFilter for the target. It will initially allow all notifications to be sent.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscriptionFilter | |
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 bug_subscription_filter.
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.
This will delete all associated filters.
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.staging.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 registrant of this release. The person or who registered this release. |
project_link |
(read-only) Link to a project. |
The project that made 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 |
(read-only) |
Version The specific version number assigned to this release. Letters and numbers are acceptable, for releases like "1.2rc3". |
web_link |
(read-only) |
The canonical human-addressable web 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.
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 release.
This method must not be used if this release has any release files associated with it.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: delete |
A file associated with a ProductRelease.
https://api.staging.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.staging.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. |
all_specifications_collection_link |
(read-only) Link to a specification collection. |
All specifications A list of all specifications, regardless of status or approval or completion, for this object. |
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_reported_acknowledgement |
(writeable) |
After reporting a bug, I can expect the following. This message of acknowledgement will be displayed to anyone after reporting a bug. |
bug_reporting_guidelines |
(writeable) |
Helpful guidelines for reporting a bug These guidelines will be shown to everyone reporting a bug and should be text or a bulleted list with your particular requirements, if any. |
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 owners and drivers of the project and project group will automatically have those permissions. |
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 |
release_finder_url_pattern |
(writeable) |
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 |
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. |
translations_autoimport_mode |
(writeable) One of:
|
Import settings Specify which files will be imported from the source code branch. |
translations_usage |
(writeable) One of:
|
Type of service for translations application Where does this pillar do translations? |
valid_specifications_collection_link |
(read-only) Link to a specification collection. |
Valid specifications All specifications that are not obsolete. When called from an ISpecificationGoal it will also exclude the ones that have not been accepted for that goal |
web_link |
(read-only) |
The canonical human-addressable web 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.
Returns the specification with the given name, for this target, or None.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSpecification | |
name | (required) | The name of the specification |
Response contains an
application/json
representation of a
specification.
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 entries in the translation import queue for this entity.
If one of both of 'import_status' or 'file_extension' are given, the returned entries are filtered based on those values.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTranslationImportQueueEntries | |
file_extension | Filename extension Show only entries with this filename suffix | |
import_status | One of:
| Status Show only entries with this status |
Response contains an
application/json
representation of a
translation_import_queue_entry collection.
Return an iterator over all its translation templates.
The returned templates are either obsolete or current.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTranslationTemplates |
Response contains an
application/json
representation of a
translation_template collection.
Return basic timeline data useful for creating a diagram.
The number of milestones returned is limited.
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.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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.
Is user subscribed, directly or via a team, to bug mail?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: userHasBugSubscriptions |
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target. This initially has a single filter which will allow all notifications will be sent.
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 a bug subscription filter for this structure.
This method is used to create a new IBugSubscriptionFilter for the target. It will initially allow all notifications to be sent.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscriptionFilter | |
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 bug_subscription_filter.
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.
This will delete all associated filters.
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 single question, often a support request.
https://api.staging.launchpad.net/devel/<target.name>/+question/<question.id>
Key | Value | Description |
---|---|---|
answer_link |
(read-only) Link to a question_message. |
Answer The IQuestionMessage that contains the answer confirmed by the owner as providing a solution to their problem. |
answerer_link |
(read-only) Link to a person. |
Answered By The person who last provided a response intended to resolve the question. |
assignee_link |
(writeable) Link to a person. |
Assignee The person responsible for helping to resolve the question. |
date_created |
(read-only) |
Date Created |
date_due |
(read-only) |
Date Due The date by which we should have resolved this question. |
date_last_query |
(read-only) |
Date Last Queried The date on which we last heard from the customer (owner). |
date_last_response |
(read-only) |
Date last Responded The date on which we last communicated with the customer. The combination of datelastquery and datelastresponse tells us in whose court the ball is. |
date_solved |
(read-only) |
Date Answered The date on which the question owner confirmed that the question is Solved. |
description |
(writeable) |
Description Include as much detail as possible: what you’re trying to achieve, what steps you take, what happens, and what you think should happen instead. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
Question Number The tracking number for this question. |
language_link |
(writeable) Link to a language. |
Language The language in which this question is written. |
messages_collection_link |
(read-only) Link to a question_message collection. |
Messages The list of messages that were exchanged as part of this question , sorted from first to last. |
owner_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. |
status |
(read-only) One of:
|
Status |
target_link |
(writeable) Link to a question_target. |
This question is about The distribution, source package, or project the question pertains to. |
title |
(writeable) |
Summary A one-line summary of the issue or problem. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Mark this question as INVALID.
Add an IQuestionMessage with action REJECT. The question status is changed to INVALID. The created message is set as the question answer and its owner as the question answerer. The datelastresponse and date_solved are updated to the message creation.
Only answer contacts for the question target, the target owner or a member of the admin team can reject a request. All questions can be rejected.
Return the created IQuestionMessage.
This method should fire an IObjectCreatedEvent for the created IQuestionMessage and an IObjectModifiedEvent for the question.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: reject | |
comment | (required) | An explanation of the rejection |
On success, the response status will be 201 and the Location header will contain the link to the newly created question_message.
Set the visible attribute on a question message.
This is restricted to Launchpad admins and registry members, and will return a HTTP Error 401: Unauthorized error for non-admin callers.
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 question.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: subscribe |
|
person |
(required) Link to a person. |
Person |
Unsubscribe person from the question.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unsubscribe |
|
person |
Link to a person. |
Person |
A message part of a question.
https://api.staging.launchpad.net/devel/<target.name>/+question/<question.id>/messages/<message.index>
Key | Value | Description |
---|---|---|
action |
(read-only) One of:
|
Action operated on the question by this message. |
bug_attachments_collection_link |
(read-only) Link to a bug_attachment collection. |
A list of BugAttachments connected to this message. |
content |
(read-only) |
All the text/plain chunks joined together as a unicode string. |
date_created |
(read-only) |
Date Created |
date_deleted |
(read-only) |
When this message was deleted |
date_last_edited |
(read-only) |
When this message was last edited |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
index |
(read-only) |
Human readable Message index. The message's index in the question's list of messages. |
new_status |
(read-only) One of:
|
Question status after message The status of the question after the transition related the action operated by this message. |
owner_link |
(read-only) Link to a person. |
Person |
parent_link |
(read-only) Link to a message. |
Parent |
question_link |
(read-only) Link to a question. |
The question related to this message. An IQuestion object. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
revisions_collection_link |
(read-only) Link to a message_revision collection. |
Message revision history Revision history of this message, sorted in ascending order. |
self_link |
(read-only) |
The canonical link to this resource. |
subject |
(read-only) |
Subject |
visible |
(read-only) |
Message visibility. Whether or not the message is visible. |
web_link |
(read-only) |
The canonical human-addressable web 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 None because messages are not threaded over the API.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getAPIParent |
Deletes this message content.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deleteContent |
Edit the content of this message, generating a new message revision with the old content.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: editContent |
|
new_content |
(required) |
Message content The new message content string |
A subscription for a person to a question.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
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 email address. |
question_link |
(read-only) Link to a question. |
Question |
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.
An object that can have a new question asked about it.
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Can the user add or remove the answer contact.
Users can add or remove themselves or one of the teams they administered. Admins and target owners can add/remove anyone.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canUserAlterAnswerContact |
|
person |
(required) Link to a person. |
The user or an administered team |
Return questions similar to phrase.
Return a list of question similar to the provided phrase. These questions will be found using a fuzzy search. The list is ordered from the most similar question to the least similar question.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: findSimilarQuestions | |
phrase | (required) | A phrase |
Response contains an
application/json
representation of a
question collection.
Return the list of Persons that provide support for a language.
An answer contact supports questions in their preferred languages.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getAnswerContactsForLanguage | |
language | (required) Link to a language. |
Response contains an
application/json
representation of a
person collection.
Return the question by its id, if it is applicable to this target.
If there is no such question number for this target, return None
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getQuestion |
|
question_id |
(required) |
Question Number |
Return a list of languages spoken by at the answer contacts.
An answer contact is considered to speak a given language if that language is listed as one of their preferred languages.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSupportedLanguages |
Response contains an
application/json
representation of a
language collection.
Return the questions from the collection matching search criteria.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchQuestions | |
language | Language | |
needs_attention_from | Link to a person. | Needs attentions from |
owner | Link to a person. | Owner |
search_text | Search text | |
sort | One of:
| Sort |
status | Status |
Response contains an
application/json
representation of a
question collection.
Add a new answer contact.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addAnswerContact |
|
person |
(required) Link to a person. |
The user of an administered team |
Remove an answer contact.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeAnswerContact |
|
person |
(required) Link to a person. |
The user of an administered team |
An revision status report for a Git commit.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
ci_build_link |
(read-only) Link to a ci_build. |
The CI build that produced this report. |
commit_sha1 |
(read-only) |
The Git commit for which this report is built. |
date_created |
(read-only) |
When the report was created. |
date_finished |
(writeable) |
When the report has finished. |
date_started |
(writeable) |
When the report was started. |
distro_arch_series_link |
(read-only) Link to a distro_arch_series. |
The series and architecture for the CI build job that produced this report. |
git_repository_link |
(read-only) Link to a git_repository. |
The Git repository for which this report is built. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
properties |
(read-only) |
Metadata for artifacts attached to this report |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
result |
(writeable) One of:
|
Result of the report |
result_summary |
(writeable) |
A short summary of the result. |
self_link |
(read-only) |
The canonical link to this resource. |
title |
(writeable) |
A short title for the report. |
url |
(writeable) |
URL The external url of the report. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Retrieves the list of URLs for artifacts that exist for this report.
Scopes: repository:build_status
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getArtifactURLs |
|
artifact_type |
One of:
|
Attach a new artifact to an existing status report.
Scopes: repository:build_status
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: attach |
|
data |
(required) Link to a file resource. |
The content of the artifact in bytes. |
name |
(required) |
The name of the artifact. |
Set a new log on an existing status report.
Scopes: repository:build_status
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setLog |
|
log_data |
(required) Link to a file resource. |
The content of the artifact in bytes. |
Updates a status report.
Scopes: repository:build_status
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: update |
|
properties |
Properties dictionary |
|
result |
One of:
|
|
result_summary |
A short summary of the result. |
|
title |
A short title for the report. |
|
url |
The external link of the status report. |
A base for rocks.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
build_channels |
(writeable) |
Source snap channels for builds A dictionary mapping snap names to channels to use when building rock recipes that specify this base. The special '_byarch' key may have a mapping of architecture names to mappings of snap names to channels, which if present override the channels declared at the top level when building for those architectures. |
date_created |
(read-only) |
Date created |
distro_series_link |
(read-only) Link to a distro_series. |
Distro series |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
processors_collection_link |
(read-only) Link to a processor collection. |
Processors The architectures that the rock base supports. |
registrant_link |
(read-only) Link to a person. |
Registrant The person who registered this base. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Set the architectures that the rock base supports.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setProcessors |
|
processors |
(required) |
A buildable rock recipe.
https://api.staging.launchpad.net/devel/~<person.name>/<project.name>/+rock/<recipe.name>
Key | Value | Description |
---|---|---|
auto_build |
(writeable) |
Automatically build when branch changes Whether this rock recipe is built automatically when the branch containing its rockcraft.yaml recipe changes. |
auto_build_channels |
(writeable) |
Source snap channels for automatic builds A dictionary mapping snap names to channels to use when building this rock recipe. Currently only 'core', 'core18', 'core20', and 'rockcraft' keys are supported. |
build_path |
(writeable) |
Build path Subdirectory within the branch containing rockcraft.yaml. |
builds_collection_link |
(read-only) Link to a rock_recipe_build collection. |
All builds of this rock recipe. All builds of this rock recipe, sorted in descending order of finishing (or starting if not completed successfully). |
can_upload_to_store |
(read-only) |
Can upload to the RockStore Whether everything is set up to allow uploading builds of this rockrecipe to the RockStore. |
completed_builds_collection_link |
(read-only) Link to a rock_recipe_build collection. |
Completed builds of this rock recipe. Completed builds of this rock recipe, sorted in descending order of finishing. |
date_created |
(read-only) |
Date created |
date_last_modified |
(read-only) |
Date last modified |
description |
(writeable) |
Description A description of the rock recipe. |
failed_build_requests_collection_link |
(read-only) Link to a rock_recipe_build_request collection. |
Failed build requests for this rock recipe. |
fetch_service_policy |
(writeable) One of:
|
Fetch service policy Which policy to use when using the fetch service. Ignored if use_fetch_service flag is False. |
git_path |
(read-only) |
Git branch path The path of the Git branch containing a rockcraft.yaml recipe. |
git_ref_link |
(writeable) Link to a git_ref. |
Git branch The Git branch containing a rockcraft.yaml recipe. |
git_repository_link |
(read-only) Link to a git_repository. |
Git repository A Git repository with a branch containing a rockcraft.yaml recipe. |
git_repository_url |
(read-only) |
Git repository URL The URL of a Git repository with a branch containing a rockcraft.yaml at the top level. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
information_type |
(writeable) One of:
|
Information type The type of information contained in this rock recipe. |
is_stale |
(read-only) |
Rock recipe is stale and is due to be rebuilt. |
name |
(writeable) |
Rock recipe name The name of the rock recipe. |
owner_link |
(writeable) Link to a person. |
Owner The owner of this rock recipe. |
pending_build_requests_collection_link |
(read-only) Link to a rock_recipe_build_request collection. |
Pending build requests for this rock recipe. |
pending_builds_collection_link |
(read-only) Link to a rock_recipe_build collection. |
Pending builds of this rock recipe. Pending builds of this rock recipe, sorted in descending order of creation. |
private |
(writeable) |
Private Whether this rock recipe is private. |
project_link |
(writeable) Link to a project. |
The project that this rock recipe is associated with |
registrant_link |
(read-only) Link to a person. |
Registrant The person who registered this rock recipe. |
require_virtualized |
(writeable) |
Require virtualized builders Only build this rock recipe on virtual builders. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
store_channels |
(writeable) |
Store channels Channels to release this rock to after uploading it to the store. A channel is defined by a combination of an optional track, a risk, and an optional branch, e.g. '2.1/stable/fix-123', '2.1/stable', 'stable/fix-123', or 'stable'. |
store_name |
(writeable) |
Registered store name The registered name of this rock in the store. |
store_upload |
(writeable) |
Automatically upload to store Whether builds of this rock recipe are automatically uploaded to the store. |
use_fetch_service |
(writeable) |
Use fetch service If set, Rock builds will use the fetch-service instead of the builder-proxy to access external resources. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Request that the rock recipe be built.
This is an asynchronous operation; once the operation has finished, the resulting build request's C{status} will be "Completed" and its C{builds} collection will return the resulting builds.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: requestBuilds | |
architectures | The list of architectures to build for this recipe. | |
channels | Source snap channels to use for these builds. A dictionary mapping snap names to channels to use for these builds. Currently only 'rockcraft', 'core', 'core18', 'core20', and 'core22' keys are supported. |
On success, the response status will be 201 and the Location header will contain the link to the newly created rock_recipe_build_request.
A build record for a rock recipe.
https://api.staging.launchpad.net/devel/~<person.name>/<project.name>/+rock/<recipe.name>/+build/<id>
Key | Value | Description |
---|---|---|
arch_tag |
(read-only) |
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. |
build_metadata_url |
(read-only) |
URL of the build metadata file URL of the metadata file generated by the fetch service, if it exists. |
builder_link |
(read-only) Link to a builder. |
Builder The builder assigned to this job. |
buildstate |
(writeable) One of:
|
Status The current status of the job. |
can_be_cancelled |
(read-only) |
Can be cancelled Whether this build record can be cancelled. |
can_be_rescored |
(read-only) |
Can be rescored Whether this build record can be rescored manually. |
can_be_retried |
(read-only) |
Can be retried Whether this build record can be retried. |
channels |
(writeable) |
Source snap channels to use for this build. A dictionary mapping snap names to channels to use for this build. Currently only 'core', 'core18', 'core20', and 'rockcraft' keys are supported. |
date_first_dispatched |
(read-only) |
Date finished The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts. |
date_started |
(read-only) |
Date started The timestamp when the build farm job was started. |
datebuilt |
(read-only) |
Date finished The timestamp when the build farm job was finished. |
datecreated |
(read-only) |
Date created The timestamp when the build farm job 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. |
distro_arch_series_link |
(read-only) Link to a distro_arch_series. |
The series and architecture for which to build. |
distro_series_link |
(writeable) Link to a distro_series. |
Distribution series Shortcut for its distribution series. |
duration |
(read-only) |
Duration Duration interval, calculated when the result gets collected. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
|
(writeable) One of:
|
The build targeted pocket. |
recipe_link |
(read-only) Link to a rock_recipe. |
The rock recipe to build. |
requester_link |
(read-only) Link to a person. |
The person who requested this build. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
revision_id |
(read-only) |
Revision ID The revision ID of the branch used for this build, if available. |
score |
(read-only) |
Score of the related build farm job (if any). |
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
URLs for all the files produced by this build.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getFileUrls |
Cancel the build if it is either pending or in progress.
Check the can_be_cancelled property prior to calling this method to find out if cancelling the build is possible.
If the build is in progress, it is marked as CANCELLING until the buildd manager terminates the build and marks it CANCELLED. If the build is not in progress, it is marked CANCELLED immediately and is removed from the build queue.
If the build is not in a cancellable state, this method is a no-op.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: cancel |
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 request to build a rock recipe.
https://api.staging.launchpad.net/devel/~<person.name>/<project.name>/+rock/<recipe.name>/+build-request/<id>
Key | Value | Description |
---|---|---|
architectures |
(read-only) |
If set, this request is limited to these architecture tags |
builds_collection_link |
(read-only) Link to a rock_recipe_build collection. |
Builds produced by this request |
date_finished |
(read-only) |
The time when this request finished |
date_requested |
(read-only) |
The time when this request was made |
error_message |
(read-only) |
Error message |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
recipe_link |
(read-only) Link to a rock_recipe. |
Rock 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. |
status |
(read-only) One of:
|
Status |
web_link |
(read-only) |
The canonical human-addressable web 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.
Interface representing a factory used to access named services.
https://api.staging.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.
https://api.staging.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 the service, used to generate the url. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
A buildable snap package.
https://api.staging.launchpad.net/devel/~<person.name>/+snap/<snap.name>
Key | Value | Description |
---|---|---|
allow_internet |
(writeable) |
Allow external network access Allow access to external network resources via a proxy. Resources hosted on Launchpad itself are always allowed. |
auto_build |
(writeable) |
Automatically build when branch changes Whether this snap package is built automatically when the branch containing its snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe changes. |
auto_build_archive_link |
(writeable) Link to a archive. |
Source archive for automatic builds The archive from which automatic builds of this snap package should be built. |
auto_build_channels |
(writeable) |
Source snap channels for automatic builds A dictionary mapping snap names to channels to use when building this snap package. Supported snap names: 'core', 'core18', 'core20', 'core22', 'core24', 'snapcraft', 'snapd' |
auto_build_pocket |
(writeable) One of:
|
Pocket for automatic builds The package stream within the source archive and distribution series to use when building the snap package. If the source archive is a PPA, then the PPA's archive dependencies will be used to select the pocket in the distribution's primary archive. |
branch_link |
(writeable) Link to a branch. |
Bazaar branch A Bazaar branch containing a snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe at the top level. |
build_source_tarball |
(writeable) |
Build source tarball Whether builds of this snap package should also build a tarball containing all source code, including external dependencies. |
builds_collection_link |
(read-only) Link to a snap_build collection. |
All builds of this snap package. All builds of this snap package, sorted in descending order of finishing (or starting if not completed successfully). |
can_upload_to_store |
(read-only) |
Can upload to store Whether everything is set up to allow uploading builds of this snap package to the store. |
completed_builds_collection_link |
(read-only) Link to a snap_build collection. |
Completed builds of this snap package. Completed builds of this snap package, sorted in descending order of finishing. |
date_created |
(read-only) |
Date created |
date_last_modified |
(read-only) |
Date last modified |
description |
(writeable) |
Description A description of the snap package. |
distro_series_link |
(writeable) Link to a distro_series. |
Distro Series The series for which the snap package should be built. If not set, Launchpad will infer an appropriate series from snapcraft.yaml. |
failed_build_requests_collection_link |
(read-only) Link to a snap_build_request collection. |
Failed build requests for this snap package. |
fetch_service_policy |
(writeable) One of:
|
Fetch service policy Which policy to use when using the fetch service. Ignored if use_fetch_service flag is False. |
git_path |
(writeable) |
Git branch path The path of the Git branch containing a snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe at the top level. |
git_ref_link |
(writeable) Link to a git_ref. |
Git branch The Git branch containing a snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe at the top level. |
git_repository_link |
(read-only) Link to a git_repository. |
Git repository A Git repository with a branch containing a snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe at the top level. |
git_repository_url |
(read-only) |
Git repository URL The URL of a Git repository with a branch containing a snap/snapcraft.yaml, build-aux/snap/snapcraft.yaml, snapcraft.yaml, or .snapcraft.yaml recipe at the top level. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
information_type |
(writeable) One of:
|
Information type The type of information contained in this Snap recipe. |
is_stale |
(read-only) |
Snap package is stale and is due to be rebuilt. |
name |
(writeable) |
Snap recipe name The name of the snap build recipe. |
owner_link |
(writeable) Link to a person. |
Owner The owner of this snap package. |
pending_build_requests_collection_link |
(read-only) Link to a snap_build_request collection. |
Pending build requests for this snap package. |
pending_builds_collection_link |
(read-only) Link to a snap_build collection. |
Pending builds of this snap package. Pending builds of this snap package, sorted in descending order of creation. |
private |
(writeable) |
Private Whether or not this snap is private. |
pro_enable |
(writeable) |
Enable Ubuntu Pro Allow building this snap recipe using dependencies from Ubuntu Pro, if configured for the corresponding snap base. |
processors_collection_link |
(read-only) Link to a processor collection. |
Processors The architectures for which the snap package should be built. |
registrant_link |
(read-only) Link to a person. |
Registrant The person who registered this snap package. |
require_virtualized |
(writeable) |
Require virtualized builders Only build this snap package on virtual builders. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
store_channels |
(writeable) |
Store channels Channels to release this snap package to after uploading it to the store. A channel is defined by a combination of an optional track, a risk, and an optional branch, e.g. '2.1/stable/fix-123', '2.1/stable', 'stable/fix-123', or 'stable'. |
store_name |
(writeable) |
Registered store package name The registered name of this snap package in the store. |
store_series_link |
(writeable) Link to a snappy_series. |
Store series The series in which this snap package should be published in the store. |
store_upload |
(writeable) |
Automatically upload to store Whether builds of this snap package are automatically uploaded to the store. |
use_fetch_service |
(writeable) |
Use fetch service If set, Snap builds will use the fetch-service instead of the builder-proxy to access external resources. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
webhooks_collection_link |
(read-only) Link to a webhook collection. |
Webhooks for this target. |
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.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBuildByStoreRevision | |
store_upload_revision | (required) | Store revision |
Response contains an
application/json
representation of a
snap_build.
Return a dictionary containing a summary of build information.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getBuildSummaries |
|
build_ids |
A list of snap build IDs. |
|
request_ids |
A list of snap build request IDs. |
Begin authorizing uploads of this snap package to the store.
This is intended for use by third-party sites integrating with Launchpad. Most users should visit <snap URL>/+authorize instead.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: beginAuthorization |
Complete authorizing uploads of this snap package to the store.
This is intended for use by third-party sites integrating with Launchpad.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: completeAuthorization |
|
discharge_macaroon |
Serialized discharge macaroon Only required if root macaroon has SSO third-party caveat. |
|
root_macaroon |
Serialized root macaroon Only required if not already set by beginAuthorization. |
Create a new webhook.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newWebhook | |
active | Active Deliver details of subscribed events. | |
delivery_url | (required) | Delivery URL |
event_types | (required) | Event types |
secret | Secret An optional string used to sign delivery bodies with HMAC-SHA1 in the X-Hub-Signature header. This must be less than 200 bytes long. |
On success, the response status will be 201 and the Location header will contain the link to the newly created webhook.
Create and return automatic builds for this snap package.
This webservice API method is deprecated. It is normally better to use the requestBuilds method instead, which can make dispatching decisions based on the contents of snapcraft.yaml.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: requestAutoBuilds |
Response contains an
application/json
representation of a
snap_build collection.
Request that the snap package be built.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: requestBuild | |
archive | (required) Link to a archive. | |
channels | Source snap channels to use for this build. A dictionary mapping snap names to channels to use for this build. Supported snap names: 'core', 'core18', 'core20', 'core22', 'core24', 'snapcraft', 'snapd' | |
distro_arch_series | (required) Link to a distro_arch_series. | |
(required) One of:
| ||
snap_base | Link to a snap_base. |
On success, the response status will be 201 and the Location header will contain the link to the newly created snap_build.
Request that the snap package be built for relevant architectures.
This is an asynchronous operation; once the operation has finished, the resulting build request's C{status} will be "Completed" and its C{builds} collection will return the resulting builds.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: requestBuilds | |
archive | (required) Link to a archive. | |
channels | Source snap channels to use for this build. A dictionary mapping snap names to channels to use for this build. Supported snap names: 'core', 'core18', 'core20', 'core22', 'core24', 'snapcraft', 'snapd' | |
(required) One of:
|
On success, the response status will be 201 and the Location header will contain the link to the newly created snap_build_request.
Set the architectures for which the snap package should be built.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setProcessors |
|
processors |
(required) |
A base for snaps.
https://api.staging.launchpad.net/devel/+snap-bases/<name>
Key | Value | Description |
---|---|---|
build_channels |
(writeable) |
Source snap channels for builds A dictionary mapping snap names to channels to use when building snaps that specify this base. The special '_byarch' key may have a mapping of architecture names to mappings of snap names to channels, which if present override the channels declared at the top level when building for those architectures. |
date_created |
(read-only) |
Date created |
dependencies_collection_link |
(read-only) Link to a archive_dependency collection. |
Archive dependencies for this snap base. |
display_name |
(writeable) |
Display name |
distro_series_link |
(writeable) Link to a distro_series. |
Distro series |
features |
(writeable) |
Features supported by this base A dictionary designating the features supported by the base. Key is the name of a feature, value is a boolean indicating whether the feature is supported or not. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
is_default |
(read-only) |
Is default? Whether this base is the default for snaps that do not specify a base. |
name |
(writeable) |
Name |
processors_collection_link |
(read-only) Link to a processor collection. |
Processors The architectures that the snap base supports. |
registrant_link |
(read-only) Link to a person. |
Registrant The person who registered this base. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
web_link |
(read-only) |
The canonical human-addressable web 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 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.
Add an archive dependency for this snap base.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addArchiveDependency | |
component | Component name | |
dependency | Link to a archive. | The archive set as a dependency. |
(required) One of:
|
On success, the response status will be 201 and the Location header will contain the link to the newly created archive_dependency.
Remove the archive dependency on the given archive.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeArchiveDependency |
|
dependency |
(required) Link to a archive. |
Set the architectures that the snap base supports.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setProcessors |
|
processors |
(required) |
Build information for snap package builds.
https://api.staging.launchpad.net/devel/~<person.name>/+snap/<snap.name>/+build/<id>
Key | Value | Description |
---|---|---|
arch_tag |
(read-only) |
Architecture tag |
archive_link |
(read-only) Link to a archive. |
The archive from which to build the snap package. |
build_log_url |
(writeable) |
Build Log URL A URL for the build log. None if there is no log available. |
build_metadata_url |
(read-only) |
URL of the build metadata file URL of the metadata file generated by the fetch service, if it exists. |
builder_link |
(read-only) Link to a builder. |
Builder The builder assigned to this job. |
buildstate |
(writeable) One of:
|
Status The current status of the job. |
can_be_cancelled |
(read-only) |
Can be cancelled Whether this build record can be cancelled. |
can_be_rescored |
(read-only) |
Can be rescored Whether this build record can be rescored manually. |
can_be_retried |
(read-only) |
Can be retried Whether this build record can be retried. |
channels |
(writeable) |
Source snap channels to use for this build. A dictionary mapping snap names to channels to use for this build. Supported snap names: 'core', 'core18', 'core20', 'core22', 'core24', 'snapcraft', 'snapd' |
date_first_dispatched |
(read-only) |
Date finished The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts. |
date_started |
(read-only) |
Date started The timestamp when the build farm job was started. |
datebuilt |
(read-only) |
Date finished The timestamp when the build farm job was finished. |
datecreated |
(read-only) |
Date created The timestamp when the build farm job 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. |
distro_arch_series_link |
(read-only) Link to a distro_arch_series. |
The series and architecture to build on. |
distro_series_link |
(writeable) Link to a distro_series. |
Distribution series Shortcut for its distribution series. |
duration |
(read-only) |
Duration Duration interval, calculated when the result gets collected. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
|
(read-only) One of:
|
The pocket for which to build. The package stream within the source archive and distribution series to use when building the snap package. If the source archive is a PPA, then the PPA's archive dependencies will be used to select the pocket in the distribution's primary archive. |
requester_link |
(read-only) Link to a person. |
The person who requested this build. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
revision_id |
(read-only) |
Revision ID The revision ID of the branch used for this build, if available. |
score |
(read-only) |
Score of the related build farm job (if any). |
self_link |
(read-only) |
The canonical link to this resource. |
snap_base_link |
(read-only) Link to a snap_base. |
The snap base to use for this build. |
snap_link |
(read-only) Link to a snap. |
The snap package to build. |
store_upload_error_message |
(read-only) |
Store upload error message The error message, if any, from the last attempt to upload this snap build to the store. (Deprecated; use store_upload_error_messages instead.) |
store_upload_error_messages |
(read-only) |
Store upload error messages A list of dict(message, link) where message is an error description and link, if any, is an external link to extra details, from the last attempt to upload this snap build to the store. |
store_upload_revision |
(read-only) |
Store revision The revision assigned to this package by the store. |
store_upload_status |
(writeable) One of:
|
Store upload status |
store_upload_url |
(read-only) |
Store URL The URL to use for managing this package in the store. |
target_architectures |
(read-only) |
The target architectures to build for. |
title |
(writeable) |
Title |
upload_log_url |
(writeable) |
Upload Log URL A URL for failed upload logs.Will be None if there was no failure. |
web_link |
(read-only) |
The canonical human-addressable web 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.
URLs for all the files produced by this build.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getFileUrls |
Cancel the build if it is either pending or in progress.
Check the can_be_cancelled property prior to calling this method to find out if cancelling the build is possible.
If the build is in progress, it is marked as CANCELLING until the buildd manager terminates the build and marks it CANCELLED. If the build is not in progress, it is marked CANCELLED immediately and is removed from the build queue.
If the build is not in a cancellable state, this method is a no-op.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: cancel |
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 |
Schedule an upload of this build to the store.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: scheduleStoreUpload |
A request to build a snap package.
https://api.staging.launchpad.net/devel/~<person.name>/+snap/<snap.name>/+build-request/<id>
Key | Value | Description |
---|---|---|
builds_collection_link |
(read-only) Link to a snap_build collection. |
Builds produced by this request |
date_finished |
(read-only) |
The time when this request finished |
date_requested |
(read-only) |
The time when this request was made |
error_message |
(read-only) |
Error message |
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. |
snap_link |
(read-only) Link to a snap. |
Snap package |
status |
(read-only) One of:
|
Status |
web_link |
(read-only) |
The canonical human-addressable web 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 series for snap packages in the store.
https://api.staging.launchpad.net/devel/+snappy-series/<name>
Key | Value | Description |
---|---|---|
can_infer_distro_series |
(writeable) |
Can infer distro series? True if inferring a distro series from snapcraft.yaml is supported for this snappy series. |
date_created |
(read-only) |
Date created |
display_name |
(writeable) |
Display name |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
Name |
preferred_distro_series_link |
(writeable) Link to a distro_series. |
Preferred distro series |
registrant_link |
(read-only) Link to a person. |
Registrant The person who registered this snappy 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 |
(writeable) One of:
|
Status |
usable_distro_series |
(writeable) |
Usable distro series The distro series that can be used for this snappy series. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Social Account
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
identity |
(writeable) |
Identity A dictionary with the identity attributes and values for the social account. The format is specific for each platform. Matrix account attributes: username, homeserver |
person_link |
(read-only) Link to a person. |
Owner |
platform |
(writeable) One of:
|
Social Platform 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. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
A source package associated to a particular distribution series.
https://api.staging.launchpad.net/devel/<distribution.name>/<distro_series.name>/+source/<name>
Key | Value | Description |
---|---|---|
bug_reported_acknowledgement |
(writeable) |
After reporting a bug, I can expect the following. This message of acknowledgement will be displayed to anyone after reporting a bug. |
bug_reporting_guidelines |
(writeable) |
Helpful guidelines for reporting a bug These guidelines will be shown to everyone reporting a bug and should be text or a bulleted list with your particular requirements, if any. |
displayname |
(read-only) |
Display name A displayname, constructed, for this package |
distribution_link |
(read-only) Link to a distribution. |
Distribution The distribution for this source package. |
distroseries_link |
(read-only) 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 |
(read-only) |
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 |
(read-only) 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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Return entries in the translation import queue for this entity.
If one of both of 'import_status' or 'file_extension' are given, the returned entries are filtered based on those values.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTranslationImportQueueEntries | |
file_extension | Filename extension Show only entries with this filename suffix | |
import_status | One of:
| Status Show only entries with this status |
Response contains an
application/json
representation of a
translation_import_queue_entry collection.
Return an iterator over all its translation templates.
The returned templates are either obsolete or current.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTranslationTemplates |
Response contains an
application/json
representation of a
translation_template 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.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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.
Delete the packaging for this sourcepackage.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: deletePackaging |
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:
| |
target_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:
|
|
Update the existing packaging record, or create a new packaging record, that links the source package to the given productseries, and record that it was done by the owner.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setPackaging |
|
productseries |
(required) Link to a project_series. |
A source package publishing history record.
https://api.staging.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 |
copied_from_archive_link |
(read-only) Link to a archive. |
Original archive ID where this package was copied from. |
creator_link |
(read-only) Link to a person. |
Publication Creator The IPerson who created this publication. |
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. |
packageupload_link |
(read-only) Link to a package_upload. |
Package upload The Package Upload that caused the creation of this publication. |
|
(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 |
sponsor_link |
(read-only) Link to a person. |
Publication sponsor The IPerson who sponsored the creation of this publication. |
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 URL for this source package release's changelog.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: changelogUrl |
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 binary publishing record for any DistroArchSeries in this DistroSeries and in the same IArchive and Pocket, ordered by architecture tag. If active_binaries_only is True (the default), then only return PUBLISHED or PENDING binary publishing records.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPublishedBinaries | |
active_binaries_only | Only return active publications |
Response contains an
application/json
representation of a
binary_package_publishing_history collection.
Return whether or not a given source files has restricted files.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: hasRestrictedFiles |
URL of the debdiff file between this and the supplied version.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: packageDiffUrl |
|
to_version |
(required) |
To Version |
URLs for this source publication's uploaded source files.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: sourceFileUrls |
|
include_meta |
Include Metadata |
Change the component and/or section of this publication.
It is changed only if the argument is not None.
Return the overridden publishing record, a ISourcePackagePublishingHistory.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: changeOverride | |
new_component | The new component name. | |
new_section | The new section name. |
Response contains an
application/json
representation of a
source_package_publishing_history.
Delete this source and its binaries.
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.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
base_branch_link |
(read-only) Link to a branch. |
The base branch used by this recipe. |
base_git_repository_link |
(read-only) Link to a git_repository. |
The base Git repository used by this recipe. |
build_daily |
(writeable) |
Built daily Automatically build each day, if the source has changed. |
builds_collection_link |
(read-only) Link to a source_package_recipe_build collection. |
All builds of this recipe. All builds of this recipe, sorted in descending order of finishing (or starting if notcompleted successfully). |
completed_builds_collection_link |
(read-only) Link to a source_package_recipe_build collection. |
The completed builds of this recipe. Completed builds of this recipe, sorted in descending order of finishing (or starting if notcompleted successfully). |
daily_build_archive_link |
(writeable) Link to a archive. |
The archive to use for daily builds. |
date_last_modified |
(read-only) |
|
deb_version_template |
(read-only) |
deb-version template The template that will be used to generate a deb version. |
description |
(writeable) |
Description A short description of the recipe. |
distroseries |
(writeable) |
Default distribution series If built daily, these are the distribution versions that the recipe will be built for. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
is_stale |
(read-only) |
Recipe is stale. |
last_build_link |
(read-only) Link to a source_package_recipe_build. |
The the most recent build of this recipe. |
name |
(writeable) |
Name The name of the recipe is part of the URL and needs to be unique for the given owner. |
owner_link |
(writeable) Link to a person. |
Owner The person or team who can edit this recipe. |
pending_builds_collection_link |
(read-only) Link to a source_package_recipe_build collection. |
The pending builds of this recipe. Pending builds of this recipe, sorted in descending order of creation. |
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Find distroseries and archive data for pending builds.
Return a list of dict( distroseries:distroseries.displayname archive:archive.token) The archive reference is as defined by the archive vocab. This information is used to construct the request builds popup form.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getPendingBuildInfo |
Perform a build into the daily build archive.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: performDailyBuild |
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:
|
Response contains an
application/json
representation of a
source_package_recipe_build.
A build of a source package.
https://api.staging.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. |
builder_link |
(read-only) Link to a builder. |
Builder The builder assigned to this job. |
buildstate |
(writeable) One of:
|
Status The current status of the job. |
can_be_cancelled |
(read-only) |
Can be cancelled Whether this build record can be cancelled. |
can_be_rescored |
(read-only) |
Can be rescored Whether this build record can be rescored manually. |
can_be_retried |
(read-only) |
Can be retried Whether this build record can be retried. |
date_first_dispatched |
(read-only) |
Date finished The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts. |
date_started |
(read-only) |
Date started The timestamp when the build farm job was started. |
datebuilt |
(read-only) |
Date finished The timestamp when the build farm job was finished. |
datecreated |
(read-only) |
Date created The timestamp when the build farm job 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. |
distro_series_link |
(writeable) Link to a distro_series. |
Distribution series Shortcut for its distribution series. |
duration |
(read-only) |
Duration Duration interval, calculated when the result gets collected. |
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Cancel the build if it is either pending or in progress.
Check the can_be_cancelled property prior to calling this method to find out if cancelling the build is possible.
If the build is in progress, it is marked as CANCELLING until the buildd manager terminates the build and marks it CANCELLED. If the build is not in progress, it is marked CANCELLED immediately and is removed from the build queue.
If the build is not in a cancellable state, this method is a no-op.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: cancel |
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 Specification.
https://api.staging.launchpad.net/devel/<target.name>/+spec/<specification.name>
Key | Value | Description |
---|---|---|
approver_link |
(writeable) Link to a person. |
Approver The person responsible for approving the specification, and for reviewing the code when it's ready to be landed. |
assignee_link |
(writeable) Link to a person. |
Assignee The person responsible for implementing the feature. |
bugs_collection_link |
(read-only) Link to a bug collection. |
Bugs related to this object. |
completer_link |
(read-only) Link to a person. |
Starter The person who finally set the state of the spec to the values that we consider mark it as complete. |
date_completed |
(read-only) |
Date Completed The date when this spec was marked complete. Note that complete also includes "obsolete" and superseded. Essentially, it is the state where no more work will be done on the feature. |
date_created |
(read-only) |
Date Created |
date_started |
(read-only) |
Date Started The date when this spec was marked started. |
definition_status |
(writeable) One of:
|
Definition Status The current status of the process to define the feature and get approval for the implementation plan. |
dependencies_collection_link |
(read-only) Link to a specification collection. |
Specs on which this one depends. |
direction_approved |
(writeable) |
Basic direction approved? Check this to indicate that the drafter and assignee have satisfied the approver that they are headed in the right basic direction with this specification. |
drafter_link |
(writeable) Link to a person. |
Drafter The person responsible for drafting the specification. |
has_accepted_goal |
(read-only) |
Series goal is accepted Is true if this specification has been proposed as a goal for a specific series, and the drivers of that series have accepted the goal. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
implementation_status |
(writeable) One of:
|
Implementation Status The state of progress being made on the actual implementation or delivery of this feature. |
information_type |
(writeable) One of:
|
Information Type The type of information contained in this specification. |
is_complete |
(read-only) |
Is started Is True if this spec is already completely implemented. Note that it is True for informational specs, since they describe general functionality rather than specific code to be written. It is also true of obsolete and superseded specs, since there is no longer any need to schedule work for them. |
is_started |
(read-only) |
Is started Is True if the spec is in a state which we consider to be "started". This looks at the delivery attribute, and also considers informational specs to be started when they are approved. |
lifecycle_status |
(read-only) One of:
|
Lifecycle Status |
linked_branches_collection_link |
(read-only) Link to a specification_branch collection. |
Branches associated with this spec, usually branches on which this spec is being implemented. |
milestone_link |
(writeable) Link to a milestone. |
Milestone The milestone in which we would like this feature to be delivered. |
name |
(writeable) |
Name May contain lower-case letters, numbers, and dashes. It will be used in the specification url. Examples: mozilla-type-ahead-find, postgres-smart-serial. |
owner_link |
(read-only) Link to a person. |
Owner |
priority |
(writeable) One of:
|
Priority |
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_url |
(writeable) |
Specification URL The URL of the specification. This is usually a wiki page. |
starter_link |
(read-only) Link to a person. |
Starter The person who first set the state of the spec to the values that we consider mark it as started. |
summary |
(writeable) |
Summary A single-paragraph description of the feature. This will also be displayed in most feature listings. |
target_link |
(writeable) Link to a specification_target. |
For The project for which this proposal is being made. |
title |
(writeable) |
Title Describe the feature as clearly as possible in up to 70 characters. This title is displayed in every feature list or report. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
whiteboard |
(writeable) |
Status Whiteboard Any notes on the status of this spec you would like to make. Your changes will override the current text. |
workitems_text |
(writeable) |
Work Items Work items for this specification input in a text format. Your changes will override the current work items. |
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.
Mark the spec as being accepted for its current series goal.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: acceptGoal |
Mark the spec as being declined as a goal for the proposed series.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: declineGoal |
Associate a branch with this bug.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: linkBranch |
|
branch |
(required) Link to a branch. |
Link a bug to this specification.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: linkBug |
|
bug |
(required) Link to a bug. |
Propose this spec for a series or distroseries.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: proposeGoal |
|
goal |
Link to a bug_target. |
Target |
Subscribe this person to the feature specification.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: subscribe |
|
essential |
Participation essential Check this if participation in the design of the feature is essential. |
|
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. |
Unlink a bug to this specification.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unlinkBug |
|
bug |
(required) Link to a bug. |
Remove the person's subscription to this spec.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: unsubscribe |
|
person |
Link to a person. |
Person |
A branch linked to a specification.
https://api.staging.launchpad.net/devel/<target.name>/+spec/<specification.name>/+branch/<branch.unique_name[1:]>
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 |
web_link |
(read-only) |
The canonical human-addressable web 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.
Destroy this specification branch link
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: delete |
A subscription for a person to a specification.
https://api.staging.launchpad.net/devel/<target.name>/+spec/<specification.name>/+subscription/<person.name>
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.
Can the user unsubscribe the subscriber from the specification?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: canBeUnsubscribedByUser |
An interface for the objects which actually have unique specifications directly attached to them.
depends on the underlying entry
Key | Value | Description |
---|---|---|
all_specifications_collection_link |
(read-only) Link to a specification collection. |
All specifications A list of all specifications, regardless of status or approval or completion, for this object. |
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. |
valid_specifications_collection_link |
(read-only) Link to a specification collection. |
Valid specifications All specifications that are not obsolete. When called from an ISpecificationGoal it will also exclude the ones that have not been accepted for that goal |
web_link |
(read-only) |
The canonical human-addressable web 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.
Returns the specification with the given name, for this target, or None.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getSpecification | |
name | (required) | The name of the specification |
Response contains an
application/json
representation of a
specification.
SSH public key
https://api.staging.launchpad.net/devel/<person.name>/+ssh-keys/<keyid>
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. |
web_link |
(read-only) |
The canonical human-addressable web 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 full text of the SSH key.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getFullKeyText |
A subscription to a Launchpad structure.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
bug_filters_collection_link |
(read-only) Link to a bug_subscription_filter collection. |
List of bug filters that narrow this subscription. |
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.
Returns a new BugSubscriptionFilter for this subscription.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newBugFilter |
On success, the response status will be 201 and the Location header will contain the link to the newly created bug_subscription_filter.
A Launchpad Structure allowing users to subscribe to it.
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. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Is user subscribed, directly or via a team, to bug mail?
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: userHasBugSubscriptions |
Add a bug subscription for this structure.
This method is used to create a new IStructuralSubscription for the target. This initially has a single filter which will allow all notifications will be sent.
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 a bug subscription filter for this structure.
This method is used to create a new IBugSubscriptionFilter for the target. It will initially allow all notifications to be sent.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: addBugSubscriptionFilter | |
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 bug_subscription_filter.
Remove a subscription to bugs from this structure.
This will delete all associated filters.
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 group of people and other teams.
Launchpadlib example of getting the date a user joined a team:
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
Implementation notes:
https://api.staging.launchpad.net/devel/~<name>
Key | Value | Description |
---|---|---|
account_status |
(read-only) One of:
|
The status of this person's account |
account_status_history |
(read-only) |
Account status history |
admins_collection_link |
(read-only) Link to a person collection. |
List of this team's admins. |
all_specifications_collection_link |
(read-only) Link to a specification collection. |
All specifications A list of all specifications, regardless of status or approval or completion, for this object. |
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 emails of this person. Confirmed emails are the ones in the VALIDATED state |
date_created |
(read-only) |
Date Created |
deactivated_members_collection_link |
(read-only) Link to a person collection. |
Former members of the team. |
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) |
Self renewal period Number of days members can renew their own membership. The number can be from 1 to 3650 (10 years). |
description |
(writeable) |
Description Details about interests and goals. Use plain text, paragraphs are preserved and URLs are linked. |
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. |
Expired members of the team. |
gpg_keys_collection_link |
(read-only) Link to a gpg_key collection. |
List of valid OpenPGP keys ordered by ID |
hide_email_addresses |
(writeable) |
Hide my email addresses from other Launchpad users |
homepage_content |
(writeable) |
Homepage Content Obsolete. Use description. |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
ID Internal immutable identifier for this person. Only visible by privileged users. |
invited_members_collection_link |
(read-only) Link to a person collection. |
Other teams which have been invited to become members of this team. |
irc_nicknames_collection_link |
(read-only) Link to a irc_id collection. |
List of IRC nicknames of this Person. |
is_probationary |
(read-only) |
Is this a probationary user? |
is_team |
(read-only) |
Is this object a team? |
is_ubuntu_coc_signer |
(read-only) |
Signed Ubuntu Code of Conduct |
is_valid |
(read-only) |
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 |
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. |
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 direct 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. |
membership_policy |
(writeable) One of:
|
Membership policy The policies that describe who can be a member. The choice of policy reflects the need to build a community (inclusive) versus the need to control Launchpad projects, branches, and PPAs (exclusive). |
memberships_details_collection_link |
(read-only) Link to a team_membership collection. |
All TeamMemberships for Teams this Team or 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. |
People who have applied to join the team. |
recipes_collection_link |
(read-only) Link to a source_package_recipe collection. |
All recipes associated with the object. |
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. |
social_accounts_collection_link |
(read-only) Link to a social_account collection. |
List of Social Accounts of this Person. |
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:
|
Membership policy Obsolete: use membership_policy |
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 Obsolete. Use description. |
team_owner_link |
(writeable) Link to a person. |
Team Owner |
time_zone |
(read-only) |
The time zone of this object. |
valid_specifications_collection_link |
(read-only) Link to a specification collection. |
Valid specifications All specifications that are not obsolete. When called from an ISpecificationGoal it will also exclude the ones that have not been accepted for that goal |
visibility |
(writeable) One of:
|
Visibility Anyone can see a public team's data. Only team members can see private team data. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
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 |
Return (private) archives subscription for this person.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getArchiveSubscriptions |
Response contains an
application/json
representation of a
archive_subscriber collection.
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 packages for which this person is a bug subscriber.
Returns a list of IDistributionSourcePackage's, ordered alphabetically (A to Z) by name.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getBugSubscriberPackages |
Response contains an
application/json
representation of a
distribution_source_package collection.
Return a list of IQuestionTargets that a person is subscribed to.
This will return IQuestionTargets that the person is registered as an answer contact because they subscribed themselves.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getDirectAnswerQuestionTargets |
Response contains an
application/json
representation of a
question_target 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.
Projects owned by this person or teams to which they belong.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getOwnedProjects |
Response contains an
application/json
representation of a
project collection.
Return the teams that this person owns.
The iterator includes the teams that the user owns, but it not a member of.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getOwnedTeams |
Response contains an
application/json
representation of a
team collection.
Return a PPA with the given name if it exists.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getPPAByName | |
distribution | Link to a distribution. | |
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.
Return Social Accounts associated to the user.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getSocialAccountsByPlatform |
|
platform |
(required) One of:
|
Social Platform Type |
Return a list of IQuestionTargets that are indirect subscriptions.
This will return IQuestionTargets that the person or team is registered as an answer contact because of their membership in a team.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTeamAnswerQuestionTargets |
Response contains an
application/json
representation of a
question_target collection.
Return entries in the translation import queue for this entity.
If one of both of 'import_status' or 'file_extension' are given, the returned entries are filtered based on those values.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: getTranslationImportQueueEntries | |
file_extension | Filename extension Show only entries with this filename suffix | |
import_status | One of:
| Status Show only entries with this status |
Response contains an
application/json
representation of a
translation_import_queue_entry collection.
Search the person's questions.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: searchQuestions | |
language | Language | |
needs_attention | Needs attentions from | |
participation | One of:
| Participation |
search_text | Search text | |
sort | One of:
| Sort |
status | Status |
Response contains an
application/json
representation of a
question collection.
Search the IBugTasks reported on this entity.
Return an iterable of matching results.
Note: milestone is currently ignored for all IBugTargets except IProduct.
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 | |
created_before | Search for bugs that were created before the given date. | |
created_since | Search for bugs that have been created since the given date. | |
has_cve | Show only bugs associated with a CVE | |
has_no_package | Exclude bugs with packages specified | |
has_patch | Show only bugs with patches available. | |
importance | Importance Show only bugs with the given importance or list of importances. | |
information_type | Information Type Show only bugs with the given information type or list of information types. | |
linked_blueprints | One of:
| Search for bugs that are linked to blueprints or for bugs that are not linked to blueprints. |
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. | |
modified_since | Search for bugs that have been modified since the given date. | |
nominated_for | Link to a distro_series. | |
omit_duplicates | Omit bugs marked as duplicate, | |
omit_targeted | Omit bugs targeted to a 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. | |
status_upstream | Status upstream Indicates the status of any remote watches associated with the bug. Possible values include: pending_bugwatch, hide_upstream, resolved_upstream, and open_upstream. | |
structural_subscriber | Link to a person. | |
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 a language to this person's preferences.
If the given language is one of the user's preferred languages already, nothing will happen.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: addLanguage |
|
language |
(required) Link to a language. |
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 PPA.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createPPA | |
description | ||
displayname | ||
distribution | Link to a distribution. | |
name | ||
private | ||
suppress_subscription_notifications |
On success, the response status will be 201 and the Location header will contain the link to the newly created archive.
Create a SourcePackageRecipe owned by this person.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: createRecipe | |
build_daily | ||
daily_build_archive | Link to a archive. | |
description | (required) | |
distroseries | (required) | |
name | (required) | |
recipe_text | (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 |
Get a text line that is suitable to be used for a sources.list entry.
It will create a new IArchiveAuthToken if one doesn't already exist.
It raises Unauthorized if the context user does not have a valid subscription for the target archive or the caller is not context user itself.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getArchiveSubscriptionURL |
|
archive |
(required) Link to a archive. |
Join the given team if its membership_policy 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.
This is a convenience method for retractTeamMembership() that allows a user to leave the given team, or to cancel a PENDING membership request.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: leave |
|
team |
(required) Link to a person. |
Team |
Remove a language from this person's preferences.
If the given language is not present, nothing will happen.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: removeLanguage |
|
language |
(required) Link to a language. |
Retract this team's membership in the given team.
If there's a membership entry for this team on the given team and its status is either APPROVED, ADMIN, PENDING, or INVITED, the status is changed and the relevant entries in TeamParticipation.
APPROVED and ADMIN status are changed to DEACTIVATED. PENDING status is changed to DECLINED. INVITED status is changes to INVITATION_DECLINED.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: retractTeamMembership |
|
comment |
||
team |
(required) Link to a person. |
Team |
Set the status of this person's account.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setAccountStatus |
|
comment |
(required) |
Status change comment |
status |
(required) One of:
|
The status of this account |
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. |
TeamMembership for Users.
This table includes direct team members only. Indirect memberships are handled by the TeamParticipation table.
https://api.staging.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 |
web_link |
(read-only) |
The canonical human-addressable web 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.
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.staging.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 |
web_link |
(read-only) |
The canonical human-addressable web 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.
Returns a dict containing the processed blob data.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: getProcessedData |
Return True if this blob has been processed.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: hasBeenProcessed |
Minimal product series info for the timeline.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
is_development_focus |
(writeable) |
Is series the development focus of the project |
landmarks |
(writeable) |
List of milestones and releases |
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'. |
project_link |
(writeable) Link to a project. |
Project |
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 |
uri |
(writeable) |
Series URI foo |
web_link |
(read-only) |
The canonical human-addressable web 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 translation file.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
The translation file 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. |
web_link |
(read-only) |
The canonical human-addressable web 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 TranslationGroup.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
name |
(writeable) |
Name Keep this name very short, unique, and descriptive, because it will be used in URLs. Examples: gnome-translation-project, ubuntu-translators. |
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 Title of this Translation Group. This title is displayed at the top of the Translation Group page and in lists or reports of translation groups. Do not add "translation group" to this title, or it will be shown double. |
web_link |
(read-only) |
The canonical human-addressable web 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.
An entry of the Translation Import Queue.
https://api.staging.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) One of:
|
The status of the import. |
uploader_link |
(read-only) Link to a person. |
Uploader The person that uploaded this file to Launchpad. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Transition to a new status if possible.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setStatus |
|
new_status |
(required) One of:
|
The status of the import. |
A translation template.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
active |
(writeable) |
Template is active If unchecked, people can no longer change the template's translations. |
date_last_updated |
(writeable) |
Date for last update |
description |
(writeable) |
Description Please provide a brief description of the content of this translation template, for example, telling translators if this template contains strings for end-users or other developers. |
exported_in_languagepacks |
(writeable) |
Include translations for this template in language packs? Check this box if this template is part of a language pack so its translations should be exported that way. |
format |
(writeable) One of:
|
File format for the source file |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
The translation template id. |
language_count |
(read-only) |
The number of languages for which we have translations. |
message_count |
(read-only) |
The number of translation messages for this template. |
name |
(writeable) |
Template name The name of this PO template, for example 'evolution-2.2'. Each translation template has a unique name in its package. It's important to get this correct, because Launchpad will recommend alternative translations based on the name. |
owner_link |
(writeable) Link to a person. |
Owner The owner of the template in Launchpad can edit the template and change it's status, and can also upload new versions of the template when a new release is made or when the translation strings have been changed during development. |
path |
(writeable) |
Path of the template in the source tree, including filename. |
priority |
(writeable) |
Priority A number that describes how important this template is. Often there are multiple templates, and you can use this as a way of indicating which are more important and should be translated first. Pick any number - higher priority templates will generally be listed 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. |
translation_domain |
(writeable) |
Translation domain The translation domain for a translation template. Used with PO file format when generating MO files for inclusion in language pack or MO tarball exports. |
translation_files_collection_link |
(read-only) Link to a translation_file collection. |
All translation files that exist for this template. |
web_link |
(read-only) |
The canonical human-addressable web 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 vulnerability.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
creator_link |
(read-only) Link to a person. |
The person who created the vulnerability. |
cve_link |
(writeable) Link to a cve. |
External CVE reference corresponding to this vulnerability, if any. |
date_coordinated_release |
(writeable) |
Coordinated Release Date. |
date_created |
(read-only) |
The date this vulnerability was created. |
date_made_public |
(writeable) |
The date this vulnerability was made public. |
date_notice_issued |
(writeable) |
Date when a security notice was issued for this vulnerability. |
description |
(writeable) |
A short description of the vulnerability. |
distribution_link |
(read-only) Link to a distribution. |
Distribution |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
id |
(read-only) |
ID |
importance |
(writeable) One of:
|
Indicates the work priority, not the severity |
importance_explanation |
(writeable) |
Used to explain why our importance differs from somebody else's CVSS score. |
information_type |
(writeable) One of:
|
Information type Indicates the privacy of the vulnerability. |
mitigation |
(writeable) |
Explains why we're ignoring this vulnerability. |
notes |
(writeable) |
Free-form notes for this vulnerability. |
private |
(read-only) |
Private Private vulnerabilities are visible only to their subscribers. |
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:
|
The status of the vulnerability. |
web_link |
(read-only) |
The canonical human-addressable web 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.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
active |
(writeable) |
Active Deliver details of subscribed events. |
date_created |
(read-only) |
Date created |
date_last_modified |
(read-only) |
Date last modified |
deliveries_collection_link |
(read-only) Link to a webhook_delivery collection. |
Recent deliveries for this webhook. |
delivery_url |
(writeable) |
Delivery URL |
event_types |
(writeable) |
Event types |
git_ref_pattern |
(writeable) |
Git ref pattern Pattern to match against git-ref/branch name of an event, to filter webhook triggers |
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 created this webhook. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
target_link |
(read-only) Link to a webhook_target. |
Target The object for which this webhook receives events. |
web_link |
(read-only) |
The canonical human-addressable web 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.
Send a test event.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: ping |
On success, the response status will be 201 and the Location header will contain the link to the newly created webhook_delivery.
Set the secret used to sign deliveries.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: setSecret |
|
secret |
Secret An optional string used to sign delivery bodies with HMAC-SHA1 in the X-Hub-Signature header. This must be less than 200 bytes long. |
A Job that delivers an event to a webhook consumer.
https://api.staging.launchpad.net/devel
Key | Value | Description |
---|---|---|
date_created |
(read-only) |
Date created |
date_first_sent |
(read-only) |
Date first sent Timestamp of the first delivery attempt. |
date_scheduled |
(read-only) |
Date scheduled Timestamp of the next delivery attempt. |
date_sent |
(read-only) |
Date sent Timestamp of the last delivery attempt. |
error_message |
(read-only) |
Error message Details of the error encountered by the most recent delivery attempt. |
event_type |
(read-only) |
Event type |
http_etag |
(read-only) |
The value of the HTTP ETag for this resource. |
payload |
(read-only) |
Event payload |
pending |
(read-only) |
Pending Whether a delivery attempt is in progress. |
resource_type_link |
(read-only) |
The link to the WADL description of this resource. |
self_link |
(read-only) |
The canonical link to this resource. |
successful |
(read-only) |
Successful Whether the most recent delivery attempt succeeded, or null if no attempts have been made yet. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
webhook_link |
(read-only) Link to a webhook. |
Webhook The webhook that this delivery is for. |
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.
Attempt to deliver the event again.
Launchpad will automatically retry regularly for 24 hours, but this can be used after it gives up or to avoid waiting for the next automatic attempt.
Parameter | Value | Description |
---|---|---|
ws.op |
(required) Fixed: retry |
|
reset |
Reset automatic retries Restart the 24 hour automatic retry window as well as trying again now. |
https://api.staging.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. |
web_link |
(read-only) |
The canonical human-addressable web link to this resource. |
webhooks_collection_link |
(read-only) Link to a webhook collection. |
Webhooks for this target. |
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.
Create a new webhook.
Parameter | Value | Description |
---|---|---|
ws.op | (required) Fixed: newWebhook | |
active | Active Deliver details of subscribed events. | |
delivery_url | (required) | Delivery URL |
event_types | (required) | Event types |
secret | Secret An optional string used to sign delivery bodies with HMAC-SHA1 in the X-Hub-Signature header. This must be less than 200 bytes long. |
On success, the response status will be 201 and the Location header will contain the link to the newly created webhook.
Wiki for Users
https://api.staging.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.
Standard methods
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.