List and retrieve diffs with detailed revision information

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

{
    "id": 1041848,
    "revision": {
        "id": 475841,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cb60201f7b03f218326e7ceb3fbf177e7bb2c066",
        "head_changeset": "2a9c8b8c883afd727004678652e21103b84d54c0",
        "phabricator_id": 250416,
        "phabricator_phid": "PHID-DREV-iggvpaxk4cslopqajecd",
        "title": "Bug 1967618 - General update of TypeScript definitions to the latest code. r?zombie!",
        "bugzilla_id": 1967618,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475841/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475841/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250416"
    },
    "phid": "PHID-DIFF-vohzdjuedxtdepnw5nif",
    "review_task_id": "VTDj6GkAQLy_EW5QlMxIlA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3a4e02b7e5fa50b8df5f5514563b7ee9a06f01ec",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1041848/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-23T10:08:35.422300Z"
}