List and retrieve diffs with detailed revision information

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

{
    "id": 1109774,
    "revision": {
        "id": 514472,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c37785597e55a69b91f39cf58f2ddf813986156",
        "head_changeset": "2236be9f3ec586ad283f5fd7a5f3fda7e958a4e5",
        "phabricator_id": 261399,
        "phabricator_phid": "PHID-DREV-sawsocfdeg7mpt4iby45",
        "title": "Bug 1979115 - autofix newtab border-radius linting errors r=#home-newtab-reviewers",
        "bugzilla_id": 1979115,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514472/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514472/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261399"
    },
    "phid": "PHID-DIFF-h5b6mylsanfepjdylcs5",
    "review_task_id": "XA6pkfplQYiKx3aleo_Meg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "76b7784d58c797e732636f3fba3b12b9ad64bf5c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109774/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T21:54:10.581205Z"
}