curl --request PATCH \
--url https://api.thehaystack.ai/v2/haystack/media/chapters/{chapterId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"startMs": 123,
"suggested": true,
"accepted": true
}
'{
"chapter": {
"id": 123,
"itemId": 123,
"mediaAssetId": 123,
"title": "Introduction",
"startMs": 123,
"suggested": true,
"accepted": true,
"hidden": true
}
}curl --request PATCH \
--url https://api.thehaystack.ai/v2/haystack/media/chapters/{chapterId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"startMs": 123,
"suggested": true,
"accepted": true
}
'{
"chapter": {
"id": 123,
"itemId": 123,
"mediaAssetId": 123,
"title": "Introduction",
"startMs": 123,
"suggested": true,
"accepted": true,
"hidden": true
}
}Enter your API token from the Haystack dashboard
Updated chapter
Show child attributes