List and retrieve diffs with detailed revision information

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

{
    "id": 1081701,
    "revision": {
        "id": 489961,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "66af8a0e03afc1f7464fa071b74dc0a5cb5e6ff2",
        "head_changeset": "a3d692c961e48500ef0d1db9280b4af14355bf67",
        "phabricator_id": 255929,
        "phabricator_phid": "PHID-DREV-rqs3ed54mrhn5n3txoiw",
        "title": "Bug 1975367 - remove EnigmailFuncs.sync() from message sending (take2). r=edicharry,kaie",
        "bugzilla_id": 1975367,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489961/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489961/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255929"
    },
    "phid": "PHID-DIFF-i6ibh2pe6pu2hegyvh2u",
    "review_task_id": "XQiiWcr5S-m8xgYFZqyo9w",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "eadfab469946e8d48a91dcb79e2f6a565ac34541",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081701/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T16:23:14.137016Z"
}