List and retrieve diffs with detailed revision information

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

{
    "id": 1064942,
    "revision": {
        "id": 476619,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1b315f104be020f138c617de722a3649feeec084",
        "head_changeset": "ade6a301e14579bd9df7785f490e914e558fa62d",
        "phabricator_id": 251558,
        "phabricator_phid": "PHID-DREV-34xrf7y53dc54xqqszo3",
        "title": "WIP: Bug 1964600 - Remove the crash helper PID from the IPC connectors",
        "bugzilla_id": 1964600,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476619/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476619/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251558"
    },
    "phid": "PHID-DIFF-2qreqit4umdgj2piqwgb",
    "review_task_id": "J8fZYI3jSgGodpMwtvwmCg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "eb7f49fac0d06c26842f04ae363d0e41cc3e738c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064942/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T10:54:02.868480Z"
}