List and retrieve diffs with detailed revision information

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

{
    "id": 1040455,
    "revision": {
        "id": 475846,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f6e70019c75a4cba1dfd5f845fc5f7ebefe1718",
        "head_changeset": "e193e8ceab2aed84b406f85376a2ea843305a9d3",
        "phabricator_id": 250421,
        "phabricator_phid": "PHID-DREV-w6m2d2bkyai6cg3w5uev",
        "title": "Bug 1966551 - Make `PointerEventHandler::DispatchPointerFromMouseOrTouch()` dispatch synthesized `ePointerMove` for synthesized `eMouseMove` if it's caused by hoverable pointer r=smaug!,#dom-core",
        "bugzilla_id": 1966551,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475846/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475846/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250421"
    },
    "phid": "PHID-DIFF-55bg3weten7csa24yr6w",
    "review_task_id": "YEr82r1QQN6Cl8_KjF0kiw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "88a8bf622a6617a6f1eec3a23b5f0caab8af37b1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040455/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T23:25:34.594355Z"
}