Actions86
- Config Actions
- Container Actions
- Edge Group Actions
- Edge Stack Actions
- Environment Actions
- Image Actions
- Network Actions
- Node Actions
- Registry Actions
- Secret Actions
- Service Actions
- Setting Actions
- Stack Actions
- System Actions
- Team Actions
- Template Actions
- User Actions
- Volume Actions
- Webhook Actions
Config → Get Many
AI-generatedOverview
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
- Listing all Docker Swarm configs in a specific environment to audit or manage configurations.
- 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
- Portainer API - Configs - Official Portainer API documentation for managing Docker Swarm configs.