List and retrieve diffs with detailed revision information

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

{
    "id": 1080504,
    "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-z7xaxn5petem3wvgbzls",
    "review_task_id": "F004-HmHSGKVVngpVMlnOQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "16302e4fb59bb99a613fb53ebe4c549c76031822",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080504/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T21:33:26.011408Z"
}