List and retrieve diffs with detailed revision information

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

{
    "id": 1074774,
    "revision": {
        "id": 487598,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "92b5a11b94b47b0707a7aa070174b4180e484e1e",
        "head_changeset": "7cf02c43caa2bf1c40754ae8c480f89742207539",
        "phabricator_id": 255411,
        "phabricator_phid": "PHID-DREV-52qfkldh4trg5vzjzsjr",
        "title": "Bug 1971941 - Fix tabs-hidden usage for navbar separator. r=#theme",
        "bugzilla_id": 1971941,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487598/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487598/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255411"
    },
    "phid": "PHID-DIFF-podahw6qyverz2hyebd4",
    "review_task_id": "ZVtbx1nPQD2cocE5FplTyQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7cf02c43caa2bf1c40754ae8c480f89742207539",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074774/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-28T12:17:04.696976Z"
}