List and retrieve diffs with detailed revision information

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

{
    "id": 1058690,
    "revision": {
        "id": 478661,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4c7db07423ab7d1e3be6b6af2afa963dd20ed02d",
        "head_changeset": "ce707c490b7de095dcf53e9584a54353657a756d",
        "phabricator_id": 253710,
        "phabricator_phid": "PHID-DREV-oz2pk7yasuv7ly2jkyui",
        "title": "Bug 1971486: Allow collapsing of relative invalidations in DOM mutation subtree. r=#style",
        "bugzilla_id": 1971486,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478661/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478661/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253710"
    },
    "phid": "PHID-DIFF-dneqcy4lhoesq7k4jn6w",
    "review_task_id": "W3j00t0WTLOSXcx1y8v0Iw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9d946c15826e0f4fc443078eb7110f1fcbc1d8bf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058690/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T20:14:09.884086Z"
}