List and retrieve diffs with detailed revision information

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

{
    "id": 1048864,
    "revision": {
        "id": 476712,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "26922bacc3b60587f59d6c06fd2dbdee0467b29d",
        "head_changeset": "41e5978d8754cc696cd9696529174690d34c9d8e",
        "phabricator_id": 251666,
        "phabricator_phid": "PHID-DREV-k7mnnsieogessvaznayr",
        "title": "Bug 1949120 - Implement threads in the new database. r=BenC,#thunderbird-back-end-reviewers",
        "bugzilla_id": 1949120,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476712/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476712/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251666"
    },
    "phid": "PHID-DIFF-kod45bo5uzyyihiomhtq",
    "review_task_id": "GXyYWhOYQkCyaABEmeRHfw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "41e5978d8754cc696cd9696529174690d34c9d8e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048864/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T00:46:21.030376Z"
}