List and retrieve diffs with detailed revision information

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

{
    "id": 1073840,
    "revision": {
        "id": 482666,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "fce907859dea303c77e6ac30b0afc89c62b7f3e3",
        "head_changeset": "a05a7fd8da7217fcfce01889bab7bb1796f1a065",
        "phabricator_id": 254439,
        "phabricator_phid": "PHID-DREV-pj6o3lnbpqg6kjz4nuah",
        "title": "WIP: Bug 1972710 - Implement and option to reset all custom folder sorting",
        "bugzilla_id": 1972710,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482666/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482666/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254439"
    },
    "phid": "PHID-DIFF-o6bnhdtsb3aidgd2xlm5",
    "review_task_id": "XXk2fYyfSBCIHQ27ZK4Lew",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "0f32cf65b63522976ed6ea50163c88b0a04f1822",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073840/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T22:53:56.678816Z"
}