List and retrieve diffs with detailed revision information

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

{
    "id": 1048220,
    "revision": {
        "id": 475457,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a412a20390c87ac0222f733d93d9f1483b996fe0",
        "head_changeset": "203bf96e01415cd453dd20950a07eb4416103d3b",
        "phabricator_id": 249899,
        "phabricator_phid": "PHID-DREV-yfeeskcs5olc7f7laeco",
        "title": "WIP: Bug 1961386 - Substitute timer local mGeneration with TimerThread global sequence. r?#xpcom-reviewers",
        "bugzilla_id": 1961386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475457/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475457/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249899"
    },
    "phid": "PHID-DIFF-r7wzui75kj7cjsr6rsol",
    "review_task_id": "F7IOct0YQEutq99ahZcV0g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "69d80e42588e207523ba7c89a331da691ef9bc75",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048220/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T13:20:29.480844Z"
}