List and retrieve diffs with detailed revision information

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

{
    "id": 1070825,
    "revision": {
        "id": 483358,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d7158d49cde55a0233c6ca76914462a51e28180b",
        "head_changeset": "717ae7e3e507b500b6646b8e50ca675b15382299",
        "phabricator_id": 254520,
        "phabricator_phid": "PHID-DREV-kmjybfp3gripscjhyimk",
        "title": "Bug 1973036 - [devtools] Stop reading nsIChannel.fromCache which doesn't exist",
        "bugzilla_id": 1973036,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483358/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483358/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254520"
    },
    "phid": "PHID-DIFF-lbihsyjidrtmxct7naah",
    "review_task_id": "UuP4uY_QRFSUVbJCYg_Sbw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "830f4e55e5f198cf89bf9bd70544a578f509b52b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1070825/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T17:15:10.722585Z"
}