List and retrieve diffs with detailed revision information

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

{
    "id": 1066067,
    "revision": {
        "id": 482389,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5b28bc39051c9369e7b3c2cd9df9806ba4272adb",
        "head_changeset": "b088238ad3d41e4e769998b6d79929778c4ce2b3",
        "phabricator_id": 254393,
        "phabricator_phid": "PHID-DREV-buuxyqmsvqmvxsanxmrw",
        "title": "Bug 1972918 - Part 6: Move MediaCapabilities out of ecmaGlobals r=smaug",
        "bugzilla_id": 1972918,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482389/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482389/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254393"
    },
    "phid": "PHID-DIFF-ecq6cq6cmrqo344cfdyb",
    "review_task_id": "Z9X4QTMdQm21v2J28rv59g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b088238ad3d41e4e769998b6d79929778c4ce2b3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066067/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T14:39:44.318144Z"
}