List and retrieve diffs with detailed revision information

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

{
    "id": 1040422,
    "revision": {
        "id": 475154,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f18e2177eec322168d25c227965879e51e8091c",
        "head_changeset": "2de70e8b6cc1a51981f3d5280256140e53e59632",
        "phabricator_id": 249463,
        "phabricator_phid": "PHID-DREV-utri3y2ivqpeell4dzk3",
        "title": "Bug 1966444 - Change the main menu background and the items background and spacing between groups.",
        "bugzilla_id": 1966444,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475154/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475154/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249463"
    },
    "phid": "PHID-DIFF-qlb73eondfvmmxxlstvy",
    "review_task_id": "duuL_j54SSOaWUYQkA5Nvw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4ace96e3813522770c4e5e35e3a1d9de2292f115",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040422/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-22T00:04:14.625441Z"
}