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": "https://pdc.stg.fedoraproject.org/rest_api/v1/arches/",
    "auth/current-user": "https://pdc.stg.fedoraproject.org/rest_api/v1/auth/current-user/",
    "auth/group-resource-permissions": "https://pdc.stg.fedoraproject.org/rest_api/v1/auth/group-resource-permissions/",
    "auth/groups": "https://pdc.stg.fedoraproject.org/rest_api/v1/auth/groups/",
    "auth/permissions": "https://pdc.stg.fedoraproject.org/rest_api/v1/auth/permissions/",
    "auth/resource-api-urls": "https://pdc.stg.fedoraproject.org/rest_api/v1/auth/resource-api-urls/",
    "auth/resource-permissions": "https://pdc.stg.fedoraproject.org/rest_api/v1/auth/resource-permissions/",
    "auth/token": "https://pdc.stg.fedoraproject.org/rest_api/v1/auth/token/",
    "base-products": "https://pdc.stg.fedoraproject.org/rest_api/v1/base-products/",
    "bugzilla-components": "https://pdc.stg.fedoraproject.org/rest_api/v1/bugzilla-components/",
    "build-image-rtt-tests": "https://pdc.stg.fedoraproject.org/rest_api/v1/build-image-rtt-tests/",
    "build-images": "https://pdc.stg.fedoraproject.org/rest_api/v1/build-images/",
    "changesets": "https://pdc.stg.fedoraproject.org/rest_api/v1/changesets/",
    "component-branch-slas": "https://pdc.stg.fedoraproject.org/rest_api/v1/component-branch-slas/",
    "component-branches": "https://pdc.stg.fedoraproject.org/rest_api/v1/component-branches/",
    "component-group-types": "https://pdc.stg.fedoraproject.org/rest_api/v1/component-group-types/",
    "component-groups": "https://pdc.stg.fedoraproject.org/rest_api/v1/component-groups/",
    "component-relationship-types": "https://pdc.stg.fedoraproject.org/rest_api/v1/component-relationship-types/",
    "component-sla-types": "https://pdc.stg.fedoraproject.org/rest_api/v1/component-sla-types/",
    "compose-image-rtt-tests": "https://pdc.stg.fedoraproject.org/rest_api/v1/compose-image-rtt-tests/",
    "compose-images": "https://pdc.stg.fedoraproject.org/rest_api/v1/compose-images/",
    "compose-rpms": "https://pdc.stg.fedoraproject.org/rest_api/v1/compose-rpms/",
    "compose-tree-locations": "https://pdc.stg.fedoraproject.org/rest_api/v1/compose-tree-locations/",
    "compose-tree-rtt-tests": "https://pdc.stg.fedoraproject.org/rest_api/v1/compose-tree-rtt-tests/",
    "composes": "https://pdc.stg.fedoraproject.org/rest_api/v1/composes/",
    "composes/{compose_id}/rpm-mapping": "https://pdc.stg.fedoraproject.org/rest_api/v1/composes/{compose_id}/rpm-mapping/{package}/",
    "contact-roles": "https://pdc.stg.fedoraproject.org/rest_api/v1/contact-roles/",
    "contacts/mailing-lists": "https://pdc.stg.fedoraproject.org/rest_api/v1/contacts/mailing-lists/",
    "contacts/people": "https://pdc.stg.fedoraproject.org/rest_api/v1/contacts/people/",
    "content-delivery-content-categories": "https://pdc.stg.fedoraproject.org/rest_api/v1/content-delivery-content-categories/",
    "content-delivery-content-formats": "https://pdc.stg.fedoraproject.org/rest_api/v1/content-delivery-content-formats/",
    "content-delivery-repo-families": "https://pdc.stg.fedoraproject.org/rest_api/v1/content-delivery-repo-families/",
    "content-delivery-repos": "https://pdc.stg.fedoraproject.org/rest_api/v1/content-delivery-repos/",
    "content-delivery-services": "https://pdc.stg.fedoraproject.org/rest_api/v1/content-delivery-services/",
    "cpes": "https://pdc.stg.fedoraproject.org/rest_api/v1/cpes/",
    "global-component-contacts": "https://pdc.stg.fedoraproject.org/rest_api/v1/global-component-contacts/",
    "global-components": "https://pdc.stg.fedoraproject.org/rest_api/v1/global-components/",
    "global-components/{instance_pk}/labels": "https://pdc.stg.fedoraproject.org/rest_api/v1/global-components/0/labels/",
    "images": "https://pdc.stg.fedoraproject.org/rest_api/v1/images/",
    "labels": "https://pdc.stg.fedoraproject.org/rest_api/v1/labels/",
    "modules": "https://pdc.stg.fedoraproject.org/rest_api/v1/modules/",
    "multi-destinations": "https://pdc.stg.fedoraproject.org/rest_api/v1/multi-destinations/",
    "osbs": "https://pdc.stg.fedoraproject.org/rest_api/v1/osbs/",
    "overrides/rpm": "https://pdc.stg.fedoraproject.org/rest_api/v1/overrides/rpm/",
    "product-versions": "https://pdc.stg.fedoraproject.org/rest_api/v1/product-versions/",
    "products": "https://pdc.stg.fedoraproject.org/rest_api/v1/products/",
    "push-targets": "https://pdc.stg.fedoraproject.org/rest_api/v1/push-targets/",
    "release-component-contacts": "https://pdc.stg.fedoraproject.org/rest_api/v1/release-component-contacts/",
    "release-component-relationships": "https://pdc.stg.fedoraproject.org/rest_api/v1/release-component-relationships/",
    "release-component-types": "https://pdc.stg.fedoraproject.org/rest_api/v1/release-component-types/",
    "release-components": "https://pdc.stg.fedoraproject.org/rest_api/v1/release-components/",
    "release-groups": "https://pdc.stg.fedoraproject.org/rest_api/v1/release-groups/",
    "release-schedules": "https://pdc.stg.fedoraproject.org/rest_api/v1/release-schedules/",
    "release-types": "https://pdc.stg.fedoraproject.org/rest_api/v1/release-types/",
    "release-variant-types": "https://pdc.stg.fedoraproject.org/rest_api/v1/release-variant-types/",
    "release-variants": "https://pdc.stg.fedoraproject.org/rest_api/v1/release-variants/",
    "released-files": "https://pdc.stg.fedoraproject.org/rest_api/v1/released-files/",
    "releases": "https://pdc.stg.fedoraproject.org/rest_api/v1/releases/",
    "releases/{release_id}/rpm-mapping": "https://pdc.stg.fedoraproject.org/rest_api/v1/releases/{release_id}/rpm-mapping/{package}/",
    "rpc/compose-full-import": "https://pdc.stg.fedoraproject.org/rest_api/v1/rpc/compose-full-import/",
    "rpc/content-delivery-repos/clone": "https://pdc.stg.fedoraproject.org/rest_api/v1/rpc/content-delivery-repos/clone/",
    "rpc/find-compose-by-release-rpm/{release_id}/{rpm_name}": "https://pdc.stg.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}": "https://pdc.stg.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}": "https://pdc.stg.fedoraproject.org/rest_api/v1/rpc/find-older-compose-by-compose-rpm/{compose_id}/{rpm_name}/",
    "rpc/overrides-rpm/clone": "https://pdc.stg.fedoraproject.org/rest_api/v1/rpc/overrides-rpm/clone/",
    "rpc/release/clone": "https://pdc.stg.fedoraproject.org/rest_api/v1/rpc/release/clone/",
    "rpc/release/clone-components": "https://pdc.stg.fedoraproject.org/rest_api/v1/rpc/release/clone-components/",
    "rpc/release/import-from-composeinfo": "https://pdc.stg.fedoraproject.org/rest_api/v1/rpc/release/import-from-composeinfo/",
    "rpc/repos/clone": "https://pdc.stg.fedoraproject.org/rest_api/v1/rpc/repos/clone/",
    "rpc/where-to-file-bugs": "https://pdc.stg.fedoraproject.org/rest_api/v1/rpc/where-to-file-bugs/",
    "rpms": "https://pdc.stg.fedoraproject.org/rest_api/v1/rpms/",
    "sigkeys": "https://pdc.stg.fedoraproject.org/rest_api/v1/sigkeys/",
    "unreleasedvariants": "https://pdc.stg.fedoraproject.org/rest_api/v1/unreleasedvariants/",
    "variant-cpes": "https://pdc.stg.fedoraproject.org/rest_api/v1/variant-cpes/",
    "variant-types": "https://pdc.stg.fedoraproject.org/rest_api/v1/variant-types/"
}