List and retrieve diffs with detailed revision information

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

{
    "id": 1031603,
    "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-mjbfmstucam6eml5do5l",
    "review_task_id": "IhOG3dacRZm0EWWNTC2RgQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4c41db1a8446992afd9f54be5a9894f1853df4f7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1031603/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-12T11:26:44.387906Z"
}