List and retrieve diffs with detailed revision information

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

{
    "id": 1072000,
    "revision": {
        "id": 475985,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "163c1a1394cfa3c076f8cfb48e15551adb65f6e8",
        "head_changeset": "ebd3694b7b1b2c40176a62b14ffcb7cd19f0a3fb",
        "phabricator_id": 250591,
        "phabricator_phid": "PHID-DREV-tzirp4pivkowgheywp3r",
        "title": "Bug 1967577 - update rtp-stats-creation.html WPT outbound-rtp timing expectations;r?dbaker",
        "bugzilla_id": 1967577,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475985/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475985/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250591"
    },
    "phid": "PHID-DIFF-q25gddjvsnof3w5tnbvh",
    "review_task_id": "dBtGCtWvRseo4c9uCg8w2Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9b5f8cd20c9d63112f904011e24cbe245bc2973e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072000/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T03:12:37.573309Z"
}