List and retrieve diffs with detailed revision information

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

{
    "id": 1066108,
    "revision": {
        "id": 479562,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "86fae5de54b5e60afbf6d193bf60c9175522a262",
        "head_changeset": "2d508db9f02ed30413b9fcc804423e4bf3b96624",
        "phabricator_id": 253783,
        "phabricator_phid": "PHID-DREV-zc72tpxn4ldjbep5eq7y",
        "title": "Bug 1967907 - show user a notification when the sandbox has been disabled",
        "bugzilla_id": 1967907,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479562/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479562/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253783"
    },
    "phid": "PHID-DIFF-enbe27r5wxbxhydhkrto",
    "review_task_id": "VkomL6_zR3W62xSLZbDMug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e3bee9cb6f2b5590d54bc760e5bbc585335b41e0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066108/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T15:27:03.448744Z"
}