List and retrieve diffs with detailed revision information

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

{
    "id": 1058906,
    "revision": {
        "id": 475796,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "39df57cbbe0cfd67ec0b6048a60998c4aa876382",
        "head_changeset": "085b60561dbb636ec384576699228d0e1faab123",
        "phabricator_id": 249720,
        "phabricator_phid": "PHID-DREV-a4o6kluuvdfuk5bbeksq",
        "title": "Bug 1915741 - Post: Rename `TaskbarTabUI` to `TaskbarTabsChrome` to normalize to `Tabs` and disambiguate from the content from `TaskbarTabsPageAction`. r=cdupuis,mpohle",
        "bugzilla_id": 1915741,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475796/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475796/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249720"
    },
    "phid": "PHID-DIFF-skjliwuxluqjt4bqmisr",
    "review_task_id": "ZUgAKrCdTtSzjay0EoKSHg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3052e78c678881113de42001356d4b990afeaccd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058906/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-15T08:39:03.276900Z"
}