List and retrieve diffs with detailed revision information

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

{
    "id": 1030262,
    "revision": {
        "id": 472577,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0e01c4d429f7b95aacdced944f6e83b01cf3e989",
        "head_changeset": "22438615522e6967ff3a39b174c196759fdb4c00",
        "phabricator_id": 245619,
        "phabricator_phid": "PHID-DREV-yyucpvzxi2xajbawlljg",
        "title": "WIP: Bug 1942390 - create basic moz-visual-picker elements",
        "bugzilla_id": 1942390,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472577/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472577/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245619"
    },
    "phid": "PHID-DIFF-bcw7kl3sts6e6saxw2zr",
    "review_task_id": "DT6Yi__eT_OOojagYLhzAg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4bb29ac6d7bde9b2a5cb8bc48809d34d39ee5fb6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1030262/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-09T05:08:53.525344Z"
}