List and retrieve diffs with detailed revision information

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

{
    "id": 1088495,
    "revision": {
        "id": 497526,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "191453bc93922acd8fea9c375b16cc7248fd3765",
        "head_changeset": "862987bbe1b160defde6db9daf248b3b872a6429",
        "phabricator_id": 257791,
        "phabricator_phid": "PHID-DREV-4mfomuupqikatc3bknap",
        "title": "Bug 1972812 - Account Hub Address Book Create LDAP Directory. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1972812,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497526/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497526/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257791"
    },
    "phid": "PHID-DIFF-z3iivzdsie6yljoyv756",
    "review_task_id": "LkQ0zR9_TOycAYIoAwjfFA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9949cf4c25df3838ebe5f7ac6fa7ba0da8e710b3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088495/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T00:16:37.185657Z"
}