List and retrieve diffs with detailed revision information

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

{
    "id": 1066879,
    "revision": {
        "id": 483459,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "06395f4d8a6bc2ad6d167f32c68adcacefb8acdc",
        "head_changeset": "8227844f172bf56039439962ceb621ce94cf82a4",
        "phabricator_id": 254545,
        "phabricator_phid": "PHID-DREV-5rcrgn2rytvu3xxm2o7q",
        "title": "WIP: Bug 1956554 - Use EWS MoveFolder operation for folder moves.",
        "bugzilla_id": 1956554,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483459/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483459/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254545"
    },
    "phid": "PHID-DIFF-v36oh3ajkczj5tzvwe4r",
    "review_task_id": "KDsQrVMCQ22FpFD0rYUTtA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "d6c4d4ae0c91ee4392b889fdc4537de9ef302bd9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066879/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T22:23:03.450037Z"
}