List and retrieve diffs with detailed revision information

GET /v1/diff/1076212/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1076212,
    "revision": {
        "id": 489129,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e8c9d1af9da28113130fa2cf83499b1d53901de3",
        "head_changeset": "81a6d2916ad190712dd83bca906ebc94962120dd",
        "phabricator_id": 255694,
        "phabricator_phid": "PHID-DREV-zi3qaqdw3p5db2kt6lne",
        "title": "Bug 1975031 - allow multiple blank lines between certdata objects in regen_root_ca_metadata.py. r=keeler",
        "bugzilla_id": 1975031,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489129/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489129/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255694"
    },
    "phid": "PHID-DIFF-m6iyq4vbvxajf7yq4dw5",
    "review_task_id": "Vni2tyPOQh-Dn8SpOB4-Bw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "81a6d2916ad190712dd83bca906ebc94962120dd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076212/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T18:15:59.087247Z"
}