List and retrieve diffs with detailed revision information

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

{
    "id": 1119431,
    "revision": {
        "id": 514501,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "533910de950bc3d78601deb1a4beb30afe491cff",
        "head_changeset": "f0db1f5df5ac28cbf6804e1554fd0ca37fe4c783",
        "phabricator_id": 261409,
        "phabricator_phid": "PHID-DREV-adnxs33eqwmnxhmcgdc6",
        "title": "Bug 1983560 - Update about-support to use moz-src. r=#thunderbird-reviewers",
        "bugzilla_id": 1983560,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514501/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514501/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261409"
    },
    "phid": "PHID-DIFF-y4kcjk73ont5pma6deiu",
    "review_task_id": "abNsXoukSO2xE16x7kk0pg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "4a74315b16f67e61e189e5b2398612446a7cba0f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1119431/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-09T15:28:35.875197Z"
}