Getting started with the python SDK part 4: working with request parameters
Updated Jun 06, 2023
Version 2.0Was this article helpful?
Hi Jason,
thanks for this one as well (5*).
Along to
$select
and filter
I´m using the options
query parameter as well in other contexts.
remove all management routes by using a globbing wildcard:
method:DELETE
path: /mgmt/tm/sys/management-route
query:
options='*'
or options=all
remove a set of unused pools by using more specific globbing, i.e.:
method:
DELETE
path:
/mgmt/tm/ltm/pool
query:
options='pool_test_*'
save i.e. "my_partition" (using encoded spaces and curly braces):
method:
POST
data:
{"command":"save"}
path:
/mgmt/tm/sys/config
query:
options=partitions%20%7B%20my_partition%20%7D
retrieve detailled statistics for a pool (i.e. my_pool) including node information:
method:
GET
path:
/mgmt/tm/ltm/pool/~Common~mypool/stats
query:
options=detail
Thanks to you and the other folks for putting up all this stuff.
It helps me a lot to get my job done!
Cheers, Stephan