List and retrieve diffs with detailed revision information

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

{
    "id": 1080669,
    "revision": {
        "id": 493141,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "01aa8a8059517ccf544c2163d074e558ac9f6b15",
        "head_changeset": "fcd92a21d4589a426454c16c9dd8028ad972621d",
        "phabricator_id": 256760,
        "phabricator_phid": "PHID-DREV-wihvnyc4pgk5gxwpy4st",
        "title": "Bug 1836935 - Fix intermittent comm/mail/base/test/browser/browser_threadTreeQuirks.js | threw exception: TypeError: can't access property \"textContent\", composeEditor.contentDocument.body is null. r=#thunderbird-reviewers",
        "bugzilla_id": 1836935,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493141/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493141/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256760"
    },
    "phid": "PHID-DIFF-x2yop2orgjh6u6ie64w4",
    "review_task_id": "HXYoa6WNRtuMqDE1aLtQvw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "fcd92a21d4589a426454c16c9dd8028ad972621d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080669/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T07:55:47.785694Z"
}