List and retrieve diffs with detailed revision information

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

{
    "id": 1108139,
    "revision": {
        "id": 515560,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "664497321e4c0f518f1c9fbc30a5b73c1b135238",
        "head_changeset": "a46754b439f79161732773456222f34ee690ae1e",
        "phabricator_id": 261635,
        "phabricator_phid": "PHID-DREV-vwssxrvwa36dnp7ldfmn",
        "title": "Bug 1983853 - Add a missing early return in `_ensure_watchman_watchman` r?#build",
        "bugzilla_id": 1983853,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515560/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515560/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261635"
    },
    "phid": "PHID-DIFF-vwzdc2wgm746wbllkz2x",
    "review_task_id": "BQo3SrdySO2FvtTbdx7d4A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a46754b439f79161732773456222f34ee690ae1e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108139/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T19:57:26.735232Z"
}