Configuring Automatic Topic Creation
Function
This API is used to configure automatic topic creation.
URI
POST /v2/{project_id}/instances/{instance_id}/autotopic
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain it, see Obtaining a Project ID. |
instance_id |
Yes |
String |
Instance ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
enable_auto_topic |
Yes |
Boolean |
Whether to enable automatic topic creation. |
Response Parameters
Status code: 200
The function is enabled or disabled successfully.
None
Example Requests
Enabling automatic topic creation
POST https://{endpoint}/v2/{project_id}/instances/{instance_id}/autotopic { "enable_auto_topic" : true }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
The function is enabled or disabled successfully. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot