List and retrieve diffs with detailed revision information

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

{
    "id": 1107538,
    "revision": {
        "id": 513984,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "05d50287fb8c85e8f24ab943072e84f42cff75cd",
        "head_changeset": "c20a4b7b1d4c9277ae0f35da94d8a6183469e5d3",
        "phabricator_id": 261321,
        "phabricator_phid": "PHID-DREV-xeyrtrl3jxfi3whttldv",
        "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/513984/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513984/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261321"
    },
    "phid": "PHID-DIFF-knxodwedcqsfph34hkha",
    "review_task_id": "Oo1uagHtR5uDdiGcT6wjhQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "049aa78f98cce269f82cdc047d7c3860907c1bb1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107538/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T03:44:48.123882Z"
}