List and retrieve diffs with detailed revision information

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

{
    "id": 1055648,
    "revision": {
        "id": 476435,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85b6ac5848322ca461fc7cc7fb9d3d9af30d8e25",
        "head_changeset": "6da16e3d711bbbc923fce101dc044de5781707de",
        "phabricator_id": 251363,
        "phabricator_phid": "PHID-DREV-mdwwleblpssl7t6xjh7w",
        "title": "WIP: Bug 1968479 - Allow eval in a11y tests.",
        "bugzilla_id": 1968479,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476435/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476435/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251363"
    },
    "phid": "PHID-DIFF-iarazkdece2jj237ni43",
    "review_task_id": "OnVMnZ1cRmO0Bp5bmqObwQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "feae65bccf051e202a4a82a71591798316d9f50f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055648/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T08:43:54.453322Z"
}