List and retrieve diffs with detailed revision information

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

{
    "id": 1077023,
    "revision": {
        "id": 478319,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3bf656ec4a648238bfbcf41f0b446464af1c102d",
        "head_changeset": "4175278b017ad4daf5baafabdec07eeca9f9da5c",
        "phabricator_id": 253563,
        "phabricator_phid": "PHID-DREV-ntagduj44535qjmyi5tg",
        "title": "WIP: Bug 1966549 - Trace stack anyway",
        "bugzilla_id": 1966549,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478319/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478319/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253563"
    },
    "phid": "PHID-DIFF-ukl5tl55j6dqgoxn445e",
    "review_task_id": "UNBGIdHrQZW-mm6p0fdqdw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d0e0aa4985f5cb24f0a9098bdafac951cdd39cb0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077023/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T20:04:12.246793Z"
}