List and retrieve diffs with detailed revision information

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

{
    "id": 1066156,
    "revision": {
        "id": 482548,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "66bdc2293bcedb5216ebc6faad57c4d8dbcd35ba",
        "head_changeset": "2f8025c92c5db5c79d09ecc5206195722e277f07",
        "phabricator_id": 254417,
        "phabricator_phid": "PHID-DREV-ko2ypq4lout4x637p45w",
        "title": "Bug 1970739 - Fix for the java.lang.RuntimeException: StrictMode ThreadPolicy violation crash observed in CI UI tests due to accessing on the NimbusMessagingStorage updateMetadata fun on the `Default` thread.",
        "bugzilla_id": 1970739,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482548/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482548/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254417"
    },
    "phid": "PHID-DIFF-lijtftv562iytsrdk4or",
    "review_task_id": "JNimt8xjQBqX3fqiouPsXQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "51d671c1feb5f97d072151f2c3f1efb47b7bb0da",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066156/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T17:28:14.849340Z"
}