Install a plugin Run in API Explorer
Pulls and installs a plugin. After the plugin is installed, it can be
enabled using the POST /plugins/{name}/enable
endpoint.
Headers
-
A base64url-encoded auth configuration to use when pulling a plugin from a registry.
Refer to the authentication section for details.
Query parameters
-
Remote reference for plugin to install.
The
:latest
tag is optional, and is used as the default if omitted. -
Local name for the pulled plugin.
The
:latest
tag is optional, and is used as the default if omitted.
POST
/plugins/pull
curl \
--request POST 'http://api.example.com/v1.49/plugins/pull?remote=string' \
--header "Content-Type: application/json" \
--header "X-Registry-Auth: string" \
--data '[{"Name":"network","Value":["host"],"Description":""},{"Name":"mount","Value":["/data"],"Description":""},{"Name":"device","Value":["/dev/cpu_dma_latency"],"Description":""}]'
Request examples
# Headers
X-Registry-Auth: string
# Payload
[
{
"Name": "network",
"Value": [
"host"
],
"Description": ""
},
{
"Name": "mount",
"Value": [
"/data"
],
"Description": ""
},
{
"Name": "device",
"Value": [
"/dev/cpu_dma_latency"
],
"Description": ""
}
]
Response examples (500)
{
"message": "Something went wrong."
}
Response examples (500)
{
"message": "Something went wrong."
}