List and retrieve diffs with detailed revision information

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

{
    "id": 1057779,
    "revision": {
        "id": 477891,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "905d8d08941a80caad2ad06484df0d7d64d1d276",
        "head_changeset": "7a87e13b616c3b771c393e3f41b70f4648369572",
        "phabricator_id": 253051,
        "phabricator_phid": "PHID-DREV-rkpaaumpw4nwfc6ilbze",
        "title": "WIP: Bug 1966169: Move TabGrouped and TabUngrouped events to tab.js so that events always fire in the corrct order",
        "bugzilla_id": 1966169,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477891/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477891/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253051"
    },
    "phid": "PHID-DIFF-svqrkywnlpkejftwpt3n",
    "review_task_id": "HJAQFv5zRmmgwzBwYUpo7g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "78a3d1deb5aa2c819240658cb00b952cc6960636",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057779/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T16:19:06.356572Z"
}