curl --request PATCH \
--url https://api.lunary.ai/v1/template-versions/{id} \
--header 'Content-Type: application/json' \
--data '{
"content": [
"<any>"
],
"extra": {},
"testValues": {},
"isDraft": true,
"notes": "<string>"
}'
{
"id": "<string>",
"templateId": "<string>",
"content": [
{
"role": "<string>",
"content": "<string>"
}
],
"extra": {},
"testValues": {},
"isDraft": true,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"version": 123
}
curl --request PATCH \
--url https://api.lunary.ai/v1/template-versions/{id} \
--header 'Content-Type: application/json' \
--data '{
"content": [
"<any>"
],
"extra": {},
"testValues": {},
"isDraft": true,
"notes": "<string>"
}'
{
"id": "<string>",
"templateId": "<string>",
"content": [
{
"role": "<string>",
"content": "<string>"
}
],
"extra": {},
"testValues": {},
"isDraft": true,
"notes": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"version": 123
}
ID of the template version
Updated template version
The response is of type object
.