List and retrieve diffs with detailed revision information

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

{
    "id": 1104676,
    "revision": {
        "id": 511263,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "68d37f9acbd49fbe5b7ad759935475128bcf26e1",
        "head_changeset": "2b7d6510874c19450e4a379fe0bbc53b5aa80923",
        "phabricator_id": 260816,
        "phabricator_phid": "PHID-DREV-c75oxsilaamangfxajsc",
        "title": "Bug 1982408 - Keep separate deque of pending work done promises per each queue. r?#webgpu-reviewers",
        "bugzilla_id": 1982408,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511263/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511263/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260816"
    },
    "phid": "PHID-DIFF-ifvcczg22wcx635bbz2g",
    "review_task_id": "Fhz6TWthSeW_DY6pRsUrDw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2b7d6510874c19450e4a379fe0bbc53b5aa80923",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104676/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T12:38:53.175039Z"
}