List and retrieve diffs with detailed revision information

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

{
    "id": 1092522,
    "revision": {
        "id": 476304,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2fc4f32e539fec009beb15d9b0aa7bc0c85bec0a",
        "head_changeset": "7d5cbfc60cd8ac2fc4c9755afe4b2c05038c4f25",
        "phabricator_id": 251143,
        "phabricator_phid": "PHID-DREV-m6fj4ig6oukqrtkf3pd6",
        "title": "Bug 1820594 - Part 37: Update wpt ini for dynamic import.",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476304/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476304/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251143"
    },
    "phid": "PHID-DIFF-bwy6zrtqr7gwl7lr4gam",
    "review_task_id": "MQYGOdfKQfGHDgFK4R9KdA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fdfafcfec519e8e472519d22f461569dfe66ce1c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1092522/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T15:43:24.377324Z"
}