List and retrieve diffs with detailed revision information

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

{
    "id": 1077481,
    "revision": {
        "id": 472627,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0e01c4d429f7b95aacdced944f6e83b01cf3e989",
        "head_changeset": "4bc56c7c0c1ab62f2fa5136ac0285491c6d5c502",
        "phabricator_id": 245688,
        "phabricator_phid": "PHID-DREV-agxk72lqfngy5u7762tv",
        "title": "WIP: Bug 1960822 - WorkerScope: Implement missing HasActivePeerConnections(), r=smaug",
        "bugzilla_id": 1960822,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472627/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472627/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245688"
    },
    "phid": "PHID-DIFF-sytqr7htsfeyk5ruqqv2",
    "review_task_id": "OgLcJs9CQJ-sC4aPylMMUA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d0e53d596d9466f90cb419e360c83e03489c5cb3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077481/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T15:34:36.545303Z"
}