List and retrieve diffs with detailed revision information

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

{
    "id": 1051230,
    "revision": {
        "id": 477139,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d93e18fc73f214f3bd6b3ebd6ef0e8209839c1c",
        "head_changeset": "bd48cadbcf8e3cf986631a28eee7c2baa6d0be58",
        "phabricator_id": 252200,
        "phabricator_phid": "PHID-DREV-rcn3lo5z3hakpmexszfb",
        "title": "Bug 1969946 - Fix banner and tiles have rounded corners but the click ripple having square",
        "bugzilla_id": 1969946,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477139/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477139/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252200"
    },
    "phid": "PHID-DIFF-kk2ita4nvk332p4jrcld",
    "review_task_id": "U5n8PNZNR0i_Z7LVwxsI2A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bd48cadbcf8e3cf986631a28eee7c2baa6d0be58",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051230/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T18:16:14.322869Z"
}