List and retrieve diffs with detailed revision information

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

{
    "id": 1088347,
    "revision": {
        "id": 496001,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "68d4f898e8a65299d7a038b426f1d7883f12c0e4",
        "head_changeset": "9c4505d8c391fa4655891d29193e41ff4e404139",
        "phabricator_id": 257395,
        "phabricator_phid": "PHID-DREV-a2elt7rgkad6zvilnqfv",
        "title": "Bug 197748 - Create lists widget with basic functionality r=#home-newtab-reviewers",
        "bugzilla_id": 197748,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496001/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496001/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257395"
    },
    "phid": "PHID-DIFF-hizekbthw75exubgrkhi",
    "review_task_id": "ECxFU7JKRHe5MCUsFrSY1Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6c2afd54e2c1cdd50e7d3d2284f8743b24ea3745",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088347/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T19:52:36.406888Z"
}