List and retrieve diffs with detailed revision information

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

{
    "id": 1052430,
    "revision": {
        "id": 477159,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "82d4d13390867d3a0fff165e645da46d9d0c1838",
        "head_changeset": "7f06312856fc4bbc39bd29027df1deadf416e29f",
        "phabricator_id": 252231,
        "phabricator_phid": "PHID-DREV-eiqoq5wtmd63gjkvlky7",
        "title": "Bug 1969985 - Remove old enrollments from the NimbusEnrollments table r?#nimbus-reviewers",
        "bugzilla_id": 1969985,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477159/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477159/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252231"
    },
    "phid": "PHID-DIFF-2zne5h3j436bzon5452t",
    "review_task_id": "W7z9KU7yQ8GhAT38nNqEKw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1bc42da4b8ec8df43363e553f6ec478b91c3cce3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052430/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T05:15:24.179071Z"
}