List and retrieve diffs with detailed revision information

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

{
    "id": 1056165,
    "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-ntlxqmdpfiya55joujvc",
    "review_task_id": "YSnS0S5TT2Kc39Sz_6NEQA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "982067eab712dfe77dab445fa19fb7803fa8f9be",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056165/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T19:21:57.812323Z"
}