メインコンテンツまでスキップ

Accept a recommended tag.

POST/api/v1/documents/{document_id}/recommended-tags/{recommended_tag_id}/confirmdocuments:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Records the acceptance as the Recommended Tags card does and puts the tag on the document (a tag already on it is fine). Copy request_token, confidence and rank from the recommendation so the Portal's feedback log can tie them. The tag must be open to you. Needs Submit Tag Recommendation Feedback, Assign Document Tags, View Tags and read access to the document.

スコープdocuments:write
非同期いいえ
MCP ツールconfirm_document_recommended_tag
Portal の権限submit_tag_recommendation_feedback, assign_document_tags, view_tags

パラメーター​

名前場所型必須説明
document_idpathstring必須
recommended_tag_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonRecommendationFeedbackInput

応答​

ステータス説明本文
200Success.application/json RecommendationFeedbackResult
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflict, idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

RecommendationFeedbackInput​

フィールド型必須説明
confidencenumber または null任意The recommendation's confidence.
rankinteger または null任意The recommendation's rank.
reason_keystring または null任意The recommendation's reason_key.
request_tokenstring または null任意The request_token of the recommendation.

RecommendationFeedbackResult​

フィールド型必須説明
actionstring必須accepted or dismissed.
document_idstring必須
recommended_tag_idstring必須