List and retrieve diffs with detailed revision information

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

{
    "id": 1080209,
    "revision": {
        "id": 492790,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4a23fcdaddc979dee6ed14ec99d019fa284c20e5",
        "head_changeset": "30754a732b9203e5d50eefe0b78fba0b4a81d847",
        "phabricator_id": 256641,
        "phabricator_phid": "PHID-DREV-be7ivan42l63ehxayfeb",
        "title": "Bug 1972849 - Add same-site redirect Glean event for search detection r?willdurand",
        "bugzilla_id": 1972849,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492790/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492790/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256641"
    },
    "phid": "PHID-DIFF-md5q5q5v3wm4lmxzb46l",
    "review_task_id": "GvfAeNMnTsui-P-X69h3wQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "81201db3d01850993751b048f9cf10bf3e98bed7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080209/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T14:57:42.789424Z"
}