# Replace Application Content Replace an existing application content Endpoint: PUT /hub/apps/{id}/contents/{cid} Version: 2025-08-18T18:01:56Z Security: api_key ## Path parameters: - `cid` (string, required) Content ID - `id` (string, required) Application ID ## Request fields (application/json): - `text` (string, required) Content text in UTF-8 - `hash` (string, required) A hash representation of the content that is to used for equality computation. - `metadata` (object) A key value JSON dictionary. - `document` (object) A key value JSON dictionary. ## Response 200 fields (application/json): - `status` (object) response status - `status.success` (boolean) Response status - `status.code` (integer) Response status code - `result` (object) response body - `result.app-id` (string) Generated Application ID - `result.cid` (string) Generated Content ID