Forum Discussion
REST - Any way to add multiple pool members in the same request?
The PUT request will do a replace-all-with even in v13.x. That works if it is your intention, but I am trying to get a PATCH call to just add new members and not touch the existing ones.I have an RFE open for this feature. Bit of a conflict with F5 PD claiming a PATCH request to add multiple members violated REST standards, so I believe the RFE is stalled currently. If you need this feature, please ask for an RFE from your F5 account team. The more we ask, the more likely they will implement.
I have found that doing individual member adds in a transaction gives the best performance for now.
Hi bbusby, currently I´m using PATCH on pool level to replace the complete list of pool members without touching other pool properties. Indeed I was looking as well to add a list of new members to the already existing members. Adding a single member to the existing members works fine in v12 and adding a list is on my "nice-to-have" list as well. If you would provide your RFE reference please, I will ask my client to open a support ticket to be attachted to your RFE. As it works in tmsh, it should be working via REST as well in my opionion. Using transactions would be a good alternative. At this time I´m using them to replace client-ssl profiles in a virtual server configuration. Cheers, Stephan
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com