List and retrieve diffs with detailed revision information

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

{
    "id": 1108257,
    "revision": {
        "id": 515629,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3ec13e888ae558e7e372bd55e0a3ffc6c707f93b",
        "head_changeset": "da36570be2c3c37f9637fe1e9cf7d4e4b6861044",
        "phabricator_id": 261656,
        "phabricator_phid": "PHID-DREV-omlfkys26fgkegxumw5f",
        "title": "Bug 1983377 - Make one class per realtime suggestion type that serves both opt-in and online suggestions.",
        "bugzilla_id": 1983377,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515629/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515629/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261656"
    },
    "phid": "PHID-DIFF-gb5cf2hmyhyfnfknbr6a",
    "review_task_id": "aZZfzVtoQU-T99qM-Y2q2A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "da36570be2c3c37f9637fe1e9cf7d4e4b6861044",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108257/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T22:51:02.215992Z"
}