List and retrieve diffs with detailed revision information

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

{
    "id": 1105468,
    "revision": {
        "id": 508568,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "58632dda0c3fd291e18ecf2522e07edaa604753b",
        "head_changeset": "5622df91e2715a48d4127f858cdbe2ffbc390ef4",
        "phabricator_id": 260399,
        "phabricator_phid": "PHID-DREV-xztp4w7aaunu276homna",
        "title": "Bug 1975480 - Part 2: tests for Strict exception onboarding message targeting r?#anti-tracking!",
        "bugzilla_id": 1975480,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508568/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508568/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260399"
    },
    "phid": "PHID-DIFF-dtranrx666rkgw7hm7ok",
    "review_task_id": "Y4kVnVm3TQ28Obi1UvnNRA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6fa3efbfac0438d4ecabe7bea0618ea8e3108cf0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105468/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T16:07:10.600609Z"
}