Forum Discussion
Satoshi_Toyosa1
Jan 22, 2019Employee
You can use $select. See "About query parameters" in iControl REST User Guide Version 13.1 (pp. 28-29).
For example, GET /mgmt/tm/sys/version (equivalent to tmsh show sys version) returns Build, Edition, Product, Title and Version. When you add the query string $select=Edition, the call returns only the Edition field (and its parents). e.g.,
curl -sku : https://localhost/mgmt/tm/sys/version?\$select=Edition | python -m json.tool
{
"entries": {
"https://localhost/mgmt/tm/sys/version/0": {
"nestedStats": {
"entries": {
"Edition": {
"description": "Point Release 7"
}
}
}
}
}
}
The above is from LTM but it should also work on GTM/DNS.