List and retrieve diffs with detailed revision information

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

{
    "id": 1079506,
    "revision": {
        "id": 492212,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "de63c596b1cfc3f84ff0c287440acdde8b150924",
        "head_changeset": "7ff8a51fc7734b237b85487d0a2b35f964908083",
        "phabricator_id": 256465,
        "phabricator_phid": "PHID-DREV-jgmvmi6tmt6fcw3jskwz",
        "title": "Bug 1976203 - Re-run update trainhop addon state logic on Nimbus feature updates events. r?mconley!,willdurand!,beth!",
        "bugzilla_id": 1976203,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492212/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492212/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256465"
    },
    "phid": "PHID-DIFF-kkas6srsvuhp4rjase7l",
    "review_task_id": "b3EdM_kJRIKBFhdAj7_l9A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7ff8a51fc7734b237b85487d0a2b35f964908083",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079506/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T15:21:26.772340Z"
}