List and retrieve diffs with detailed revision information

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

{
    "id": 1072643,
    "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-b7npodntr6rvimth5hf5",
    "review_task_id": "cuEzNoXSRq-HC2uWjaVlgQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "00fba0187213e52e1eb45fc0d9346b75f6912227",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072643/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T19:30:28.483071Z"
}