List and retrieve diffs with detailed revision information

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

{
    "id": 1066861,
    "revision": {
        "id": 481605,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e6f37a9a92a40774d2e15cf06063ccaefce47143",
        "head_changeset": "440ff221180b4156f7c5beddf4839da643945f98",
        "phabricator_id": 254241,
        "phabricator_phid": "PHID-DREV-yv57qilaer3rzknv6zt6",
        "title": "Bug 1875374 - Implement a menu button pattern in moz-button r=#recomp-reviewers",
        "bugzilla_id": 1875374,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481605/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481605/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254241"
    },
    "phid": "PHID-DIFF-ilzi3pzpzybz2dx3jhfe",
    "review_task_id": "fQo6eC5ZQiOGDBZGPnV7OQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a33e5137bb470841a5e9b8295d1731cb330715ad",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066861/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T21:51:26.341777Z"
}