List and retrieve diffs with detailed revision information

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

{
    "id": 1069198,
    "revision": {
        "id": 478037,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6ff447fe04d291f2c02561e62b96e651cbbbea4b",
        "head_changeset": "0d893ec2cafe058d84d9f4f691c01cd239d6ba5f",
        "phabricator_id": 253204,
        "phabricator_phid": "PHID-DREV-3gso3jkk5sq4myiuq3qf",
        "title": "Bug 1970653 - Use fake instead of mock for URL Render tests",
        "bugzilla_id": 1970653,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478037/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478037/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253204"
    },
    "phid": "PHID-DIFF-ufkehzq5ipxrauhxhavq",
    "review_task_id": "Y4URbZo6SzGAHZ-Prgky-A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b6e92bb8f4ec034d525e1bce338fa4123b5e9355",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1069198/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T15:56:06.754521Z"
}