List and retrieve diffs with detailed revision information

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

{
    "id": 1064129,
    "revision": {
        "id": 478202,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "67baceb379aeddc2c4490ca806b6fe41921b5b3e",
        "head_changeset": "cd0ec8a45679e66b13281fc72363fe0fc3541b56",
        "phabricator_id": 253409,
        "phabricator_phid": "PHID-DREV-urovh4aohyyaoucstq7v",
        "title": "WIP: Bug 1937177 - Remove variant layout logic from components",
        "bugzilla_id": 1937177,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478202/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478202/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253409"
    },
    "phid": "PHID-DIFF-yegh2tgje55vcpsbwe77",
    "review_task_id": "fONxGeOpTL2N3xzC9y1SeA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fe091cce28ed2b296d9d3ebf8654b690e2d44921",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064129/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T14:52:19.909072Z"
}