List and retrieve diffs with detailed revision information

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

{
    "id": 1054001,
    "revision": {
        "id": 477654,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4499fc8c22c053e889598958dbb799171c936211",
        "head_changeset": "de4d10dd3c99e0129cf05caa66ac53b429454a66",
        "phabricator_id": 252774,
        "phabricator_phid": "PHID-DREV-nso7cjpy2d3zkerdxwc5",
        "title": "Bug 1970763. Rename HitTestState::mInPreserves3D to be more reflective of what it does. r?#layout-reviewers,#gfx-reviewers",
        "bugzilla_id": 1970763,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477654/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477654/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252774"
    },
    "phid": "PHID-DIFF-zkawgsyc6pfra3dznkrh",
    "review_task_id": "BPrSVEx6Qk2DRe9k8XwVyw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "de4d10dd3c99e0129cf05caa66ac53b429454a66",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054001/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T23:59:56.915017Z"
}