List and retrieve diffs with detailed revision information

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

{
    "id": 1078678,
    "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-xjh6ry5czin4x67f2jtu",
    "review_task_id": "BNpSj5w-RzeOv7DjiSYq3A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "dcf047b2d46c71d78a033f16896813096d0ab759",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078678/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T11:50:28.537518Z"
}