List and retrieve diffs with detailed revision information

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

{
    "id": 1074147,
    "revision": {
        "id": 486527,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6074017c3c2bcd19579b4f29011a21dedd885969",
        "head_changeset": "b7c337c330d31eb96ca9add1fafe498b2087f674",
        "phabricator_id": 255265,
        "phabricator_phid": "PHID-DREV-ycayaejvv5p5qlize6j5",
        "title": "Bug 1974378 - Part 2: Cache system time zone identifier. r=#spidermonkey-reviewers!",
        "bugzilla_id": 1974378,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486527/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486527/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255265"
    },
    "phid": "PHID-DIFF-pk3uify6fwfjjr6decwn",
    "review_task_id": "DbsS2xx-TH64RVbMd6yzSQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b7c337c330d31eb96ca9add1fafe498b2087f674",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074147/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T09:57:01.561399Z"
}