Updating FAQ Document Chunks
Function
Update FAQ chunk information.
URI
PUT /v1/{project_id}/applications/{application_id}/uni-search/faq/batch/{file_id}/docs/{doc_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Definition: Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. Constraints: N/A Value range: The value can contain 1 to 64 characters. Only digits, letters, hyphens (-), and underscores (_) are allowed. The value must start with a letter. Default value: N/A |
application_id |
Yes |
String |
Definition: Application ID. For details about how to obtain the application ID, see Obtaining an Application ID. Constraints: Character string Value range: The value can contain 1 to 64 characters. Only digits, letters, hyphens (-), and underscores (_) are allowed. The value must start with a letter. Default value: N/A |
file_id |
Yes |
String |
Definition: File ID. Constraints: N/A Value range: Length: 1 to 64 characters. The value can contain only digits, letters, hyphens (-), and underscores (_). Default value: N/A |
doc_id |
Yes |
String |
Document chunk ID. The value can contain only 1 to 64 characters. Only digits, letters, hyphens (-), and underscores (_) are allowed. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
title |
No |
String |
Definition: Title. Constraints: N/A Value range: A maximum of 1,000 characters are allowed. Default value: N/A |
content |
Yes |
String |
Definition: Content. Constraints: N/A Value range: The value cannot be empty and can contain a maximum of 10,000 characters. Default value: N/A |
Response Parameters
Status code: 200
Update succeeded.
None
Example Requests
Update FAQ chunk information.
/v1/ee51ecd9-bc3c-4e98-b7df-ba6647350af2/applications/01d3c218-4d37-489a-98ff-69d69ea44bb1/uni-search/faq/batch/5b361670-1b2c-436e-b805-595c56f5c8e4/docs/7246ccc1-d88d-409c-8e70-30ba08efdf1b_2 { "title" : "xxxxxxxxxxxxxx", "content" : "yyyyyyyyyyyyyyyyyy" }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
Update succeeded. |
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