The REST APIs make it possible to programmatic access the data in Product Definition Center(a.k.a. PDC).

Create new Product, import rpms and query components with contact informations, and more.

The REST API identifies users using Token which will be generated for all authenticated users.

Please remember to use your token as HTTP header for every requests that need authentication.

If you want to record the reason for change, you can add Header (-H "PDC-Change-Comment: reasonforchange") in request.

Responses are available in JSON format.

NOTE: in order to use secure HTTPS connections, you'd better to add server's certificate as trusted.

Browsable GET

GET /rest_api/v1/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "arches": "http://pdc.fedoraproject.org/rest_api/v1/arches/",
    "auth/current-user": "http://pdc.fedoraproject.org/rest_api/v1/auth/current-user/",
    "auth/group-resource-permissions": "http://pdc.fedoraproject.org/rest_api/v1/auth/group-resource-permissions/",
    "auth/groups": "http://pdc.fedoraproject.org/rest_api/v1/auth/groups/",
    "auth/permissions": "http://pdc.fedoraproject.org/rest_api/v1/auth/permissions/",
    "auth/resource-permissions": "http://pdc.fedoraproject.org/rest_api/v1/auth/resource-permissions/",
    "auth/token": "http://pdc.fedoraproject.org/rest_api/v1/auth/token/",
    "base-products": "http://pdc.fedoraproject.org/rest_api/v1/base-products/",
    "bugzilla-components": "http://pdc.fedoraproject.org/rest_api/v1/bugzilla-components/",
    "build-image-rtt-tests": "http://pdc.fedoraproject.org/rest_api/v1/build-image-rtt-tests/",
    "build-images": "http://pdc.fedoraproject.org/rest_api/v1/build-images/",
    "changesets": "http://pdc.fedoraproject.org/rest_api/v1/changesets/",
    "component-branch-slas": "http://pdc.fedoraproject.org/rest_api/v1/component-branch-slas/",
    "component-branches": "http://pdc.fedoraproject.org/rest_api/v1/component-branches/",
    "component-group-types": "http://pdc.fedoraproject.org/rest_api/v1/component-group-types/",
    "component-groups": "http://pdc.fedoraproject.org/rest_api/v1/component-groups/",
    "component-relationship-types": "http://pdc.fedoraproject.org/rest_api/v1/component-relationship-types/",
    "component-sla-types": "http://pdc.fedoraproject.org/rest_api/v1/component-sla-types/",
    "compose-image-rtt-tests": "http://pdc.fedoraproject.org/rest_api/v1/compose-image-rtt-tests/",
    "compose-images": "http://pdc.fedoraproject.org/rest_api/v1/compose-images/",
    "compose-rpms": "http://pdc.fedoraproject.org/rest_api/v1/compose-rpms/",
    "compose-tree-locations": "http://pdc.fedoraproject.org/rest_api/v1/compose-tree-locations/",
    "compose-tree-rtt-tests": "http://pdc.fedoraproject.org/rest_api/v1/compose-tree-rtt-tests/",
    "composes": "http://pdc.fedoraproject.org/rest_api/v1/composes/",
    "composes/{compose_id}/rpm-mapping": "http://pdc.fedoraproject.org/rest_api/v1/composes/{compose_id}/rpm-mapping/{package}/",
    "contact-roles": "http://pdc.fedoraproject.org/rest_api/v1/contact-roles/",
    "contacts/mailing-lists": "http://pdc.fedoraproject.org/rest_api/v1/contacts/mailing-lists/",
    "contacts/people": "http://pdc.fedoraproject.org/rest_api/v1/contacts/people/",
    "content-delivery-content-categories": "http://pdc.fedoraproject.org/rest_api/v1/content-delivery-content-categories/",
    "content-delivery-content-formats": "http://pdc.fedoraproject.org/rest_api/v1/content-delivery-content-formats/",
    "content-delivery-repo-families": "http://pdc.fedoraproject.org/rest_api/v1/content-delivery-repo-families/",
    "content-delivery-repos": "http://pdc.fedoraproject.org/rest_api/v1/content-delivery-repos/",
    "content-delivery-services": "http://pdc.fedoraproject.org/rest_api/v1/content-delivery-services/",
    "global-component-contacts": "http://pdc.fedoraproject.org/rest_api/v1/global-component-contacts/",
    "global-components": "http://pdc.fedoraproject.org/rest_api/v1/global-components/",
    "global-components/{instance_pk}/labels": "http://pdc.fedoraproject.org/rest_api/v1/global-components/0/labels/",
    "images": "http://pdc.fedoraproject.org/rest_api/v1/images/",
    "labels": "http://pdc.fedoraproject.org/rest_api/v1/labels/",
    "osbs": "http://pdc.fedoraproject.org/rest_api/v1/osbs/",
    "overrides/rpm": "http://pdc.fedoraproject.org/rest_api/v1/overrides/rpm/",
    "product-versions": "http://pdc.fedoraproject.org/rest_api/v1/product-versions/",
    "products": "http://pdc.fedoraproject.org/rest_api/v1/products/",
    "release-component-contacts": "http://pdc.fedoraproject.org/rest_api/v1/release-component-contacts/",
    "release-component-relationships": "http://pdc.fedoraproject.org/rest_api/v1/release-component-relationships/",
    "release-component-types": "http://pdc.fedoraproject.org/rest_api/v1/release-component-types/",
    "release-components": "http://pdc.fedoraproject.org/rest_api/v1/release-components/",
    "release-groups": "http://pdc.fedoraproject.org/rest_api/v1/release-groups/",
    "release-types": "http://pdc.fedoraproject.org/rest_api/v1/release-types/",
    "release-variant-types": "http://pdc.fedoraproject.org/rest_api/v1/release-variant-types/",
    "release-variants": "http://pdc.fedoraproject.org/rest_api/v1/release-variants/",
    "releases": "http://pdc.fedoraproject.org/rest_api/v1/releases/",
    "releases/{release_id}/rpm-mapping": "http://pdc.fedoraproject.org/rest_api/v1/releases/{release_id}/rpm-mapping/{package}/",
    "rpc/compose-full-import": "http://pdc.fedoraproject.org/rest_api/v1/rpc/compose-full-import/",
    "rpc/content-delivery-repos/clone": "http://pdc.fedoraproject.org/rest_api/v1/rpc/content-delivery-repos/clone/",
    "rpc/find-compose-by-release-rpm/{release_id}/{rpm_name}": "http://pdc.fedoraproject.org/rest_api/v1/rpc/find-compose-by-release-rpm/{release_id}/{rpm_name}/",
    "rpc/find-composes-by-product-version-rpm/{product_version}/{rpm_name}": "http://pdc.fedoraproject.org/rest_api/v1/rpc/find-composes-by-product-version-rpm/{product_version}/{rpm_name}/",
    "rpc/find-older-compose-by-compose-rpm/{compose_id}/{rpm_name}": "http://pdc.fedoraproject.org/rest_api/v1/rpc/find-older-compose-by-compose-rpm/{compose_id}/{rpm_name}/",
    "rpc/overrides-rpm/clone": "http://pdc.fedoraproject.org/rest_api/v1/rpc/overrides-rpm/clone/",
    "rpc/release/clone": "http://pdc.fedoraproject.org/rest_api/v1/rpc/release/clone/",
    "rpc/release/clone-components": "http://pdc.fedoraproject.org/rest_api/v1/rpc/release/clone-components/",
    "rpc/release/import-from-composeinfo": "http://pdc.fedoraproject.org/rest_api/v1/rpc/release/import-from-composeinfo/",
    "rpc/repos/clone": "http://pdc.fedoraproject.org/rest_api/v1/rpc/repos/clone/",
    "rpc/where-to-file-bugs": "http://pdc.fedoraproject.org/rest_api/v1/rpc/where-to-file-bugs/",
    "rpms": "http://pdc.fedoraproject.org/rest_api/v1/rpms/",
    "sigkeys": "http://pdc.fedoraproject.org/rest_api/v1/sigkeys/",
    "trees": "http://pdc.fedoraproject.org/rest_api/v1/trees/",
    "unreleasedvariants": "http://pdc.fedoraproject.org/rest_api/v1/unreleasedvariants/",
    "variant-types": "http://pdc.fedoraproject.org/rest_api/v1/variant-types/"
}