List and retrieve diffs with detailed revision information

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

{
    "id": 1096415,
    "revision": {
        "id": 502114,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "011dbee650b21133d8bf4fc7a7b13586ec5e0308",
        "head_changeset": "c0edbca252ad8a21fff02d299add11b5544339f3",
        "phabricator_id": 258822,
        "phabricator_phid": "PHID-DREV-lb4lxkbeekwzon7qseu2",
        "title": "WIP: Bug 1979555 - Mark ReadOnlyPage as mutable on OpenBSD",
        "bugzilla_id": 1979555,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/502114/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/502114/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258822"
    },
    "phid": "PHID-DIFF-mcpuzv76cm6ogxp4g3us",
    "review_task_id": "EQOSmNfARTKpjofcZFsVtg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c0edbca252ad8a21fff02d299add11b5544339f3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1096415/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-27T09:43:39.628775Z"
}