List and retrieve diffs with detailed revision information

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

{
    "id": 1102069,
    "revision": {
        "id": 498185,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "65df572dfb32c14493e6d5fe666d109e18711f55",
        "head_changeset": "9a8b7769f81a7ac33ec001e585340a52f25a3f66",
        "phabricator_id": 257904,
        "phabricator_phid": "PHID-DREV-nk4hsvuqrifijqkar6lt",
        "title": "WIP: Bug 1978161 - Add infrastructure for proxying and monitoring the bandwidth usage of browsers from sponsor clicks.",
        "bugzilla_id": 1978161,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/498185/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/498185/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257904"
    },
    "phid": "PHID-DIFF-5x3yth7h72hlvvnql4sl",
    "review_task_id": "WmybdQO-SOmu0JjmI6cLdA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "98c341a84108cd33d61f8c2e2656a3c6d8d4c7f4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1102069/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-06T21:46:59.054909Z"
}