List and retrieve diffs with detailed revision information

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

{
    "id": 1052277,
    "revision": {
        "id": 477323,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b59fefc9b1a9437cde4d9b53aa7f02c4c7a26db7",
        "head_changeset": "3632d3ba45734587a11d4db397fcad5ecf038d26",
        "phabricator_id": 252409,
        "phabricator_phid": "PHID-DREV-7gfpyvrm62vx2md6nee6",
        "title": "Bug 1970230 - Update typography/spacing of Trending Search Var A widget r?#home-newtab-reviewers",
        "bugzilla_id": 1970230,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477323/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477323/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252409"
    },
    "phid": "PHID-DIFF-mvvtik63o7dqp7r6nrkl",
    "review_task_id": "BpEAnuP1SnerAibiOI3cyQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3632d3ba45734587a11d4db397fcad5ecf038d26",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052277/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T21:24:31.784612Z"
}