List and retrieve diffs with detailed revision information

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

{
    "id": 1078376,
    "revision": {
        "id": 490891,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ab72b4d6328daddd7f781c38157fc45c5f81ad48",
        "head_changeset": "0c9faee08ab5092058deca3ca4f80f7a9fcfde4e",
        "phabricator_id": 256136,
        "phabricator_phid": "PHID-DREV-hfvgfmhruzuu56x24op6",
        "title": "Bug 1975729 - adjust whitespace and newlines for most mochitest .toml files, also remove older verify skip-if conditions. r=florian",
        "bugzilla_id": 1975729,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490891/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490891/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256136"
    },
    "phid": "PHID-DIFF-hzj4ryc6fmgul7yytmx5",
    "review_task_id": "AD41iAgYR32VW9E0KJB1Qw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "103931c001974c3fb71d320eae4b4524591a47ac",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078376/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-05T12:24:31.043471Z"
}