List and retrieve diffs with detailed revision information

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

{
    "id": 1050023,
    "revision": {
        "id": 476899,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d7cc13e825e304219f079e313fce01fc8587c4d3",
        "head_changeset": "3e427cc6230d95f82381ef1698c54cb8647b9de3",
        "phabricator_id": 251898,
        "phabricator_phid": "PHID-DREV-7ykenqk7tgwkkc2gi4qd",
        "title": "Bug 1969452 - Add non-OMC Glean events for Mobile Download QR modal r?#home-newtab-reviewers",
        "bugzilla_id": 1969452,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476899/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476899/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251898"
    },
    "phid": "PHID-DIFF-6rjctrohxaarhp3mmdyt",
    "review_task_id": "SYjDVkgZQ66L5LTxz38rjA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3e427cc6230d95f82381ef1698c54cb8647b9de3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050023/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T15:48:11.682389Z"
}