Single API call to update multiple Environment Variables

resin-cli

#1

Hi all, I was wondering if there is a way of packing multiple API calls for updating environment variables.
At the moment you can only update one at a time on a single API call.

There is this forum topic: Batch environment variables changes
but there you just explain how you catch several API calls to avoid several restarts.

Would it be possible to have an API call in which you can send several env vars at the same time?
This would be helpful because then we can avoid having delays of each call and have just one. This is especially on lambda calls that depend on internet usage.

Thanks


#2

Hi, it is not yet possible, but we are currently adding capability to our underlying infrastructure to be able to do that. Made a note of your suggestions, and will keep you posted!