List and retrieve diffs with detailed revision information

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

{
    "id": 1108819,
    "revision": {
        "id": 512152,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c51cabb2e48997969eb68ba245067238fbe46ec",
        "head_changeset": "a38c538f59a806c2a41f2e28a8ce4dd2ad5f4329",
        "phabricator_id": 260984,
        "phabricator_phid": "PHID-DREV-zhghybem3k5krdawfpyh",
        "title": "Bug 1981912 - Part 2: Add a \"Show all\" button for Stories to navigate to the Stories screen",
        "bugzilla_id": 1981912,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512152/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512152/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260984"
    },
    "phid": "PHID-DIFF-fbkgjhf4s362ememfwfi",
    "review_task_id": "GVu0m3SWRTSUARUTr3b-mA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4f98acc475ee6af14686f70d323d4f4dcf7a4f65",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108819/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T17:21:14.351557Z"
}