List and retrieve diffs with detailed revision information

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

{
    "id": 1107992,
    "revision": {
        "id": 495822,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f2948441023e305075d2f1d96a5ed636b5012cf3",
        "head_changeset": "fcf7dbf13ea6042de9d9fd0fcd09dafc32fe67eb",
        "phabricator_id": 255388,
        "phabricator_phid": "PHID-DREV-j7sdbgh2acbvy66is5pv",
        "title": "Bug 1974519 - Preserve DOM wrappers from the JIT r?jandem",
        "bugzilla_id": 1974519,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495822/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495822/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255388"
    },
    "phid": "PHID-DIFF-cky6bgw5fglotxiixluo",
    "review_task_id": "fmR2xt8wQdS6Bc-cMiw6vg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7997ad9e43643c0b16130b3eb5d1f9f54eb22785",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107992/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T17:14:28.171966Z"
}