List and retrieve diffs with detailed revision information

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

{
    "id": 1050225,
    "revision": {
        "id": 476944,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fd9f7869bf45a2c05b9ed86510e84e1b5905aae1",
        "head_changeset": "c7de95570164b3c963a63ec7aec70f1a99e8a589",
        "phabricator_id": 251954,
        "phabricator_phid": "PHID-DREV-6bte2nxe4geta52zxkop",
        "title": "Bug 1963812 - Migrate the \"sync\" ping to Glean r?markh,skhamis",
        "bugzilla_id": 1963812,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476944/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476944/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251954"
    },
    "phid": "PHID-DIFF-pwede5eogt5heizogufe",
    "review_task_id": "In_76bsGSK6YoKYnayHsGg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c7de95570164b3c963a63ec7aec70f1a99e8a589",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050225/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T21:23:51.708234Z"
}