List and retrieve diffs with detailed revision information

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

{
    "id": 1093942,
    "revision": {
        "id": 497524,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f126a779bfeefa1bffa03ba58985b3177565903d",
        "head_changeset": "904714bee64ad767846c49eb83e3c5a663ec6068",
        "phabricator_id": 257789,
        "phabricator_phid": "PHID-DREV-zberwn2uwpjmkzqhyqwp",
        "title": "WIP: Bug 1972249 - Simplify H264 Encoder tests with different parameters",
        "bugzilla_id": 1972249,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497524/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497524/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257789"
    },
    "phid": "PHID-DIFF-m3gphmhe7plumgzubumo",
    "review_task_id": "VTxVvGWKSFy3_wjbuw62OA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ed007c7efcb0a054138cc2d791a4ed9ebc6ddc3d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1093942/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T01:26:21.614084Z"
}