List and retrieve diffs with detailed revision information

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

{
    "id": 1087382,
    "revision": {
        "id": 496425,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4ce48810c827ec15ca9a06a6107fb6531a708aad",
        "head_changeset": "f7004ec182401cb708b9fc59138fc6dbcf082cdf",
        "phabricator_id": 257546,
        "phabricator_phid": "PHID-DREV-wj3okuxhgkqehbt33pty",
        "title": "Bug 1975367 - Follow-up to restore try/catch with reset for onSendOpenPGP code. r=edicharry",
        "bugzilla_id": 1975367,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496425/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496425/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257546"
    },
    "phid": "PHID-DIFF-dt3q54d5hrvwmiccuuef",
    "review_task_id": "IoSyWDJRSh2a6h-NQhNjFA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "f7004ec182401cb708b9fc59138fc6dbcf082cdf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087382/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T17:20:58.969680Z"
}