Suggest answers for an install's Configure step.
POST/api/v1/plugin-installations/recommendplugins:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
For each question of the manifest's Configure step you send (inputs), the organisation's entities and the manifest's own declarations ranked as answers, each with its reasons: what the install wizard pre-selects. Give exactly one of manifest_yaml and upload_id. Deterministic, read-only. Needs View Plugin Dependencies.
| スコープ | plugins:read (機密性の高いスコープ) |
| 非同期 | いいえ |
| MCP ツール | recommend_plugin_installations |
| Portal の権限 | view_plugin_dependencies |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
Docwize-Version | header | string (date) | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | PluginRecommendationRequestInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json PluginRecommendations |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
PluginInputSuggestions
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
input_key | string | 必須 | |
suggestions | PluginSuggestion の配列 | 必須 |
PluginRecommendationInputInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
entity_name | string | 必須 | |
entity_slug | string | 必須 | The slug of the manifest entity the input belongs to. |
entity_type | string | 必須 | The entity type the input belongs to. |
field_key | string | 必須 | The member of the entity the input fills. |
input_key | string | 必須 | The manifest's input id (its key under inputs); the suggestions come back under it. |
input_type | string | 必須 | The input's type in the manifest: folder_selection, group_assignment, user_assignment, workflow_assignee, email_recipient or doc_type_allocation. |
label | string または null | 任意 | |
placeholder | string または null | 任意 |
PluginRecommendationRequestInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
inputs | PluginRecommendationInputInput の配列 | 必須 | The Configure-step questions to suggest answers for. |
manifest_yaml | string | 任意 | The plugin manifest, as YAML. Give this or upload_id. |
upload_id | string または null | 任意 | A completed upload session with purpose plugin_bundle; the upload stays usable for the install. Give this or manifest_yaml. |
PluginRecommendations
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
items | PluginInputSuggestions の配列 | 必須 | One entry per input sent, in the order sent. |
PluginSuggestion
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
kind | string | 必須 | existing (a row of the organisation) or manifest (declared by the manifest itself); open. |
label | string | 必須 | |
reasons | string の配列 | 必須 | Why it was suggested, in words. |
score | number | 必須 | Higher is a better match. |
value | string | 必須 | The ID or key to answer with. |