List and retrieve diffs with detailed revision information

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

{
    "id": 1048985,
    "revision": {
        "id": 438387,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "77c7c62035edf235f884d9d321f23ae3d22fc1f7",
        "head_changeset": "29557b60bbf17846be7b44a053ef52f8b7483986",
        "phabricator_id": 235934,
        "phabricator_phid": "PHID-DREV-bpwk6hgy2vxt6enmm2d2",
        "title": "WIP: Bug 1944507 - Rename mozjemalloc_utils.h to mozjemalloc_stall.h",
        "bugzilla_id": 1944507,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/438387/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/438387/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D235934"
    },
    "phid": "PHID-DIFF-56yflsbpfrvsqh6pcgt3",
    "review_task_id": "GAUQy36wTMmOfRMLCO2ykw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0a1fe188d63a11112f3a90796091d2718d98e2b9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048985/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T06:27:06.462551Z"
}