List and retrieve diffs with detailed revision information

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

{
    "id": 1053573,
    "revision": {
        "id": 474773,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "77c0fd2d1634feb35db7379d7c1f1c92d5bc4318",
        "head_changeset": "00530073914bed0072b66fc1cf44c4dfaa8b4c36",
        "phabricator_id": 248941,
        "phabricator_phid": "PHID-DREV-bb7mndikwih2zxgf7b2a",
        "title": "WIP: Bug 1964730 - part 3 - Configure the composable toolbar in custom tabs",
        "bugzilla_id": 1964730,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474773/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474773/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248941"
    },
    "phid": "PHID-DIFF-fcua2nia4lnxrlt2zhug",
    "review_task_id": "TpcrIrqVTTueqWTWRaR1Ig",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "366cfea7dabce01e89728c7b2b7594766d884a11",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053573/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T15:37:40.950007Z"
}