List and retrieve diffs with detailed revision information

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

{
    "id": 1055125,
    "revision": {
        "id": 477733,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fe38666ef1bff2fb39cdf17083f1f1d157ad0a72",
        "head_changeset": "146615f2db0e23a8c2974785f1e876122be35f75",
        "phabricator_id": 252890,
        "phabricator_phid": "PHID-DREV-ulu4xbcpdzewwzbtb5sw",
        "title": "Bug 1970920 - Newtab link sub checks in the sponsored preference state to the system or section status of the other prefs.",
        "bugzilla_id": 1970920,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477733/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477733/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252890"
    },
    "phid": "PHID-DIFF-vt2dq4n6cwrrcoqg4a44",
    "review_task_id": "FZQeI0oAQeSZB42Es_YoEg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0c9b6d795a62158c50d20394ca0f1316e5f2d879",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055125/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T15:34:21.935459Z"
}