List and retrieve diffs with detailed revision information

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

{
    "id": 1119512,
    "revision": {
        "id": 513379,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "27bac7fc7ff2be41181ba03bfe7a0da97150ea15",
        "head_changeset": "ac042a7b5503d0a7d530cf5394ec635ecc779911",
        "phabricator_id": 261149,
        "phabricator_phid": "PHID-DREV-xhlwncaftdopirovvnvc",
        "title": "Bug 1983102 - Update address book to use moz-src. r=#thunderbird-reviewers",
        "bugzilla_id": 1983102,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513379/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513379/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261149"
    },
    "phid": "PHID-DIFF-h76wqvgnvuxswstdqevm",
    "review_task_id": "f3js9MjZSKStHqRSVJdv6g",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "4674dc63ae9ea5b828eb40c058e1f531fa648424",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1119512/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-09T17:23:35.532292Z"
}