List and retrieve diffs with detailed revision information

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

{
    "id": 1085996,
    "revision": {
        "id": 474031,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f938bfec8eaa4237a812c44fac0d23861af4eae",
        "head_changeset": "fe7932647fef365d6fd38c9ba1970b6355ac6661",
        "phabricator_id": 247835,
        "phabricator_phid": "PHID-DREV-mleftvw3wxsg6ulzqifu",
        "title": "Bug 1894123 - wasm: Rework branch hinting to move cold blocks out of line.",
        "bugzilla_id": 1894123,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474031/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474031/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247835"
    },
    "phid": "PHID-DIFF-yln6kmp2rtfetpihovio",
    "review_task_id": "a_fKKVnUSJS2KfKLEVyOiw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4196cbe9f68a7f689f436b4740bce81c93a1742a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1085996/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T20:44:25.430924Z"
}