List and retrieve diffs with detailed revision information

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

{
    "id": 1089002,
    "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-53z4ryl4cuus3wrj4ivu",
    "review_task_id": "WipAdmmQRN2ZwbvWmDX_iw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "df3696b0b8b5996d3c69e829d5af22e1bc4662bc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1089002/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T23:10:27.314959Z"
}