List and retrieve diffs with detailed revision information

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

{
    "id": 1056560,
    "revision": {
        "id": 477367,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "967b6209a671ab45f806b9c6a0f1ccd73bac977e",
        "head_changeset": "64825aaaea1331c9ee336e136879cf4b02f2337c",
        "phabricator_id": 252453,
        "phabricator_phid": "PHID-DREV-47zifs7pj3nd5kxk4r3v",
        "title": "Bug 1970316 - Fix mem-leak in ReplaceCharsInCopiedString. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1970316,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477367/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477367/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252453"
    },
    "phid": "PHID-DIFF-hcqfg5jb3x6fljm3gx2u",
    "review_task_id": "EO4yMzphSJGJuDAe1EZ1pA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b0a85a29e519f27505e6fd97560d3c4cf712838c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056560/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T09:19:30.582854Z"
}