List and retrieve diffs with detailed revision information

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

{
    "id": 1078575,
    "revision": {
        "id": 491344,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cddd67bf463482e2460e448f904218923e31f047",
        "head_changeset": "caf43f41811aeb6da4aaaa018a83ef387688e242",
        "phabricator_id": 256224,
        "phabricator_phid": "PHID-DREV-hmgo32qrgk4tcjqhq7ug",
        "title": "Bug 1959016 - Add WPT to check attributes of a coalesced event of `pointerrawupdate` r=smaug!,#dom-core",
        "bugzilla_id": 1959016,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491344/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491344/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256224"
    },
    "phid": "PHID-DIFF-eluizn2lm7ru3yxzmqam",
    "review_task_id": "SdoCLVF3Tcqrgu_Ba3xryw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "caf43f41811aeb6da4aaaa018a83ef387688e242",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078575/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T07:37:19.284237Z"
}