Chats
Update Chat Files
Changed onCreates, updates, or deletes UTF-8 or base64-encoded files for a chat. Pass null to delete.
patch/chats/{chatId}/files
Request
- Base URLhttps://api.v0.dev/v2
- URLhttps://api.v0.dev/v2/chats/{chatId}/files
- AuthHTTP bearer
Path parameters
chatIdstring required
The unique identifier of the chat.
Request body
Response
The messages created to record the file edit.
Changes
- info
added the new optional request property
//(media type: application/json) - info
added the new optional request property
//(media type: application/x-www-form-urlencoded) - info
added the new optional request property
//(media type: multipart/form-data)
- info
- info
response property
messages/items/parts/items/oneOf[subschema #8]/data/anyOf[subschema #3]/requestedNpmRegistryIdsdeprecated
- info