Skip to main content

Get what a plugin installation created, reused and failed to install.

GET/api/v1/plugin-installations/{plugin_installation_id}/contentsplugins:read

Every entity the installation created or reused (whether it still exists, when an uninstall removed it, which other plugins share it), the entities that failed with why, and the stored manifest as YAML. The per-entity reasons of a failed install are read here. Needs View Plugin Installations.

Scopeplugins:read (sensitive)
AsynchronousNo
MCP toolget_plugin_installation_contents
Portal permissionsview_plugin_installations

Parameters​

NameInTypeRequiredDescription
plugin_installation_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json PluginInstallationContents
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/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
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

PluginFailedEntity​

FieldTypeRequiredDescription
entity_namestringRequired
entity_slugstringRequired
entity_typestringRequired
reasonstring or nullRequiredWhy the entity failed.

PluginInstallationContents​

FieldTypeRequiredDescription
contents_trackedbooleanRequiredFalse for an installation that predates the provenance records: its entities cannot be listed.
entitiesarray of PluginInstalledEntityRequiredEverything the installation created or reused, in install order.
failed_entitiesarray of PluginFailedEntityRequiredEntities the install could not install, with why: read this for a failed installation.
manifest_yamlstring or nullRequiredThe stored manifest, as YAML.
plugin_installation_idstringRequired

PluginInstalledEntity​

FieldTypeRequiredDescription
actionstringRequiredWhat the install did: created, reactivated or reused (open).
entity_namestringRequired
entity_refstring or nullRequiredThe stored row's ID (its type is entity_type).
entity_slugstringRequiredThe entity's slug in the manifest.
entity_typestringRequired
existsbooleanRequiredThe entity is still in the organisation. False for one that was deleted by hand, or removed by an uninstall.
is_ownedbooleanRequiredAn uninstall removes it: the installation created or reactivated it.
reasonstring or nullRequiredThe note the installer recorded for this entity.
removed_atstring (date-time) or nullRequiredWhen an uninstall removed or retired it.
shared_witharray of PluginSharingInstallationRequiredOther live installations that use the same entity, which keep an uninstall of this one from removing it.

PluginSharingInstallation​

FieldTypeRequiredDescription
plugin_installation_idstringRequired
plugin_namestringRequired
plugin_slugstringRequired