List and retrieve diffs with detailed revision information

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

{
    "id": 1041235,
    "revision": {
        "id": 475907,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "34bb3734b886aa423155b4a565c919c86a1e3979",
        "head_changeset": "5fd73f3cbda5bc8f4c90941d77722d9c0c514319",
        "phabricator_id": 250497,
        "phabricator_phid": "PHID-DREV-xef45vrn4ivi2lxtlqqp",
        "title": "Bug 1966552: Allow imports of tables with non-null types. r=rhunt",
        "bugzilla_id": 1966552,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475907/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475907/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250497"
    },
    "phid": "PHID-DIFF-6ipebdxrjspwkjlbpmfr",
    "review_task_id": "VGDBlExlQaikQIR43r0-dA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9e3189d08389930de471dcd777667132e50cc355",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1041235/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-22T15:24:37.389705Z"
}