List and retrieve diffs with detailed revision information

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

{
    "id": 1039030,
    "revision": {
        "id": 475147,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f18e2177eec322168d25c227965879e51e8091c",
        "head_changeset": "1245680619d22f30b56686b9e62dd940c8baadf2",
        "phabricator_id": 249466,
        "phabricator_phid": "PHID-DREV-434o2orkdgdpxxqazs4f",
        "title": "WIP: Bug 1956080 - Add a table for Nimbus enrollments r?#nimbus-reviewers!,jhirsch!",
        "bugzilla_id": 1956080,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475147/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475147/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249466"
    },
    "phid": "PHID-DIFF-5poeq372e6poxz7gjrgt",
    "review_task_id": "GRO-Ad9ISJ2XxBZsZsFSQg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f233b2231bd62e1afafcc42c17686a94207402c3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039030/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T21:01:14.506623Z"
}