List and retrieve diffs with detailed revision information

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

{
    "id": 1059341,
    "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-itephb3ifumaa2qitcgg",
    "review_task_id": "LWcNfe_7RB6_liAwhbCITw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3e99d3c5fd6f709680580eb4245ee5ce2ac6f755",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059341/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:04:46.459439Z"
}