You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Better: Add routes and parameter to control text input on EM threads. RD-30178 (#261)
* Better: Add routes and parameter to control text input on EM threads. RD-30178
* Apply suggestions from code review
Co-authored-by: Driss Tahraoui-Maldague <[email protected]>
* gen postman
* Fix update_categories description
* gen_postman
---------
Co-authored-by: Driss Tahraoui-Maldague <[email protected]>
Copy file name to clipboardexpand all lines: specs/engage-digital_postman2.json
+65-1
Original file line number
Diff line number
Diff line change
@@ -894,6 +894,12 @@
894
894
"value": "\u003cstring\u003e",
895
895
"description": "Mandatory for a WhatsApp source. A discussion can only be initiated using a specific template created on the business manager and approved by WhatsApp. You can find all available template_languages for a given template_name on /1.0/content_sources/source_id.",
896
896
"disabled": true
897
+
},
898
+
{
899
+
"key": "disable_text_input_on_thread",
900
+
"value": "\u003cboolean\u003e",
901
+
"description": "Engage Messaging only. Allows to enable or disable customer's text input on content's thread. To disable text input, send true. To enable text input, send false. To keep as is, omit.",
902
+
"disabled": true
897
903
}
898
904
]
899
905
},
@@ -2718,6 +2724,64 @@
2718
2724
"description": "Thread closure/opening is only available for the following sources:\n* Emails\n* Answers\n* Ideas\n* Facebook Messenger\n* Google+\n* Lithium\n* Mobile Messaging\n\nStarts a job to close a thread. It returns the thread but as the job is asynchronous, the state of the “close” attribute in the returned object do not is the one when the job started.\n\nIf token’s user does not have “read” on thread’s source a 404 HTTP response will be returned. Returns a 403 if the thread cannot be closed or if the user does not have the permission to close a thread.\n\nAuthorization: no."
"description": "This method disables the text input on a messaging thread. If token’s user does not have “read” permission on the thread’s channel or if the thread is not a messaging thread, a 404 HTTP response will be returned.\n\nIf the text input is already disabled on the thread or the token’s user does not have the “reply” permission on the thread’s channel, a 403 HTTP response will be returned.\n\nAuthorization: no."
"description": "This method enables the text input on a messaging thread. If the token’s user does not have the “read” permission on the thread’s channel or if the thread is not a messaging thread, a 404 HTTP response will be returned.\n\nIf the text input is already enabled on the thread or the token’s user does not have the “reply” permission on the thread’s channel, a 403 HTTP response will be returned.\n\nAuthorization: no."
2783
+
}
2784
+
},
2721
2785
{
2722
2786
"name": "Archiving a thread",
2723
2787
"request": {
@@ -2810,7 +2874,7 @@
2810
2874
"value": "application/json"
2811
2875
}
2812
2876
],
2813
-
"description": "This method updates the categories of a thread. If token’s user does not have “read” on thread’s source a 404 HTTP response will be returned.\n\nIf the thread is already being categorized, a 409 HTTP response will be returned.\n\nAuthorization: no."
2877
+
"description": "This method updates the categories of a thread. If token’s user does not have “read” permission on the thread’s channel a 404 HTTP response will be returned.\n\nIf the thread is already being categorized, a 409 HTTP response will be returned.\n\nAuthorization: no."
0 commit comments