List and retrieve diffs with detailed revision information

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

{
    "id": 1077376,
    "revision": {
        "id": 490041,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9e65f5e0b1f19a364c2c6c871bb636f0935c93d3",
        "head_changeset": "dccb3c37de0b3379093f6e0512b6ff0c46328660",
        "phabricator_id": 255962,
        "phabricator_phid": "PHID-DREV-qwnb5ww4lahiwqhb7h4g",
        "title": "Bug 1975439 - [riscv64] Part 2: Implement MacroAssembler::patchSub32FromMemAndBranchIfNegative for riscv64. r=jandem",
        "bugzilla_id": 1975439,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490041/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490041/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255962"
    },
    "phid": "PHID-DIFF-yaykbgxxvdwlivvu5b46",
    "review_task_id": "dtlA_2OsQUm_d2p328sUrA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "dccb3c37de0b3379093f6e0512b6ff0c46328660",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077376/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T13:34:53.981571Z"
}