List and retrieve diffs with detailed revision information

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

{
    "id": 1051629,
    "revision": {
        "id": 477199,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "daba323d5ac0ef5ea11c87535b344aaa42e57d39",
        "head_changeset": "f655b8b6a4e49052f97c878e52162cc77aacb81b",
        "phabricator_id": 252282,
        "phabricator_phid": "PHID-DREV-x23zqgwd77v4zhvnlf6h",
        "title": "Bug 1970050 - Set layout.disable-pixel-alignment to true in test_bug795785.html. r?masayuki",
        "bugzilla_id": 1970050,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477199/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477199/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252282"
    },
    "phid": "PHID-DIFF-7jh2iqntrrbinlvae5d3",
    "review_task_id": "eluYFoh5QBGvbxGsBz4c2w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f655b8b6a4e49052f97c878e52162cc77aacb81b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051629/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T07:35:32.110456Z"
}