List and retrieve diffs with detailed revision information

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

{
    "id": 1075941,
    "revision": {
        "id": 488986,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3898392df5a6d18ee10fff62c672336a5640ee5f",
        "head_changeset": "9bd84de341c29ef951f2760537532518e55bc8bb",
        "phabricator_id": 253453,
        "phabricator_phid": "PHID-DREV-djkve52iwqywvdks6kuf",
        "title": "Bug 1971675 - Fix switchDesktopSiteModeOnOffTest UI test",
        "bugzilla_id": 1971675,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488986/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488986/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253453"
    },
    "phid": "PHID-DIFF-shfitoqohob2qgprhg6c",
    "review_task_id": "XfUNCOQTSm2GMtcVC6ZhaQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9bd84de341c29ef951f2760537532518e55bc8bb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075941/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T13:15:47.819796Z"
}