List and retrieve diffs with detailed revision information

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

{
    "id": 1065329,
    "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-cua3k443bmdufz5i5lby",
    "review_task_id": "fIVcRbqRS1yV9k08XjUXWw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c62160ad9965a34dda3e49597d2a0cc5ac9efc49",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065329/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T17:49:41.483081Z"
}