List and retrieve diffs with detailed revision information

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

{
    "id": 1072352,
    "revision": {
        "id": 479951,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "80a930d914b33d18842e8af76103e6dc1ffc4031",
        "head_changeset": "c0ba5fa3f8cc19c07e6c52929c382e0a725b2ae6",
        "phabricator_id": 253862,
        "phabricator_phid": "PHID-DREV-bxorgnhgu5icesgacqty",
        "title": "WIP: Bug 1972392 - shortcuts thompson sampling",
        "bugzilla_id": 1972392,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479951/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479951/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253862"
    },
    "phid": "PHID-DIFF-uo5d2evvt3cyzgwe5cqw",
    "review_task_id": "X2DfkUS3Q0qNJL1jjMhI5w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6c948fbc5649267a03e9d7caaf3ff3d9090c9fc0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072352/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T16:08:59.438925Z"
}