List and retrieve diffs with detailed revision information

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

{
    "id": 1075618,
    "revision": {
        "id": 488616,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5ab50eaec42eb85a7ec361cdfbd01e0daf3ee65f",
        "head_changeset": "beb053dae3aa93e0a5b375c69505dace49eaa1bd",
        "phabricator_id": 255563,
        "phabricator_phid": "PHID-DREV-x64u7cptpbjz4h5smw3w",
        "title": "Bug 1974799 - The Ask AI chatbot option remains available after the user removes the AI chatbot from the Sidebar panel r=yjamora!",
        "bugzilla_id": 1974799,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488616/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488616/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255563"
    },
    "phid": "PHID-DIFF-vhss45czxksthkyhhncr",
    "review_task_id": "YsKF9W6hSU2in38v2TYtow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bf2698e921a9f513496a6be6230d232535d47074",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075618/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T22:40:35.225806Z"
}