List and retrieve diffs with detailed revision information

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

{
    "id": 1081941,
    "revision": {
        "id": 494383,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b5400a1076af4f24a315a298a4c8b82f5b04b3e7",
        "head_changeset": "6487e016d3d9e95cef40522327f76fc5d861b46f",
        "phabricator_id": 257078,
        "phabricator_phid": "PHID-DREV-j5tewd5j3l2uqlfqhuua",
        "title": "Bug 1976992: Make nsFrameManager::CaptureFrameState gracefully proceed (instead of crashing) when encountering placeholder frames with null out-of-flow pointers. r?#layout",
        "bugzilla_id": 1976992,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494383/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494383/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257078"
    },
    "phid": "PHID-DIFF-6as7hjryqzwxrxgcg6da",
    "review_task_id": "GC5cGTjtRpa8p8b5aPJzvw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6487e016d3d9e95cef40522327f76fc5d861b46f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081941/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T22:56:41.167297Z"
}