List and retrieve diffs with detailed revision information

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

{
    "id": 1107742,
    "revision": {
        "id": 513473,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "5f0a98e49b1c71c25240748a20dad4bbe0c1fd47",
        "head_changeset": "9ff10f7f7223af9e7c973685bbbb177b15b74c75",
        "phabricator_id": 261163,
        "phabricator_phid": "PHID-DREV-xixyrpyhnlzk5qnmh2x4",
        "title": "Bug 1981174 - Make address book email lookup from cache case-insensitive. r=#thunderbird-reviewers",
        "bugzilla_id": 1981174,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513473/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513473/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261163"
    },
    "phid": "PHID-DIFF-hqpngf3lpqfncaw5st4b",
    "review_task_id": "cXxghbE4RCCjuRdXhdSb0Q",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c99bef1e9bdf5fa8cfceef6daaedd9966c15b5c0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107742/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T12:52:19.884934Z"
}