List and retrieve diffs with detailed revision information

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

{
    "id": 1046904,
    "revision": {
        "id": 470176,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "97d784aff636894cbb88f4bba23f08d5e1ca73dd",
        "head_changeset": "3568b446d7464daf037b9041edcfb4eb2b65b4dd",
        "phabricator_id": 242668,
        "phabricator_phid": "PHID-DREV-k75xh67j42lgydeaianf",
        "title": "Bug 1928254 - pt 6. Move PurgeResult to mozjemalloc_stats.h r=jstutte",
        "bugzilla_id": 1928254,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/470176/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/470176/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D242668"
    },
    "phid": "PHID-DIFF-sggousaarhqw5d4gor4s",
    "review_task_id": "bTEIDU_6QCGomA4jfYXh0g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e9b62e04771bcfffced1dcc3f65025162a16f0f0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1046904/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T06:09:42.938470Z"
}