edit-thread-metadata
Modify or remove metadata for specified threads in Liveblocks rooms. Update thread details with user IDs and timestamps for organized collaboration.
Instructions
Edit a Liveblocks thread's metadata. null
can be used to remove a key.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes | ||
roomId | Yes | ||
threadId | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"data": {
"additionalProperties": false,
"properties": {
"metadata": {
"additionalProperties": {
"type": [
"string",
"boolean",
"number",
"null"
]
},
"type": "object"
},
"updatedAt": {
"format": "date-time",
"type": "string"
},
"userId": {
"type": "string"
}
},
"required": [
"metadata",
"userId"
],
"type": "object"
},
"roomId": {
"type": "string"
},
"threadId": {
"type": "string"
}
},
"required": [
"roomId",
"threadId",
"data"
],
"type": "object"
}