List and retrieve diffs with detailed revision information

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

{
    "id": 1077855,
    "revision": {
        "id": 490522,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "79fb45ef6b0662ad43d68e6137d4daf496206ff4",
        "head_changeset": "8ee77c27a22e0c3e6d94bed489c69a8871a4f1f6",
        "phabricator_id": 256069,
        "phabricator_phid": "PHID-DREV-jcr2lhrjpzsbbihhsrp4",
        "title": "Bug 1975645 - [riscv64] Part 2: Implement MacroAssembler::branchTestPtr. r=jandem",
        "bugzilla_id": 1975645,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490522/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490522/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256069"
    },
    "phid": "PHID-DIFF-72so3h6blhlleyqdjzcq",
    "review_task_id": "GpGsGM_qTtq2Vqt6-Wk_qA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8ee77c27a22e0c3e6d94bed489c69a8871a4f1f6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077855/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T04:14:31.892814Z"
}