List and retrieve diffs with detailed revision information

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

{
    "id": 1088967,
    "revision": {
        "id": 492417,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eaf95207f1cc1e1352a3369f2598d6aace236a18",
        "head_changeset": "cb3b8064775e4527f366919b78bcd1d55ddc6992",
        "phabricator_id": 256507,
        "phabricator_phid": "PHID-DREV-bcmprgxwjdg5kxvfbska",
        "title": "WIP: Bug 1975799 - Allow panel TreeWalker filter to accept elements with shadowRoots",
        "bugzilla_id": 1975799,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492417/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492417/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256507"
    },
    "phid": "PHID-DIFF-datx53wveslv3tdj6x6k",
    "review_task_id": "c77MxQcrSWabLp96Qa9dcg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "66577afe50478bc746ad4176269840dc94d78538",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088967/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T21:54:15.912493Z"
}