List and retrieve diffs with detailed revision information

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

{
    "id": 1105626,
    "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-uv5z23bw7ln7favhccue",
    "review_task_id": "dzb3PX4_REKGUNrrxuZzpw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3207e87712cf0141e8b78b788a4b1a1c9c957fe6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105626/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T20:37:05.522496Z"
}