List and retrieve diffs with detailed revision information

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

{
    "id": 1081018,
    "revision": {
        "id": 492982,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9b5f8ce2f54f4eb3429fb35570798b7fa2f996f0",
        "head_changeset": "824852a63bfd232b3fa1dfc281a0c40d9fd70995",
        "phabricator_id": 256736,
        "phabricator_phid": "PHID-DREV-z4au2uzsgytpwzqlpnnq",
        "title": "Bug 1976408 - Make sure to get correct Rooted instantiation when using SharedPropMap r=jonco",
        "bugzilla_id": 1976408,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492982/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492982/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256736"
    },
    "phid": "PHID-DIFF-wcp4fttgswlgfjewbj7v",
    "review_task_id": "TXbfs8arRlO6_v0pMKjC-Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5b11e6ffff025eda9e443c520f548dbbc9a90b52",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081018/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T18:53:22.888982Z"
}