List and retrieve diffs with detailed revision information

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

{
    "id": 1035385,
    "revision": {
        "id": 475214,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3c7a1a76d7f0d1f864e107a597f590a3ff309434",
        "head_changeset": "f5dbc2ad36e70d9cffc5871930353ad053d340f9",
        "phabricator_id": 249638,
        "phabricator_phid": "PHID-DREV-jbgkl4hw4xcpnxuytl4l",
        "title": "WIP: Bug 1847096 - Part 1: Split most of NotificationParent::Show into NotificationManager::Create",
        "bugzilla_id": 1847096,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475214/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475214/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249638"
    },
    "phid": "PHID-DIFF-rk6ib7ch2carkaowpxsa",
    "review_task_id": "FECO8vmSQfmz7QCmv5vznw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f366ae7f7e096a3853bd610e0bb7eb18e184fb55",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035385/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T15:59:43.289312Z"
}