List and retrieve diffs with detailed revision information

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

{
    "id": 1111198,
    "revision": {
        "id": 520199,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2b71102f99a605a5ff46391f22f8164f494209c8",
        "head_changeset": "2b560b1318a345a6a3f2486891d76200ddba8f0e",
        "phabricator_id": 262420,
        "phabricator_phid": "PHID-DREV-obnvu2waxbwllpobuo6l",
        "title": "Bug 1985074 - Update logic to show widget toggle button in Customize panel when enrolled via Experimenter r?#home-newtab-reviewers",
        "bugzilla_id": 1985074,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520199/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520199/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262420"
    },
    "phid": "PHID-DIFF-5iww4ulyzxlozzxdaj3r",
    "review_task_id": "H8zqqVYdTnqu9bbiBSPwmw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2b560b1318a345a6a3f2486891d76200ddba8f0e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111198/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T16:52:06.770649Z"
}