List and retrieve diffs with detailed revision information

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

{
    "id": 1064406,
    "revision": {
        "id": 477486,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "765d3f515c66fdce00fd79a42cf926d3b0b5dee4",
        "head_changeset": "9fefe041c97a9abaed0630b706086852eb904441",
        "phabricator_id": 252575,
        "phabricator_phid": "PHID-DREV-4jqucmq6orj4yiscfqqb",
        "title": "Bug 1963885 part 6 - move acknowledgement message after Acknowledge() call r=#dlp-reviewers!",
        "bugzilla_id": 1963885,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477486/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477486/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252575"
    },
    "phid": "PHID-DIFF-pcvtn2un6ovydhii5rf2",
    "review_task_id": "JKPOxHosSf2acNzqLSGLEQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1433e846c20eaa0223e20452e31020d12053fac6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064406/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T19:13:31.469150Z"
}