List and retrieve diffs with detailed revision information

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

{
    "id": 1075863,
    "revision": {
        "id": 488900,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "b3348832c9efa8d29fe058155d9088effd6878a1",
        "head_changeset": "04ef532e843cee585cb30d4721b1b8bce09400fa",
        "phabricator_id": 255627,
        "phabricator_phid": "PHID-DREV-zym7drb7jnv2ih3lnxug",
        "title": "Bug 1974951 - Add mail.panorama.enabled to the static preference list. r=#thunderbird-reviewers",
        "bugzilla_id": 1974951,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488900/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488900/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255627"
    },
    "phid": "PHID-DIFF-hdka7mmiw4fnptsyhi4s",
    "review_task_id": "bQkMsrXqQim8orGC-2pFeQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "04ef532e843cee585cb30d4721b1b8bce09400fa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075863/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T09:12:43.574370Z"
}