List and retrieve diffs with detailed revision information

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

{
    "id": 1111639,
    "revision": {
        "id": 520840,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2b71102f99a605a5ff46391f22f8164f494209c8",
        "head_changeset": "3c70bf4f0a182add30ca145ad63abaf635925f1e",
        "phabricator_id": 262534,
        "phabricator_phid": "PHID-DREV-5t6ary5oawkhrclp7od2",
        "title": "Bug 1983857 - Make newtab train-hop jobs run on autoland and central on each platform. r?jmaher!",
        "bugzilla_id": 1983857,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520840/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520840/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262534"
    },
    "phid": "PHID-DIFF-knb2r5rlzdiqnwjxtuoj",
    "review_task_id": "XywjsFfVTeK-_5reVmfYDw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3c70bf4f0a182add30ca145ad63abaf635925f1e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111639/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T05:43:28.738746Z"
}