List and retrieve diffs with detailed revision information

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

{
    "id": 1055969,
    "revision": {
        "id": 478008,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3ccef7c719d874f0f0dfcdd4b2509541f4a6e997",
        "head_changeset": "4b5d798dfcedf5753996ec55dacb76b82288c773",
        "phabricator_id": 253178,
        "phabricator_phid": "PHID-DREV-atmhhjzyhi6wngdm2eyz",
        "title": "Bug 1969820: Remove 0x00 0x0a and trailing nulls from clipboard r=#win-reviewers!",
        "bugzilla_id": 1969820,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478008/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478008/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253178"
    },
    "phid": "PHID-DIFF-miaw5hcee5qp5cqqwkms",
    "review_task_id": "YjQQIf1vQRWedSQrVgzhYg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4b5d798dfcedf5753996ec55dacb76b82288c773",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055969/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T15:18:28.363455Z"
}