List and retrieve diffs with detailed revision information

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

{
    "id": 1047718,
    "revision": {
        "id": 476480,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3b44feba86bb54d47665252cb3af1d3013a01c0e",
        "head_changeset": "8a1a0bf9dd3a93b4fc6bf187e8f5defbbb285b61",
        "phabricator_id": 216672,
        "phabricator_phid": "PHID-DREV-exro7infivr5o7s4jqjg",
        "title": "Bug 1906744 - ChromeOnly event interfaces become exposed to web content when chromeEventHandler listener callbacks run - testcase. r?mccr8!",
        "bugzilla_id": 1906744,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476480/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476480/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D216672"
    },
    "phid": "PHID-DIFF-w7alkyzklmizs3s74kqc",
    "review_task_id": "LiALsAkiQDmoHWREM8HSOQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8a1a0bf9dd3a93b4fc6bf187e8f5defbbb285b61",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047718/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T23:05:30.400665Z"
}