List and retrieve diffs with detailed revision information

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

{
    "id": 1105402,
    "revision": {
        "id": 511958,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f53bcb3c2e3fae0b95f52a06e685589110c5fe34",
        "head_changeset": "ebced06c1b552a4f658d79e0ffe791dad01a5547",
        "phabricator_id": 260920,
        "phabricator_phid": "PHID-DREV-2lun4vvep6k4vtcctcjq",
        "title": "Bug 1969417 - Set and reset actionmode attribute at appropriate times to prevent it from being false when action search mode results are visible. r?dao",
        "bugzilla_id": 1969417,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511958/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511958/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260920"
    },
    "phid": "PHID-DIFF-w5p2vmock2cj7i2nrcfu",
    "review_task_id": "GuGJ3jFOQ5-LXjo0_jp8uw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8e66c1cf2b022ff97483c0e1977f67fe5c4d5ba5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105402/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T14:49:09.289291Z"
}