List and retrieve diffs with detailed revision information

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

{
    "id": 1048911,
    "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-ify3ayfkijcx2orwas4e",
    "review_task_id": "Lqr5cP2bRsuWN1QyAQH-7A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e518e392be75802a85e79fd7e02d1ee4c9f7a9a8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048911/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T05:00:13.206240Z"
}