List and retrieve diffs with detailed revision information

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

{
    "id": 1107149,
    "revision": {
        "id": 513214,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0a5fc8db79ed7e73b2f6a17855cda9a6c842bdae",
        "head_changeset": "a4b9a7e008954b5b79418cf3b083f74ff5557e3d",
        "phabricator_id": 257931,
        "phabricator_phid": "PHID-DREV-y5m34lozrkfnir7k6qrg",
        "title": "Bug 1978229 - Simplify AutoTArray guts. r=nika!",
        "bugzilla_id": 1978229,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513214/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513214/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257931"
    },
    "phid": "PHID-DIFF-x6haaenlxggswqgvjjrz",
    "review_task_id": "PZ1eMKf7RJaRCnrWe04g8Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "696a4c1571f5cda5e33ddec84d821fbac3960f24",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107149/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-18T15:58:14.378919Z"
}