Closed chinmoy12c closed 1 year ago
We need two apis.
{
"bot": {
"id": "23293u42309423eacsdfsdf",
"name": "Video Samiksha",
"segment_url": "http://103.154.251.109:8070/segments/1/mentors?deepLink=nipunlakshya://chatbot",
"form_id": "video_samiksha",
}
}
Tracked in #206
{
"next_page": "urlurlurlurlurl",
"success": [
"121212",
"12234234234",
"2323423"
],
"failure": [
"123"
]
}
Tracked in: https://github.com/samagra-comms/inbound/issues/88
@chinmoy12c to upload a mock for @yuvrajsab to integrate and use.
Sharing the curl for both endpoints:
Broadcast bot config:
curl --location 'http://localhost:3002/admin/bot/f5222361-5825-47c0-9eef-1577db30f843/config' \
--header 'admin-token: {admin-token}'
Broadcast bot report:
curl --location 'http://localhost:3002/admin/bot/334c9fc0-5033-40ab-9708-1045c1d4961f/broadcastReport?nextPage=GgAKODAwNjQyNzI3NAAACjk4NzY1NDMyMTAACgAIAAABiE3tVlTwf__4L_B____3&limit=10000' \
--header 'admin-token: {admin-token}'
@chinmoy12c This is the response we are expecting.