List and retrieve diffs with detailed revision information

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

{
    "id": 1071544,
    "revision": {
        "id": 484787,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "44cf943e873775cf30b847b486858a54bdfcce8a",
        "head_changeset": "830e270461f70405ba3510b6a3d8d811b79f3baa",
        "phabricator_id": 254843,
        "phabricator_phid": "PHID-DREV-dsx4tbk6gontcpot56vk",
        "title": "WIP: Bug 1972811 - Account Hub Address Book LDAP Advanced Form.",
        "bugzilla_id": 1972811,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484787/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484787/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254843"
    },
    "phid": "PHID-DIFF-ym3bo4zzcmnzouw73usq",
    "review_task_id": "Gkpvx3PeQseow8ZNJH0J_A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "830e270461f70405ba3510b6a3d8d811b79f3baa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1071544/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-24T17:31:09.121495Z"
}