List and retrieve diffs with detailed revision information

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

{
    "id": 1110676,
    "revision": {
        "id": 519021,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3109cc48fd95920c7d40587efd0e082ef203f304",
        "head_changeset": "2821e43098011aaccea6015649e101605b06e5b1",
        "phabricator_id": 262227,
        "phabricator_phid": "PHID-DREV-hddwljrvbqckykjwtkhx",
        "title": "Bug 1981770 - Make the Suggest realtime opt-in UI more in line with the spec.",
        "bugzilla_id": 1981770,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/519021/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/519021/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262227"
    },
    "phid": "PHID-DIFF-3ucz2zk6tbq3rpvfydxx",
    "review_task_id": "cEoUlzRkQ4yAkK1DFNh3Cg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fe1d872a199fe71354fa118f593383010849b829",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110676/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-23T20:13:49.090902Z"
}