List and retrieve diffs with detailed revision information

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

{
    "id": 1086760,
    "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-af6g2ga7peolwyk6h2lm",
    "review_task_id": "P5GVRQelRPKrX4sRuG4ezg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ffe67c4fa37a282c6d9eb0bc2b6dc679b392c191",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086760/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T22:31:39.065817Z"
}