{
"task_id": "550e8400-e29b-41d4-a716-446655440000",
"sub_tasks": [
{
"id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"content_type": "SOURCE_REFERENCE",
"content": "Practice mindful breathing for 5 minutes",
"duration": "5 min",
"source_text_id": "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11",
"pecha_segment_id": "seg_001",
"segment_ids": [
"f47ac10b-58cc-4372-a567-0e02b2c3d479",
"7c9e6679-7425-40de-944b-e07fc1f90ae7",
"e4eaaaf2-d142-11e1-b3e4-080027620cdd"
],
"display_order": 1
},
{
"id": null,
"content_type": "VIDEO",
"content": "https://example.com/meditation-video.mp4",
"duration": "10 min",
"source_text_id": null,
"pecha_segment_id": null,
"segment_ids": null,
"display_order": 2
}
]
}
Description :
Update the existing post api to store multiple segments in db
Endpoint :
Request body :
Response : 204