Portainer icon

Portainer

Work with Portainer API data to manage Docker

Config → Get Many

AI-generated

Overview

This node operation retrieves multiple Docker Swarm configs from a specified environment in Portainer. It is useful for managing and listing all configs available in a Docker Swarm environment, allowing users to view and handle configuration data centrally.

Use Case Examples

  1. Listing all Docker Swarm configs in a specific environment to audit or manage configurations.
  2. Automating retrieval of configs for backup or synchronization purposes.

Properties

Name Meaning
Environment ID The ID of the environment/endpoint in Portainer from which to retrieve the configs.
Request Options Additional request settings such as batching, SSL certificate validation, proxy, and timeout to customize the API request behavior.

Output

JSON

  • id - Unique identifier of the config.
  • name - Name of the config.
  • createdAt - Timestamp when the config was created.
  • updatedAt - Timestamp when the config was last updated.
  • labels - Labels associated with the config for categorization or filtering.
  • data - Base64 encoded data content of the config.

Dependencies

  • Portainer API with an API key credential for authentication

Troubleshooting

  • Ensure the Environment ID is correct and accessible in Portainer to avoid 'not found' errors.
  • If SSL certificate validation fails, enable 'Ignore SSL Issues' to bypass validation, but be aware of security risks.
  • Check proxy settings if requests fail due to network restrictions.
  • Timeout errors can be resolved by increasing the timeout value in request options.

Links

Discussion