List and retrieve diffs with detailed revision information

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

{
    "id": 1056274,
    "revision": {
        "id": 477221,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b2d46ad1f8b2f0457540861175c57e5a81d00df6",
        "head_changeset": "7f722ebd2295ff256b3e545cc892fd1323833126",
        "phabricator_id": 252310,
        "phabricator_phid": "PHID-DREV-3w6bw5o2frve7qt2o77t",
        "title": "Bug 1969587 - Add Trending Search feature toggle to Customization Panel and about:preferences#home Settings page r=#home-newtab-reviewers",
        "bugzilla_id": 1969587,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477221/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477221/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252310"
    },
    "phid": "PHID-DIFF-otsyic7mxz6qyniypclo",
    "review_task_id": "fCQeBLVZRSOb5FZQzdX4YQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6ba4731ac47f103025e13008438a174c81d70b41",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056274/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T22:00:47.734090Z"
}