List and retrieve diffs with detailed revision information

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

{
    "id": 1109220,
    "revision": {
        "id": 516751,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "05d50287fb8c85e8f24ab943072e84f42cff75cd",
        "head_changeset": "4d68febc1408b201016ff6097a3eaeeb7fcfb3b7",
        "phabricator_id": 261882,
        "phabricator_phid": "PHID-DREV-wmyf4gfe3kc5fsrorhpi",
        "title": "Bug 1981290 - crashtest r=dholbert",
        "bugzilla_id": 1981290,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516751/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516751/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261882"
    },
    "phid": "PHID-DIFF-sm5h3rjckrrbjxl6ihek",
    "review_task_id": "Lvet5EdISZieNfPuamTvag",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4d68febc1408b201016ff6097a3eaeeb7fcfb3b7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109220/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T08:01:03.351917Z"
}