Product API

Product

GET /api/v1/product

Filtering

name:The name of the product to filter on.
GET /api/v1/product/?format=json&name=Firefox
GET /api/v1/product/<id>
POST /api/v1/product

Required Fields

name:A string Product name.
productversions:
 A list of at least one Product Version.

Optional Fields

description:A string description.
DELETE /api/v1/product/<id>

Note

Deleting a Product will delete all of it’s child objects.

PUT /api/v1/product/<id>

Note

ProductVersions are displayed in the GET results. They may be added to or changed by a POST request, but a POST to Product will not delete any ProductVersion.

Product Version

GET /api/v1/productversion

Filtering

version:The ProductVersion name to filter on. For example, if the Product and Version are Firefox 10 then the version would be 10.
product:The Product id to filter on.
product__name:The Product name to filter on.

Example request:

GET /api/v1/productversion/?format=json&version=10
GET /api/v1/productversion/?format=json&product__name=Firefox
GET /api/v1/productversion/<id>
POST /api/v1/productversion

Required Fields

version:A string ProductVersion name.
product:A resource uri of the parent Product.

Optional Fields

codename:A string codename.
DELETE /api/v1/productversion/<id>
PUT /api/v1/productversion/<id>

Note

The Product of an existing ProductVersion may not be changed.

Read the Docs v: 1.4.9.2
Versions
latest
1.4.9.2
1.3.7
1.2.7
1.1.2
1.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.