List and retrieve diffs with detailed revision information

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

{
    "id": 1054960,
    "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-22yrypfy7dageii75bed",
    "review_task_id": "SosbNIfTQGq-IvOH3VH7zQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "183b419c9dfafbcedb54b2546f3c073ee34610b2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054960/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T10:06:59.840313Z"
}