Editing Feedback
Function
Edit the feedback, including the updated revision and feedback content.
URI
PUT /v1/{project_id}/applications/{application_id}/uni-search/feedback-manage
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 |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
repo_id |
No |
String |
Definition: Knowledge base ID. This parameter is required for granting user permissions. Constraints: N/A Value range: 1 to 64 characters. Default value: N/A |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Definition: Token used for API authentication. For details about how to obtain the token, see Obtaining an IAM User Token. Constraints: N/A Value range: N/A Default value: N/A |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
feedback_id |
No |
String |
Definition: Feedback ID. Constraints: N/A Value range: The value can contain 1 to 64 characters. It can only contain letters, digits, underscores (_), and hyphens (-). Default value: N/A |
question_id |
Yes |
String |
Definition: Q&A ID. Constraints: N/A Value range: The value can contain 1 to 64 characters. It can only contain letters, digits, underscores (_), and hyphens (-). Default value: N/A |
feedback_type |
Yes |
String |
Definition: Feedback type. Constraints: N/A Value range:
Default value: N/A |
context_relation |
No |
String |
Definition: Context association type. Constraints: N/A Value range:
Default value: N/A |
revised_answer |
No |
String |
Definition: Revise questions. Constraints: N/A Value range: A maximum of 128 characters are allowed. Default value: N/A |
revised_reason |
No |
String |
Definition: Revise reasons. Constraints: A maximum of 128 characters are allowed. Value range: N/A Default value: N/A |
standard_answer |
No |
String |
Definition: Standard answer. Constraints: N/A Value range: Enter up to 1000 characters. Default value: N/A |
feedback_status |
No |
Integer |
Definition: Feedback status. The value ranges from 0 to 10. The default value is 0. Constraints: N/A Value range:
Default value: 0 |
Response Parameters
Status code: 200
Successful response.
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Definition: Value range: N/A |
error_msg |
String |
Definition: Error message. Value range: N/A |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Definition: Value range: N/A |
error_msg |
String |
Definition: Error message. Value range: N/A |
Example Requests
Edit feedback.
/v1/12344554/applications/456877667/uni-search/feedback-manage { "question_id" : "56788667", "feedback_type" : "unlike", "context_relation" : "not_closely", "revised_answer" : "", "revised_reason" : "", "standard_answer" : "" }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
Successful response. |
400 |
Request error. |
500 |
Service error. |
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