List and retrieve diffs with detailed revision information

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

{
    "id": 1053489,
    "revision": {
        "id": 476618,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1b315f104be020f138c617de722a3649feeec084",
        "head_changeset": "7e3d4914fb7a82d16dcf9e367cedd741f18cc595",
        "phabricator_id": 251559,
        "phabricator_phid": "PHID-DREV-onz33prq34qi5lxvgizs",
        "title": "WIP: Bug 1964600 - Move the IPC waiting and connection logic directly into the server",
        "bugzilla_id": 1964600,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476618/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476618/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251559"
    },
    "phid": "PHID-DIFF-lw3gukhfwpfbxzmlm7uu",
    "review_task_id": "aiCud3EZRFmNWiskkNU4FA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "03d9646b6df5efe14336064edb18c5321875e599",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053489/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T13:32:53.834687Z"
}