List and retrieve diffs with detailed revision information

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

{
    "id": 1064439,
    "revision": {
        "id": 477424,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f8ad4fc4f02b782494f4b4e0bfcae2de2f0c638f",
        "head_changeset": "9a3992b7105ab51221e90a8409398d9c2d97ea06",
        "phabricator_id": 252449,
        "phabricator_phid": "PHID-DREV-l6ehdx5nn32vintwqwhl",
        "title": "Bug 1968644 - Part 6: Add tests. r?#necko!,#anti-tracking!",
        "bugzilla_id": 1968644,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477424/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477424/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252449"
    },
    "phid": "PHID-DIFF-ifljklzxa4l52rbl5lh6",
    "review_task_id": "B93kffCZSqC1cZRJ74xg8w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a6ec2ad3c2f5d545e0c2acbf205b616394dfbbbf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064439/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T19:40:19.687059Z"
}