List and retrieve diffs with detailed revision information

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

{
    "id": 1039610,
    "revision": {
        "id": 475833,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "a296bb59b1ddad51a706de2ab0c76d70e9f87435",
        "head_changeset": "cc9e36e3d647e2c429f63193becde4a299a5dab3",
        "phabricator_id": 250406,
        "phabricator_phid": "PHID-DREV-yt7abnnqaho76xryeyhv",
        "title": "Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=#thunderbird-reviewers",
        "bugzilla_id": 1878375,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475833/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475833/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250406"
    },
    "phid": "PHID-DIFF-nks544htoxqursm3dq6e",
    "review_task_id": "IkEmRLvYTcSY4LqbEl2TiQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "cc9e36e3d647e2c429f63193becde4a299a5dab3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039610/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T10:19:48.655906Z"
}