List and retrieve diffs with detailed revision information

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

{
    "id": 1054882,
    "revision": {
        "id": 477808,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0ac697223f366ce2043400df49bffef560f3692e",
        "head_changeset": "31fc182e556559c42f4f88a5324d9e7a54a19acf",
        "phabricator_id": 252958,
        "phabricator_phid": "PHID-DREV-6howyrhari3tq2mek2lx",
        "title": "Bug 1971023 - Part 5: Clean up unused `updateAddressBarNavigationActions` in `BrowserFragment`",
        "bugzilla_id": 1971023,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477808/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477808/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252958"
    },
    "phid": "PHID-DIFF-lowra3engvoztgl4d6eu",
    "review_task_id": "Lr5X__xsRBG1l9mN5BIyQw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7f09388e877ebcd3afe430e9bdb57d102c171a21",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054882/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-08T23:58:33.048385Z"
}