List and retrieve diffs with detailed revision information

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

{
    "id": 1059006,
    "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-gjsl7fmx3ertp5i2n4lw",
    "review_task_id": "KCY6qgQuTBGRAmUtcK0Q3Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7b513aa815bc640dbac94da989e80751d47f9fd5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059006/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T05:16:05.630845Z"
}