List and retrieve diffs with detailed revision information

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

{
    "id": 1048760,
    "revision": {
        "id": 476697,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f6324c4a6d7c89e395aef7ed7bf211d24d45225c",
        "head_changeset": "4275c5389458ca65a4635991ac2d932a4ba2bc85",
        "phabricator_id": 251650,
        "phabricator_phid": "PHID-DREV-htcg7tcavc5k4p6tftz2",
        "title": "Bug 1968876 - backout removal of dcomp blocklist for Win10 NVIDIA with mixed refresh rates r?#gfx-reviewers",
        "bugzilla_id": 1968876,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476697/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476697/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251650"
    },
    "phid": "PHID-DIFF-cs7cbspytd5eolcjxign",
    "review_task_id": "BrD4xHwBQqy3s3IxUC99pg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4275c5389458ca65a4635991ac2d932a4ba2bc85",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048760/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T21:32:15.124933Z"
}