Resolve Review
レビューを承認/却下する(Section 25-3)。admin 以上。
action_type / merged_content が指定された場合は resolution_payload を上書きして適用する。 省略時は既存動作(resolution_payload のみ参照)が保たれる(後方互換)。
矛盾調停アクション(supersede/merge/keep_both)を approve する場合は Pro ゲートを適用する。 plain review(action_type なし)はゲートしない(free admin の scope_check 等が 402 化する逆回帰防止)。 順序: require(“admin”)が Depends として先に評価済み → 403 が 402 に優先(契約どおり)。
POST
/reviews/{review_id}/resolvePath parameters
review_idstringrequiredHeader parameters
authorizationstring | anyX-Api-Keystring | anyRequest body
requiredapplication/jsonactionstringrequiredaction_typestring | anyShow propertiesHide properties
Any of:
string
stringany
anymerged_contentstring | anyShow propertiesHide properties
Any of:
string
stringany
anyResponses
200Successful Response
any422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredRequest
curl -X POST "/reviews/string/resolve" \
-H "Content-Type: application/json" \
-d '{
"action": "string",
"action_type": "string",
"merged_content": "string"
}'const response = await fetch("/reviews/string/resolve", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"action": "string",
"action_type": "string",
"merged_content": "string"
})
});import requests
response = requests.post(
"/reviews/string/resolve",
headers={
"Content-Type": "application/json"
},
json={
"action": "string",
"action_type": "string",
"merged_content": "string"
},
)Response
"string"{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}