List and retrieve diffs with detailed revision information

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

{
    "id": 1049759,
    "revision": {
        "id": 476727,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9aff80d014f71d00bfdd6bfc776309f4621f4991",
        "head_changeset": "e518e392be75802a85e79fd7e02d1ee4c9f7a9a8",
        "phabricator_id": 251669,
        "phabricator_phid": "PHID-DREV-zleeolzbpwuxvn2jgnss",
        "title": "Bug 1934096 - Minimize differences between `site.py` and `python.py` implementations of `pip_command` functions r?ahal",
        "bugzilla_id": 1934096,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476727/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476727/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251669"
    },
    "phid": "PHID-DIFF-xfyohmgbeahww7n4ehww",
    "review_task_id": "dLmL8RoLRKG_w3N4sRnrKQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "54694b27fb76651b6acefcce5fabb63e2a2a77b7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049759/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T07:55:59.326341Z"
}