List and retrieve diffs with detailed revision information

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

{
    "id": 1109221,
    "revision": {
        "id": 516174,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "092017bbb6d19e95609a31e368f636bc877cdf0c",
        "head_changeset": "b826ba9e23cbe9aa77b9d938cad334896ec9d524",
        "phabricator_id": 261727,
        "phabricator_phid": "PHID-DREV-upnfmxg2g3znrf5qvg6g",
        "title": "Bug 1979295 - Use folder localizedName for the Location column. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1979295,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516174/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516174/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261727"
    },
    "phid": "PHID-DIFF-cwhrp6zgtj2cge72lqzx",
    "review_task_id": "FjwhNsg9TqSUvIyqO-a9BQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "59a31a7bca1a8e55971745c99dfab99e2ea99789",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109221/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T07:56:12.130337Z"
}