List and retrieve diffs with detailed revision information

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

{
    "id": 1072746,
    "revision": {
        "id": 484827,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7d8ca3d7ce8235a76fc625644b372e5462cf2691",
        "head_changeset": "4458b7aea537b26fc5da89e72b78dce50bdec7b2",
        "phabricator_id": 254856,
        "phabricator_phid": "PHID-DREV-fazio5dx5r3loud2do3i",
        "title": "Bug 1973779 - Use the NimbusEnrollments table as source of truth for enrollments on Nightly r?#firefox-desktop-core-reviewers",
        "bugzilla_id": 1973779,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484827/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484827/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254856"
    },
    "phid": "PHID-DIFF-yo5oty3tt2gyg4ipnbuc",
    "review_task_id": "R2ckB2RqRmSS0dChs9MWOQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "db33493c59aa26ca6a6b9df60f9092dfcb83e438",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072746/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T20:48:18.114249Z"
}