Find which plugin installed an entity.
GET/api/v1/plugin-originplugins:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Give entity_type and entity_ref (a row of a custom field template, workflow template, Forge function and so on): the live installation that created it, else one that reused it. origin is null when none did. Needs View Plugin Entity Origins and the right to read the entity.
| スコープ | plugins:read (機密性の高いスコープ) |
| 非同期 | いいえ |
| MCP ツール | get_plugin_origin |
| Portal の権限 | view_plugin_entity_origins |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
entity_type | query | string | 必須 | The plugin entity type, as a manifest names it (custom_field_template, workflow_template, forge_function ...). |
entity_ref | query | string | 必須 | The ID of the entity's stored row. |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json PluginOrigin |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | 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 |
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 のコードです。各コードからそのページに移動できます。
スキーマ
PluginOrigin
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
entity_ref | string | 必須 | |
entity_type | string | 必須 | |
origin | PluginOriginSource または null | 必須 | Null when no live installation created or reused the entity. |
PluginOriginSource
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
action | string | 必須 | |
entity_name | string | 必須 | |
entity_slug | string | 必須 | |
exists | boolean | 必須 | |
is_owned | boolean | 必須 | |
plugin_installation_id | string | 必須 | |
plugin_name | string | 必須 |