List and retrieve diffs with detailed revision information

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

{
    "id": 1035349,
    "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-jun4ih7oqfw2r4f6gbzf",
    "review_task_id": "U9ePhBWvQoqznPIlhw1XHQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "757db8205d68e0b9c79120e95c9017435e8d9f23",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035349/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T15:11:30.347694Z"
}