List and retrieve diffs with detailed revision information

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

{
    "id": 1057395,
    "revision": {
        "id": 477023,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ca566a7fdea2971021f0cdff0b7a4d61a7f56098",
        "head_changeset": "cee8b1702585b224d4b526dda31cf585ff57b408",
        "phabricator_id": 252009,
        "phabricator_phid": "PHID-DREV-gsa7qkaeoi5avamgpgrc",
        "title": "Bug 1966342 - Use native password visibility button after bug 1920563. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1966342,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477023/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477023/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252009"
    },
    "phid": "PHID-DIFF-zbtoewqhfgpxc7odjehr",
    "review_task_id": "ULMos1DERFeCS6KItJ55PA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "01e12e9570b4392bd13e3470493c1354d41242c0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057395/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T08:09:26.451243Z"
}