List and retrieve diffs with detailed revision information

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

{
    "id": 1054678,
    "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-j2noj2ead5tjdb7pptjo",
    "review_task_id": "LCxpqjPLTzmzPkgn_PT4OQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3e17497e99f1baa16f81465d1f852b4cdc3b741b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054678/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T22:16:28.746597Z"
}