List and retrieve diffs with detailed revision information

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

{
    "id": 1087170,
    "revision": {
        "id": 496263,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a771b9ac457c540fe20f11cc8f4633d89eaa6fa6",
        "head_changeset": "810c1ffb6d4b150e3721a4991b3b8212273160b8",
        "phabricator_id": 257484,
        "phabricator_phid": "PHID-DREV-xdbxhkldwpyzgwfzv7j2",
        "title": "WIP: Bug 1970638 p6: Remove allowance for Kingsoft DLL to open KnownDlls.",
        "bugzilla_id": 1970638,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496263/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496263/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257484"
    },
    "phid": "PHID-DIFF-ns7rse5eq2cttefya5cd",
    "review_task_id": "IYWpCWEtRaOwnhuq_Z7ffg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a085b29ecc09322d091365f0f63f917e46b136d6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087170/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T14:18:46.447249Z"
}