List and retrieve diffs with detailed revision information

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

{
    "id": 1112941,
    "revision": {
        "id": 516954,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b4642edaad5a2dd6fdd6e70d304fcc20b74d6398",
        "head_changeset": "b81d4ef3909801e148738cdc40902714a86079b2",
        "phabricator_id": 261941,
        "phabricator_phid": "PHID-DREV-kapelidqakg5b4n4csij",
        "title": "Bug 1980830: Add API to dispatch dom events from JS and add omt eager baseline test. r=tcampbell!",
        "bugzilla_id": 1980830,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516954/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516954/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261941"
    },
    "phid": "PHID-DIFF-ej4tovegjd6udvx4hn2g",
    "review_task_id": "MCO1LxjLRwCcEkck7aCD9A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e734ee045ed49def27315ddc3710e4253f988030",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112941/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T15:51:35.947778Z"
}