List and retrieve diffs with detailed revision information

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

{
    "id": 1078985,
    "revision": {
        "id": 491619,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ca0dfe63b7faf0f914fa366c1337e52acf29bfcc",
        "head_changeset": "97ad785406c993243ecd57cccbab34aad19cc132",
        "phabricator_id": 256342,
        "phabricator_phid": "PHID-DREV-gqzjynqhkegnzalwlmjs",
        "title": "Bug 1976080 - Set the Whats new page URL for esr update channel. r=#thunderbuild",
        "bugzilla_id": 1976080,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491619/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491619/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256342"
    },
    "phid": "PHID-DIFF-w2lqnzwdfpc5oyebn3oc",
    "review_task_id": "DoEMqfFrRtW9anlJGJg2Cg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "97ad785406c993243ecd57cccbab34aad19cc132",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078985/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T19:24:45.740103Z"
}