Updated on 2025-08-13 GMT+08:00

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

Table 1 Path Parameters

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

Table 2 Query Parameters

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

Table 3 Request header 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

Table 4 Request body parameters

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:

  • like

  • unlike

Default value:

N/A

context_relation

No

String

Definition:

Context association type.

Constraints:

N/A

Value range:

  • not_closely not closely related

  • not_sensitive context information not understood

  • wide_off irrelevant answer

  • unidentified_error error in the question not identified

  • not_understood partial content or requirements not understood

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:

  • 0: Not corrected

  • 1: Corrected

  • 2: Not an issue

Default value:

0

Response Parameters

Status code: 200

Successful response.

Status code: 400

Table 5 Response body parameters

Parameter

Type

Description

error_code

String

Definition:

Error Code.

Value range:

N/A

error_msg

String

Definition:

Error message.

Value range:

N/A

Status code: 500

Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Definition:

Error Code.

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.