List and retrieve diffs with detailed revision information

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

{
    "id": 1052386,
    "revision": {
        "id": 476713,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "e9b55370c991759e97ada8cfe8684091b9927b6f",
        "head_changeset": "5870397c84428f29ce2e2ff215afd7d0f02ddf5f",
        "phabricator_id": 251667,
        "phabricator_phid": "PHID-DREV-4o7w5fxjrlec6tkiqn7j",
        "title": "Bug 1965746 - Migrate threading information to the new database. r=BenC,#thunderbird-back-end-reviewers",
        "bugzilla_id": 1965746,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476713/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476713/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251667"
    },
    "phid": "PHID-DIFF-asqzmzj2jgf2g333mnft",
    "review_task_id": "SH_5Av-JTNmJBX0f90MeNg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "404c1a720cd53f7b845fd59ae577966771a145b4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052386/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T00:26:29.001698Z"
}