List and retrieve diffs with detailed revision information

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

{
    "id": 1071740,
    "revision": {
        "id": 480307,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a484ce424ab2896d84ac8b88359561749d76cc84",
        "head_changeset": "c549f80366212253049c5de922f03d6ca0a0d7bd",
        "phabricator_id": 253924,
        "phabricator_phid": "PHID-DREV-n7wotj4lu72oiic6htcb",
        "title": "Bug 1972486 - chore(webgpu): ride the trains to stable! 🎉 r=#webgpu-reviewers!",
        "bugzilla_id": 1972486,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480307/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480307/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253924"
    },
    "phid": "PHID-DIFF-epetb6b2336sxenp6d2g",
    "review_task_id": "WTUqoDj6To6oN5n3Ec3XBw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "eba746ff51a4dc296e8e2e09bb300caa2e0a1841",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1071740/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-24T20:44:59.754430Z"
}