List and retrieve diffs with detailed revision information

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

{
    "id": 1106095,
    "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-fsfo6eam4erzrqft37c2",
    "review_task_id": "XxKhfq43SCuMR_2jNJ30ig",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9203ef6ff2e7d1e809666112fc4cd25424723028",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1106095/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T16:37:03.013798Z"
}