List and retrieve diffs with detailed revision information

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

{
    "id": 1096682,
    "revision": {
        "id": 491237,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1fdf8d8bdb2b440a5d39166972c890435595f183",
        "head_changeset": "ee42087a5be191ebd7a2c65a20b28bc84eaf11f1",
        "phabricator_id": 256192,
        "phabricator_phid": "PHID-DREV-r4t3gsznpwhgvzcxrp7v",
        "title": "Bug 1975867 - [riscv64] Add proper NaN-boxing to BaseStackFrame::popFloat32 on riscv64. r=rhunt",
        "bugzilla_id": 1975867,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491237/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491237/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256192"
    },
    "phid": "PHID-DIFF-io3auwe3i3cda5bkhfe5",
    "review_task_id": "I_RsukuLRVWKIOg_I7wnGA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1755dfd371e528016b201f0ae436e58b611313a4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1096682/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-28T13:34:01.260683Z"
}