List and retrieve diffs with detailed revision information

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

{
    "id": 1051489,
    "revision": {
        "id": 472383,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1ac598af5141a8f20f0ac734607565a44ad5ae0e",
        "head_changeset": "6c5034a4fd4e949a14757d4e39951a0e830b1558",
        "phabricator_id": 245374,
        "phabricator_phid": "PHID-DREV-gcql3qzehxzghztrrll3",
        "title": "WIP: Bug 1959616 - Move browser-window UI functionality for session restore from browser.js and BrowserGlue.sys.mjs to a session restore module",
        "bugzilla_id": 1959616,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472383/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472383/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245374"
    },
    "phid": "PHID-DIFF-qdcmagdihllgvioqxhge",
    "review_task_id": "C3HX4-cxRB-Umoe7u3z1Gw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b9b7c7b9fbb08482b8eb006ff1bc0fc582ea4868",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051489/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T22:50:40.800399Z"
}