List and retrieve diffs with detailed revision information

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

{
    "id": 1088837,
    "revision": {
        "id": 495428,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "63caf22449827c84bdf443b6022e1b731ec87b95",
        "head_changeset": "43b64fd8e664463eb6426be73b1908e09a913e2c",
        "phabricator_id": 257185,
        "phabricator_phid": "PHID-DREV-qc33fc2i5vevv6iuxegp",
        "title": "Bug 1977258 - Newtab ensure ToU policy is accepted before starting up newtab",
        "bugzilla_id": 1977258,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495428/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495428/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257185"
    },
    "phid": "PHID-DIFF-pezzvbheet6o2kmbaqcl",
    "review_task_id": "DG8hayFVQJahpgz04eH8Wg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "acc098191317431b2bac195e6b527f7f7d121a2c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088837/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T16:59:34.197074Z"
}