List and retrieve diffs with detailed revision information

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

{
    "id": 1073636,
    "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-3mstcklyboktpcuwyted",
    "review_task_id": "MsRCJYWwSWWhOiDjXNJYVg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e1d4773b43bf872321c3d1d2c51c2ab2424eae23",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073636/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T19:10:24.308113Z"
}