List and retrieve diffs with detailed revision information

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

{
    "id": 1089301,
    "revision": {
        "id": 496464,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ab1f4f1be64dbebcb4fee3868a4ff130ee397965",
        "head_changeset": "73917da5d58c82134b41a1f5cc6d9e1f60830a1e",
        "phabricator_id": 257541,
        "phabricator_phid": "PHID-DREV-q57gwdiimbr67nl4ce7x",
        "title": "Bug 1976259 - Part 6: Make use of knowledge of which lists are empty when iterating FreeLists and ChunkLists r?sfink",
        "bugzilla_id": 1976259,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496464/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496464/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257541"
    },
    "phid": "PHID-DIFF-lwi553y4y3z7i2bvyvqu",
    "review_task_id": "Wo3eXDBlTCSfcPeFbfEfvA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5556e55a7528af2ab1d3934fc6faedab8ee56755",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1089301/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T08:32:40.286924Z"
}