List and retrieve diffs with detailed revision information

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

{
    "id": 1074381,
    "revision": {
        "id": 486808,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "47d2305074e7678d1e69fc853de92c511f1fd6e5",
        "head_changeset": "2525566b6cb4311715140d0a850bdc941fcb88cd",
        "phabricator_id": 255323,
        "phabricator_phid": "PHID-DREV-sabg3ws3uqhi6ww2napt",
        "title": "WIP: Bug 1974456 - Fix perma fail due to change in canReauth() behavior in browser_privacy.js and browser_qrExport.js.",
        "bugzilla_id": 1974456,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486808/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486808/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255323"
    },
    "phid": "PHID-DIFF-6s65a4qlhmsfvsawg4ne",
    "review_task_id": "N-I9l5WbRuid8jH5ZfquCg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "2525566b6cb4311715140d0a850bdc941fcb88cd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074381/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T14:51:13.142929Z"
}