List and retrieve diffs with detailed revision information

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

{
    "id": 1065073,
    "revision": {
        "id": 481518,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fddabb07caf1f02e7aa8992f47e55c5ce3a1231c",
        "head_changeset": "c3a30841aa9f14459a48a23656bb5777a5d37315",
        "phabricator_id": 254209,
        "phabricator_phid": "PHID-DREV-zimx3r4n5os2qgsbm36n",
        "title": "Bug 1967474 - Clear-Site-Data: \"cache\": rename secondOrigin to crossSite to make variable name match its use",
        "bugzilla_id": 1967474,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481518/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481518/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254209"
    },
    "phid": "PHID-DIFF-pelorcad3eniz3nymhkb",
    "review_task_id": "GiOczvV0QbaqhzYSCsxZrw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c3a30841aa9f14459a48a23656bb5777a5d37315",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065073/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T13:41:27.624785Z"
}