List and retrieve diffs with detailed revision information

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

{
    "id": 1112197,
    "revision": {
        "id": 521332,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ce47d913983c57a7b48d8a0f08e431b5dd7ab732",
        "head_changeset": "9d9430b90f82059136b8ce413fc64a713c5b513b",
        "phabricator_id": 262632,
        "phabricator_phid": "PHID-DREV-cvjn4wvsk6eh4s4znujh",
        "title": "Bug 1979371 - Change primary color to bolt primary color. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1979371,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521332/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521332/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262632"
    },
    "phid": "PHID-DIFF-u2ako5wooerskwwqsbjz",
    "review_task_id": "QZhfMP2dQAOPzLojqV8fKA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9d9430b90f82059136b8ce413fc64a713c5b513b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112197/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T19:29:35.472974Z"
}