List and retrieve diffs with detailed revision information

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

{
    "id": 1079689,
    "revision": {
        "id": 492401,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "78b07eefb9da48f6d92d69f1b297ef148bdb4a6c",
        "head_changeset": "e716d59319df450da833b9d4d8b3a9f8f19827c9",
        "phabricator_id": 256499,
        "phabricator_phid": "PHID-DREV-gmbbds3ulwkekpabm2yh",
        "title": "Bug 1956086 - Unenroll from experiments that have unenrolled in other profiles in a group r?#nimbus-reviewers",
        "bugzilla_id": 1956086,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492401/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492401/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256499"
    },
    "phid": "PHID-DIFF-4pddywepribwkg6jv36s",
    "review_task_id": "OZYp4btbRd6qCoC3on58ug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e716d59319df450da833b9d4d8b3a9f8f19827c9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079689/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T19:05:48.097940Z"
}