List and retrieve diffs with detailed revision information

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

{
    "id": 1066830,
    "revision": {
        "id": 478043,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6ff447fe04d291f2c02561e62b96e651cbbbea4b",
        "head_changeset": "982067eab712dfe77dab445fa19fb7803fa8f9be",
        "phabricator_id": 253219,
        "phabricator_phid": "PHID-DREV-6rvkqx3aga5nrdl3eyd5",
        "title": "Bug 1933787 - Test traced values with JSObjectsTestUtils r?ochameau",
        "bugzilla_id": 1933787,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478043/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478043/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253219"
    },
    "phid": "PHID-DIFF-ycfotq3xekxwcue52kab",
    "review_task_id": "SlxDFZ6lTU6k13R3MOuglQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d762419a7b91542d0e054ebcb6e565a8beb4895e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066830/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T20:27:33.375622Z"
}