List and retrieve diffs with detailed revision information

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

{
    "id": 1031809,
    "revision": {
        "id": 472522,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0e01c4d429f7b95aacdced944f6e83b01cf3e989",
        "head_changeset": "a1b9e897faba588fff20eda7aea9ce2aa1dfda4c",
        "phabricator_id": 245561,
        "phabricator_phid": "PHID-DREV-bqn647fm3imblywkf26e",
        "title": "WIP: Bug 1959365 - WorkerScope: Implement missing IsPlayingAudio(), r=smaug",
        "bugzilla_id": 1959365,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472522/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472522/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245561"
    },
    "phid": "PHID-DIFF-jaik6hjgjxkx7hkbpzp7",
    "review_task_id": "Spr_397gTMeGhP2u21475g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a029eeb0e902789778cd66159bb4d92c9715b943",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1031809/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-12T16:09:13.144665Z"
}