List and retrieve diffs with detailed revision information

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

{
    "id": 1056370,
    "revision": {
        "id": 477823,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "0e35d7cc243f8482a182f19212f3299916a78f33",
        "head_changeset": "1dae51aa11c1b5778a5923a634ad743257f7c86b",
        "phabricator_id": 252975,
        "phabricator_phid": "PHID-DREV-nwo53ybuqckteghdyc53",
        "title": "Bug 1971060 - Make virtual folders work with the new database. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1971060,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477823/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477823/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252975"
    },
    "phid": "PHID-DIFF-gihq4fuv2zphxtgpo7ic",
    "review_task_id": "UIdvilVTSOC4ESC8JgCtTQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "06e4c497f3e87921ae9961e34909750932bdbc85",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056370/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T01:03:23.732560Z"
}