List and retrieve diffs with detailed revision information

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

{
    "id": 1087866,
    "revision": {
        "id": 496815,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2817cf330783b8d0464c4b34ef21c27e14a94e84",
        "head_changeset": "cbab8e83f19b8d5dcf8fbabc3266740dfb5ac58e",
        "phabricator_id": 257660,
        "phabricator_phid": "PHID-DREV-twn7pereo3osehzbsrsz",
        "title": "Bug 1977700 - Skip accounts that need a password prompt to retrieve the password. r=#thunderbird-reviewers",
        "bugzilla_id": 1977700,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496815/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496815/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257660"
    },
    "phid": "PHID-DIFF-kdefl5gu2eurlyxkqvmk",
    "review_task_id": "GSFayZJJQYCay1wsOXy-dw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "cbab8e83f19b8d5dcf8fbabc3266740dfb5ac58e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087866/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T09:23:17.230669Z"
}