List and retrieve diffs with detailed revision information

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

{
    "id": 1047974,
    "revision": {
        "id": 438369,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "77c7c62035edf235f884d9d321f23ae3d22fc1f7",
        "head_changeset": "ef7728063ea7d58710e9e64c0f84c1731fd123a2",
        "phabricator_id": 235935,
        "phabricator_phid": "PHID-DREV-jbobllhzydhu4crwhvoh",
        "title": "WIP: Bug 1944507 - Break up mozjemalloc.cpp",
        "bugzilla_id": 1944507,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/438369/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/438369/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D235935"
    },
    "phid": "PHID-DIFF-2vuedrp63wp6oqt2zrrr",
    "review_task_id": "cFd4ItbHSiqyRlVORngEvQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9a4a0cba0f57584b487b373417343fb9eb612d88",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047974/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T08:05:52.655306Z"
}