List and retrieve diffs with detailed revision information

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

{
    "id": 1052289,
    "revision": {
        "id": 477327,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b59fefc9b1a9437cde4d9b53aa7f02c4c7a26db7",
        "head_changeset": "2f6604923470c5647b0c6bd74985fb1de732055e",
        "phabricator_id": 252412,
        "phabricator_phid": "PHID-DREV-jl3g4hipx53627ubzlip",
        "title": "Bug 1969586 - Update strings on Trending Search Var A widget r?#home-newtab-reviewers",
        "bugzilla_id": 1969586,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477327/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477327/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252412"
    },
    "phid": "PHID-DIFF-beiv6m3mafq234cbhopc",
    "review_task_id": "UOS9nBcWSQepTK34WkJe4Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2f6604923470c5647b0c6bd74985fb1de732055e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052289/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T21:38:44.928118Z"
}