List and retrieve diffs with detailed revision information

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

{
    "id": 1056747,
    "revision": {
        "id": 478035,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6ff447fe04d291f2c02561e62b96e651cbbbea4b",
        "head_changeset": "e2ae12479f5b52a1d7a9d5d46d4369fefe205cd7",
        "phabricator_id": 253096,
        "phabricator_phid": "PHID-DREV-pibe7b7eyqklwlacmcyx",
        "title": "Bug 1965515 - Part 2: Refactor ListItemContent out of ListItem and create belowListItemContent slot API in ListItem and SelectableListItem",
        "bugzilla_id": 1965515,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478035/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478035/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253096"
    },
    "phid": "PHID-DIFF-b62pp26xvw3l6pa6ejr6",
    "review_task_id": "PzksF8W-TPGSVyXUhxXHrw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9a1ba3b34ed4a8b09f4fe76d871547841fee5fa7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056747/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T15:17:31.178676Z"
}