List and retrieve diffs with detailed revision information

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

{
    "id": 1086987,
    "revision": {
        "id": 495734,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c9a1a761f9c3259479a8665d6c919f4b8427d060",
        "head_changeset": "9dfee6bca58b44f64b837ac0c8076cc4b3891144",
        "phabricator_id": 257266,
        "phabricator_phid": "PHID-DREV-4rwdnukcg2jntkrl3tsu",
        "title": "Bug 1977192 - Make aboutwelcome.css react to the color-scheme property consistently. r=aminomancer,#omc-reviewers",
        "bugzilla_id": 1977192,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495734/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495734/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257266"
    },
    "phid": "PHID-DIFF-o22m5hivcqyygocrdlfj",
    "review_task_id": "B3E854OSTruScGRPFQljXA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bcca2b78e063e75f035d3c2147e6d8c25ae3ced3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086987/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T08:34:47.090777Z"
}