List and retrieve diffs with detailed revision information

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

{
    "id": 1085873,
    "revision": {
        "id": 495308,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "1ce6ab12ad1f82797deffc4bf48fd4bb8cd66015",
        "head_changeset": "bf5217d358b54dcc3d896faacf1fe693e2146deb",
        "phabricator_id": 257164,
        "phabricator_phid": "PHID-DREV-rsnrsamojlpjfw2wl6c5",
        "title": "Bug 1977229 - Register the UIDesnity and UIFontSize window after the compose contacts pane tree view has been loaded. r=#thunderbird-reviewers",
        "bugzilla_id": 1977229,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495308/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495308/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257164"
    },
    "phid": "PHID-DIFF-zrm4e56hulu37zsxkgxy",
    "review_task_id": "H1VqPvmKQmKhvA7HqQ09CA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "bf5217d358b54dcc3d896faacf1fe693e2146deb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1085873/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T16:34:17.649404Z"
}