List and retrieve diffs with detailed revision information

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

{
    "id": 1087369,
    "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-5yvmohf5v233k6b4lqzp",
    "review_task_id": "GAPaOaroSyeqt-UO-OWPRQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "73917da5d58c82134b41a1f5cc6d9e1f60830a1e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087369/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T17:29:38.859106Z"
}