List and retrieve diffs with detailed revision information

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

{
    "id": 1065704,
    "revision": {
        "id": 475170,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8b5bd772178de6017ae539ae76f5f54c7143a91f",
        "head_changeset": "9ecfbf5b6c5596826ee800780dbf3a076102a721",
        "phabricator_id": 249490,
        "phabricator_phid": "PHID-DREV-my4we6w22pkrolqhkmpp",
        "title": "WIP: Bug 1961272 - Implement SERP telemetry for the DDG Shopping tab. r?jteow!",
        "bugzilla_id": 1961272,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475170/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475170/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249490"
    },
    "phid": "PHID-DIFF-a5rchb6ksgj7l3slz4fw",
    "review_task_id": "GoIsjiVTQcOKakSoKSCY_g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f8a652129814b1aa84ef6e4918bc59a330b2442c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065704/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T23:24:45.565728Z"
}