List and retrieve diffs with detailed revision information

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

{
    "id": 1078481,
    "revision": {
        "id": 491280,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "96a5e664efef2593b090d50fe7de4006d74e5f72",
        "head_changeset": "5c010c635d34ffb7b942385a7bb15265ff93782b",
        "phabricator_id": 256194,
        "phabricator_phid": "PHID-DREV-yy5sulnpjyxwuta65hjg",
        "title": "Bug 1955340 - Ensure sidebar-main is opaque when expanded-on-hover with Windows Mica. r=kcochrane!",
        "bugzilla_id": 1955340,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491280/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491280/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256194"
    },
    "phid": "PHID-DIFF-kvb5bj7sek3mvzqwaovw",
    "review_task_id": "LGR8JUUISMuxyLom4zZb9Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5c010c635d34ffb7b942385a7bb15265ff93782b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078481/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-06T15:10:04.649613Z"
}