List and retrieve diffs with detailed revision information

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

{
    "id": 1039335,
    "revision": {
        "id": 475805,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "a296bb59b1ddad51a706de2ab0c76d70e9f87435",
        "head_changeset": "bf19ddd22b7b96887e3721de0fb4d39bea564fe7",
        "phabricator_id": 250369,
        "phabricator_phid": "PHID-DREV-d7ecws6jw4lp2apxebek",
        "title": "Bug 1967560 - Port linux splitter changes. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1967560,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475805/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475805/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250369"
    },
    "phid": "PHID-DIFF-uvp5vczaaegs2yzshqmg",
    "review_task_id": "W5_uQhSvQkutiK6ltYYhLg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "594cf963bb38c42e4031fde63e1f6811de448017",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039335/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T00:50:12.830465Z"
}