List and retrieve diffs with detailed revision information

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

{
    "id": 1035420,
    "revision": {
        "id": 475345,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "36b6421f53d9375cd3b50c24b43b555f86284af8",
        "head_changeset": "757db8205d68e0b9c79120e95c9017435e8d9f23",
        "phabricator_id": 248644,
        "phabricator_phid": "PHID-DREV-b2lb4amwub6cs3xh2v5j",
        "title": "Bug 1965472 - [mach-try-perf] Use lando commit ID instead of hashes for lando try runs. r?#perftest,aglavic",
        "bugzilla_id": 1965472,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475345/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475345/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248644"
    },
    "phid": "PHID-DIFF-laq2icygxkavh5kz5igc",
    "review_task_id": "E_WbRaOWQI6mRM7xZdj-bw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "50e8178dc6a545686c193f30d0e84421a50b9224",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035420/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T16:35:46.063013Z"
}