List and retrieve diffs with detailed revision information

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

{
    "id": 1096922,
    "revision": {
        "id": 477519,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5bea1bf580e0063138806213114872afabd8e82c",
        "head_changeset": "9dce6e56922f8c49226f8ef132bb59bd202051dd",
        "phabricator_id": 251657,
        "phabricator_phid": "PHID-DREV-ix7hq7jvs3gxnjovijla",
        "title": "WIP: Bug 1889757 Part 7: Interpret messages in NativeLayerRemoteParent.",
        "bugzilla_id": 1889757,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477519/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477519/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251657"
    },
    "phid": "PHID-DIFF-azzn5xzf5khi2sf2ocqe",
    "review_task_id": "SA0TLc6DT5ubqrYk6OqzPg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0454cb5166bfea8173f204ea40bd491b8ede661a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1096922/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-28T18:03:01.005317Z"
}