List and retrieve diffs with detailed revision information

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

{
    "id": 1107553,
    "revision": {
        "id": 514971,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "746c688f8b98b181045a8d8ff08ad3d538c2db8e",
        "head_changeset": "99215427b7937a1147ba65e6c27c642c372477c9",
        "phabricator_id": 261512,
        "phabricator_phid": "PHID-DREV-6ivpnr63xfmkrfe7kbjr",
        "title": "Bug 1969769 - Change uses of ast.Str with ast.Constant.",
        "bugzilla_id": 1969769,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514971/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514971/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261512"
    },
    "phid": "PHID-DIFF-3tyqv2pva5wk2pfulywi",
    "review_task_id": "KRZAaZlZSTuSlvD-sctzPw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "99215427b7937a1147ba65e6c27c642c372477c9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107553/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T04:31:31.261109Z"
}