List and retrieve diffs with detailed revision information

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

{
    "id": 1081775,
    "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-q22qoa2igowi4g3rgheg",
    "review_task_id": "GByjbjBkSK2GKwLxfm3CRA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a1f62c5607f8a22cbad1480ace812a439a171848",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081775/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T18:37:55.034261Z"
}