Get plugin privileges Run in API Explorer

GET /plugins/privileges

Query parameters

  • remote string Required

    The name of the plugin. The :latest tag is optional, and is the default if omitted.

Responses

  • 200 application/json

    no error

    Hide response attributes Show response attributes object
    • Name string
    • Description string
    • Value array[string]
  • 500 application/json

    server error

    Hide response attribute Show response attribute object
    • message string Required

      The error message.

GET /plugins/privileges
curl \
 --request GET 'http://api.example.com/v1.44/plugins/privileges?remote=string'
Response examples (200)
[
  {
    "Name": "network",
    "Value": [
      "host"
    ],
    "Description": ""
  },
  {
    "Name": "mount",
    "Value": [
      "/data"
    ],
    "Description": ""
  },
  {
    "Name": "device",
    "Value": [
      "/dev/cpu_dma_latency"
    ],
    "Description": ""
  }
]
Response examples (200)
[
  {
    "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."
}