List and retrieve diffs with detailed revision information

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

{
    "id": 1032896,
    "revision": {
        "id": 474422,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c5554bedb571e0ea8bd83173c5509b5552921e22",
        "head_changeset": "640b1e2726980f943b028259785b6027d35c31c2",
        "phabricator_id": 248376,
        "phabricator_phid": "PHID-DREV-7facwfmes3x2lkzzzat2",
        "title": "Bug 1902921 - Consolidate New Tab wallpaper preferences r=#home-newtab-reviewers",
        "bugzilla_id": 1902921,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474422/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474422/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248376"
    },
    "phid": "PHID-DIFF-egub3yj6f6njeozqozbs",
    "review_task_id": "Vkox56Y6RvaN8KrGvl5YFA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0c3785b37ef9ec68a85cb9a72c45bd51534c417d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1032896/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-13T23:18:04.171806Z"
}