List and retrieve diffs with detailed revision information

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

{
    "id": 1066142,
    "revision": {
        "id": 481460,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "82e5f1fee2cd208626476972d9cf282c47bb4dbd",
        "head_changeset": "c610ccb712ed045cfc69a09491144da261151946",
        "phabricator_id": 254196,
        "phabricator_phid": "PHID-DREV-5yd2bo3yvl2mzt4vlfgl",
        "title": "Bug 1972757 - Store cookie expiry value as msec, r?valentin",
        "bugzilla_id": 1972757,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481460/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481460/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254196"
    },
    "phid": "PHID-DIFF-tvohm4z2jyn65fsb47tk",
    "review_task_id": "I7XRzvEFSoyhqhnSSY8wvA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cc05e8876748acb955eb2fac98714fe5eadb85e5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066142/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T16:11:35.241696Z"
}