List and retrieve diffs with detailed revision information

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

{
    "id": 1087867,
    "revision": {
        "id": 496816,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2817cf330783b8d0464c4b34ef21c27e14a94e84",
        "head_changeset": "ba28efda41e7448c44aaf2d2253a30f02c8493fd",
        "phabricator_id": 257661,
        "phabricator_phid": "PHID-DREV-dvzxnqnq4n2jbgwrot3i",
        "title": "Bug 1977703 - More reliable error handling for account hub address book discovery. r=#thunderbird-reviewers",
        "bugzilla_id": 1977703,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496816/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496816/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257661"
    },
    "phid": "PHID-DIFF-d5rinamvic453pdnic3g",
    "review_task_id": "Hmn08yFRS6qk5QgAMjvDrQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "ba28efda41e7448c44aaf2d2253a30f02c8493fd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087867/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T09:23:34.101164Z"
}