List and retrieve diffs with detailed revision information

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

{
    "id": 1104749,
    "revision": {
        "id": 511309,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "68d37f9acbd49fbe5b7ad759935475128bcf26e1",
        "head_changeset": "edd4fa083a65247f5a47b6ba700eae95dc04a248",
        "phabricator_id": 260829,
        "phabricator_phid": "PHID-DREV-otiwfa6cltn53k52gp3z",
        "title": "WIP: Bug 1982599 - Update js2 with patched revision r?#perftest",
        "bugzilla_id": 1982599,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511309/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511309/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260829"
    },
    "phid": "PHID-DIFF-yzx54hfgnk56xul5r65m",
    "review_task_id": "Xfnlu3HMR96VT8PSxKG58g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "edd4fa083a65247f5a47b6ba700eae95dc04a248",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104749/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T15:01:33.093577Z"
}