I am looking for how to call the SW API to pull nodes of a specific custom property. The documentation isn't really helping clear it up.
The easiest place to work this out is in SWQL Studio in the SDK. Here I right clicked the "Orion.Nodes" view and made a SWQL statement, deleted out a bunch of stuff to get the NodeID and Caption, then I put an alias over "Orion.Nodes" called "N", slapped it in front of my 2 columns, and added a third. This lets me use the autocomplete of SWQL studio to make sure I find what's connected by default.
I typed "N.Cu" and my options narrow to 4, so I select 'customproperties' and hit '.' again to see the columns in that table (the options in the drop down can be linked views or tables and also columns from the table you are in). I have a custom property called 'Applications' so when It type 'app' it shows in a drop down, which I select. I then build a where statement:
Where N.CustomProperties.Application LIKE 'SolarWinds Hybrid Cloud Observability (HCO)' I can obviously swap out the App name to be whatever I want to change the results, and I can test it right in SWQL studio to see if the table of results match what I want. Then I let SWQL Studio help me out. The curl and bash command under "Copy Query As" hits the Rest API directly and you might need to add credentials, but it is very close to usable right there. You will have a formatted query passed to the endpoint of a server running the information service so it can reply. The PowerShell option with use Get-SwisData from the SDK to do the query, and most people will drop the "-Parameters @{}" at the end unless you plan to use them.
@bharris1 @ me if you run into issues