List and retrieve diffs with detailed revision information

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

{
    "id": 1066576,
    "revision": {
        "id": 469251,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9618bcf1929211ce4b5700a9271ddbc1038878d6",
        "head_changeset": "6d7366eab4c228a262f4da9cf869134c249f1b5c",
        "phabricator_id": 241635,
        "phabricator_phid": "PHID-DREV-vnmbmg7m4cavkndw2elb",
        "title": "Bug 1928096 - Native messaging test with xdg-desktop-portal. r?robwu",
        "bugzilla_id": 1928096,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/469251/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/469251/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D241635"
    },
    "phid": "PHID-DIFF-dr7byxoke2bbxmcnhpp3",
    "review_task_id": "HTjT-Qy7Rvu14lWnd4klFQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f1b12e4a157aa554c75de0347414441d0bddd538",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066576/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T09:17:59.236836Z"
}