List and retrieve diffs with detailed revision information

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

{
    "id": 1092577,
    "revision": {
        "id": 477899,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4e83647673a58f3d379f53d5d4e2ce0e840c03df",
        "head_changeset": "71e4b34cdbbad42cea4b14ab4c0f6f24b7325d88",
        "phabricator_id": 253058,
        "phabricator_phid": "PHID-DREV-i3ifnycxnarhbvbge726",
        "title": "WIP: Bug 1971158 - Vendor llama.cpp.",
        "bugzilla_id": 1971158,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477899/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477899/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253058"
    },
    "phid": "PHID-DIFF-fslke3uh2fhepmxlqgen",
    "review_task_id": "XW_a_JqQSrqZ8fEz-85bwA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5966ee1c56776dcefe614206ff5e22c367f9f41e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1092577/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T16:47:56.943288Z"
}