List and retrieve diffs with detailed revision information

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

{
    "id": 1108053,
    "revision": {
        "id": 515530,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "3aa733ecdbed403e8a71c04d2e2d2ba5ba9494ff",
        "head_changeset": "62298b42775ab41f35bf0e23f743beb477a87a8e",
        "phabricator_id": 261612,
        "phabricator_phid": "PHID-DREV-k66go6mzfryawiwvkups",
        "title": "Bug 1982873 - Fix lint errors in calendar.ftl and re-enable linting. r=#thunderbird-reviewers",
        "bugzilla_id": 1982873,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515530/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515530/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261612"
    },
    "phid": "PHID-DIFF-wuagmxdbv5kcporsu3bv",
    "review_task_id": "G21LF5_7Q1674xLai4Jouw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "62298b42775ab41f35bf0e23f743beb477a87a8e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108053/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T18:17:56.331458Z"
}