List and retrieve diffs with detailed revision information

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

{
    "id": 1099721,
    "revision": {
        "id": 487371,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e18eea40ee7c6a5763c03dc6d59e875480b670be",
        "head_changeset": "65187e9b7bbd6a58cafa5446ff6ecb8d48fc8e6f",
        "phabricator_id": 255390,
        "phabricator_phid": "PHID-DREV-33sr3wrgfyovcfa74aal",
        "title": "WIP: Bug 1974483 - Part 2: Creating and showing the terms of service bottom sheet",
        "bugzilla_id": 1974483,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487371/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487371/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255390"
    },
    "phid": "PHID-DIFF-powb4ak2sweq4s4funcy",
    "review_task_id": "FmUn6X0RQTG7bNLnUxKphw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2474ce314f13eeb5293c2d73ecd1ea19e7d5a61d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099721/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T17:15:57.773999Z"
}