List and retrieve diffs with detailed revision information

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

{
    "id": 1111296,
    "revision": {
        "id": 520363,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0ad3abe191d578f9aecfcff31f811a303296cccb",
        "head_changeset": "adbbac8c9bef13b6df01c31d9233531e38ba601f",
        "phabricator_id": 262460,
        "phabricator_phid": "PHID-DREV-ququwrl3mkuzma6bxodc",
        "title": "Bug 1957680 - Trigger a fake scrollend event in case it hasn't been triggered by the browser in the pdf viewer",
        "bugzilla_id": 1957680,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520363/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520363/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262460"
    },
    "phid": "PHID-DIFF-ftmswsoz6ijcwchl7y2m",
    "review_task_id": "P6xAjV8GR9WDcEPWQAy2-g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "adbbac8c9bef13b6df01c31d9233531e38ba601f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111296/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T18:58:36.428885Z"
}