List and retrieve diffs with detailed revision information

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

{
    "id": 1072702,
    "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-nbfinz46biw2yqs73nuz",
    "review_task_id": "RcbDMnY7T6agG7uxXOLFKQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bbcddf31376fa53bbe4a4edd2fb0ce996a9a0c8a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072702/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T20:17:36.249033Z"
}