List and retrieve diffs with detailed revision information

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

{
    "id": 1049137,
    "revision": {
        "id": 476745,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "198e2f43c0e3dc5b4bcfe5f709cef2b3b41f5569",
        "head_changeset": "b4ea6e95b839310a61b6c78ee657e114fd3df8de",
        "phabricator_id": 251695,
        "phabricator_phid": "PHID-DREV-e7jmlstspqufqniziytj",
        "title": "Bug 1968986 - stop download clickjacking test failing tier-2 a11y tests because it's deliberately clicking disabled items, r?mak,ayeddi,#firefox-desktop-core-reviewers",
        "bugzilla_id": 1968986,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476745/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476745/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251695"
    },
    "phid": "PHID-DIFF-4vzzxmvjyv3mf342rcwz",
    "review_task_id": "Yyqj5UQyTYuYSt9eFNoMfg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b4ea6e95b839310a61b6c78ee657e114fd3df8de",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049137/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T11:38:15.253658Z"
}