List and retrieve diffs with detailed revision information

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

{
    "id": 1080440,
    "revision": {
        "id": 491963,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9339f395e3782ba6e5a58833a911d4438af9cab9",
        "head_changeset": "c5d834fc7eb20e4e408b767179a2a1621315d1b0",
        "phabricator_id": 255764,
        "phabricator_phid": "PHID-DREV-cricftkynei5yke7tcew",
        "title": "WIP: Bug 1974735 - set targetIpAddressSpace for transaction. r=#necko",
        "bugzilla_id": 1974735,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491963/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491963/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255764"
    },
    "phid": "PHID-DIFF-yvu4kagevgg5lziweo62",
    "review_task_id": "ZnjUdk9NRZ2p4Kwj0BzSdQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f2db8ad002a9de1bffa7cca0a42b689ddecc5201",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080440/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T19:51:32.715805Z"
}