List and retrieve diffs with detailed revision information

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

{
    "id": 1073426,
    "revision": {
        "id": 485924,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "76dfc3ad00d16cbcaecace15b8d12227eb1040c8",
        "head_changeset": "7bc12991f2c649cfeba13a960e094df6c49b309e",
        "phabricator_id": 255139,
        "phabricator_phid": "PHID-DREV-d74ev2vntezcw57lzs5p",
        "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/485924/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485924/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255139"
    },
    "phid": "PHID-DIFF-ntfbp5r4jhapga2tepep",
    "review_task_id": "X__OXz1tT0C3TEt7PoalUA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7bc12991f2c649cfeba13a960e094df6c49b309e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073426/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T14:49:38.768034Z"
}