List and retrieve diffs with detailed revision information

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

{
    "id": 1046900,
    "revision": {
        "id": 475817,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7bc0cf7139b8b23291500d0daabedb6325aedb66",
        "head_changeset": "d9d10e40ecab12a3a7d09a86f8557185144f13b3",
        "phabricator_id": 250384,
        "phabricator_phid": "PHID-DREV-mtnytquqxb6pzbkewnkd",
        "title": "Bug 1928254 - pt 3b. Hazard analysis now ignores callbacks in mozjemalloc r=sfink",
        "bugzilla_id": 1928254,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475817/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475817/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250384"
    },
    "phid": "PHID-DIFF-4rri7tgxnmzvvdsixm7w",
    "review_task_id": "TxYzHU7OTryF6WaL6znBPQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0bea23d42c69515c23c9aabdf1a1e0e1d15e3ae8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1046900/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T06:07:29.041195Z"
}