List and retrieve diffs with detailed revision information

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

{
    "id": 1039614,
    "revision": {
        "id": 475835,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "a296bb59b1ddad51a706de2ab0c76d70e9f87435",
        "head_changeset": "92c5abcfa5ea1e96babe1065662b25a9e3e46b4a",
        "phabricator_id": 250408,
        "phabricator_phid": "PHID-DREV-cego7wx36nhsxlwz54ua",
        "title": "Bug 1831475 - Enable GloDa indexing of messages from multiple authors. r=#thunderbird-reviewers",
        "bugzilla_id": 1831475,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475835/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475835/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250408"
    },
    "phid": "PHID-DIFF-qj32cl4x52b2u4iupick",
    "review_task_id": "KvHaKS-iSJmWHVVPFCl47A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "92c5abcfa5ea1e96babe1065662b25a9e3e46b4a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039614/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T10:19:57.561529Z"
}