List and retrieve diffs with detailed revision information

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

{
    "id": 1105445,
    "revision": {
        "id": 508552,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ba1199866b83f043c43d2961b2b5693960954e96",
        "head_changeset": "5a63cbdeefc77b7fc706c6ca4d4faf718adf8446",
        "phabricator_id": 260396,
        "phabricator_phid": "PHID-DREV-d2pepdfm2xa2scztpqhv",
        "title": "Bug 1981835 - Handle mark as junk for older exchange versions. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1981835,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508552/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508552/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260396"
    },
    "phid": "PHID-DIFF-d5oajrqv77pls53psdfa",
    "review_task_id": "cCHikLZ5Qu6KltHCVRWsuQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "3d4eb25b8f45745aa913f189c38cc20f5ac9816e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105445/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T15:33:30.622270Z"
}