List and retrieve diffs with detailed revision information

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

{
    "id": 1053094,
    "revision": {
        "id": 476805,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8785a90a9efa90ee97994cd54042af8c5372a4e6",
        "head_changeset": "62de50a9b703036f7bff1238f60902933a48406d",
        "phabricator_id": 251755,
        "phabricator_phid": "PHID-DREV-6ah6eij4pn5bruymh3gf",
        "title": "Bug 1703469: Move getter/setter helpers inside IRGenerator r=jandem",
        "bugzilla_id": 1703469,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476805/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476805/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251755"
    },
    "phid": "PHID-DIFF-ojbhpnfc4n4ifqq2ls7r",
    "review_task_id": "dCOEKqwqSOGPm9FD-eNoVg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "91b45819ac9fe5f3506f66355092b0ed4cf26c52",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053094/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T20:58:07.082917Z"
}