List and retrieve diffs with detailed revision information

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

{
    "id": 1054607,
    "revision": {
        "id": 477749,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "367bc904b4fd00b55b628badd4a50a63bf578a9a",
        "head_changeset": "e03d9434c77584f334dbe1d3a8a664967784b01c",
        "phabricator_id": 252904,
        "phabricator_phid": "PHID-DREV-pkurv5j4pp4tsaysq4ui",
        "title": "Bug 1963404 - Fix data handling for cmff and cvns to handle replicates and remove poor data format. r?#perftest",
        "bugzilla_id": 1963404,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477749/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477749/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252904"
    },
    "phid": "PHID-DIFF-uo7b3k6i53wgv3pc5k5u",
    "review_task_id": "B5jXIWyXSEy7XQ3JGJWFLg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e03d9434c77584f334dbe1d3a8a664967784b01c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054607/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T20:43:51.068526Z"
}