REST API (UPM) to check if installation process for plugin is completed


I’m using the REST API of the UPM to install my plugins to Confluence. This works fine. Now I need to determine if the plugin I just uploaded is “ready for service”.

I checked the enablement state and the version of the plugin after the upload. But it seems that although the new version is reported as enabled, the plugin is still installing (I can see this in the UI of the server). So the enablement flag is obviously not the correct info to check.

I’ve searched in the Atlassian Communities and on for information, probably with the wrong search terms … now I’m going through the list of services in the REST API Browser, but … well there are plenty!

Is there a documentation about which service I could use to check if the installation process for a service is completed?