List and retrieve diffs with detailed revision information

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

{
    "id": 1059007,
    "revision": {
        "id": 475795,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "872809f6db6f2e549c07ca9986628a9a4f084e4d",
        "head_changeset": "236412933912e3afcf263244c6b17781ea51e9b6",
        "phabricator_id": 249722,
        "phabricator_phid": "PHID-DREV-tcwwb4ufhe2dfzs7ji4y",
        "title": "Bug 1915742 - Update Taskbar Tabs command line handling to use the Taskbar Tabs window manager instead of creating the window directly. r=mossop,cdupuis,mpohle",
        "bugzilla_id": 1915742,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475795/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475795/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249722"
    },
    "phid": "PHID-DIFF-mfjfgvm57dr5frf7sj32",
    "review_task_id": "Jib6hi6TQWm5RKmS2kNWAA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e1ff489dcc3d39c53f13c7df049302043688bec8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059007/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T05:23:49.625289Z"
}