List and retrieve diffs with detailed revision information

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

{
    "id": 1049297,
    "revision": {
        "id": 476793,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0114f48a74e84e0e8d8627878646d083e49e5fb6",
        "head_changeset": "0a2407ec7028e7a0278685f1538ad1ba0a539f63",
        "phabricator_id": 251628,
        "phabricator_phid": "PHID-DREV-zz7ykocz5ify7ifatqih",
        "title": "Bug 1969023 - Use 'taskgraph.util.json' throughout gecko_taskgraph, r?#taskgraph-reviewers",
        "bugzilla_id": 1969023,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476793/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476793/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251628"
    },
    "phid": "PHID-DIFF-swyyratr2efi6co7abql",
    "review_task_id": "E1v4II5QQFCwfblO8lbdgQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0a2407ec7028e7a0278685f1538ad1ba0a539f63",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049297/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T17:34:59.504655Z"
}