List and retrieve diffs with detailed revision information

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

{
    "id": 1051133,
    "revision": {
        "id": 477100,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "67ae5ab974371b63225ef1752f138b36fb1dee78",
        "head_changeset": "fb9ce36ea991275f384e7eff49e5c79c86d0209d",
        "phabricator_id": 252172,
        "phabricator_phid": "PHID-DREV-mtamjmxppnbeum4vfvqr",
        "title": "Bug 1957531 - Remove unused IgnoreRootScrollFrame parameter from SendTouchEvent r=botond",
        "bugzilla_id": 1957531,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477100/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477100/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252172"
    },
    "phid": "PHID-DIFF-j3j7xp35jf6el2kk57mq",
    "review_task_id": "UiK2f3sSQZqeT-NNgcKx7A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fb9ce36ea991275f384e7eff49e5c79c86d0209d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051133/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T15:36:52.578177Z"
}