Greetings all,
It's taking SolarWinds 5 days to answer and help me with API problem, my basic question is - Is REST API supported/available on 2024?
Thank you,
Girban
Hi Girban,
REST API is available on all versions of the Orion Platform, 2024 included.
Have a look in the OrionSDK landing page: https://github.com/solarwinds/OrionSDK
Schemas available per version: https://solarwinds.github.io/OrionSDK/
Swagger: https://solarwinds.github.io/OrionSDK/swagger-ui/
Wiki: https://github.com/solarwinds/OrionSDK/wiki
What API problem are you trying to solve?
Regards,Antonis
in addition to @antonis.athanasiou , API related questions are only supported via THWACK or on Github.
Or is your REST API Question related to SAM API Polling? Going into the same direction as antonis, can you elaborate on your request
Thank you Antonis for the reply.
We are try to execute a simple query to test API, nothing seems to work. We tried with a Python script, direct URL and Postman, the error is the same - "405Method Not Allowed". We can't even confirm if the feature is working, and there is not indication what possibly is going wrong.
@GirbanG In 2024.2, the SWIS API port was officially moved from 17778 to 17774. If you are script is still utilizing 17778, you want to switch it to 17774 or use the workaround stated in the release notes: https://documentation.solarwinds.com/en/success_center/orionplatform/content/release_notes/solarwinds_platform_2024-2_release_notes.htm
Hello HerrDoktor,
We have exhausted all the links and references above, all we are trying to figure out is why it's not working.If the this only supported via Thwack and Github, it would have been nice for support to mention that instead of sitting on the ticket for 5 days
Regards,
Hello Kita,
This is much better now, I am at least getting the enter username/password from a browser
However, I am getting a forbidden error message now for this basic query from Postman:
https://192.168.255.122:17774/SolarWinds/InformationService/v3/Json/Query?query=SELECT+NodeID,Caption,IP_Address+FROM+Orion.Nodes
I double checked the username and password, I deleted and created a new one just in case but the error still there.
Thanks,
what's the specific error message you're seeing in postman? configuring the Authorization tab with Basic Auth should be enough, just tried with the query you commented, only changed the IP address to my environment and it worked
are you definitely relying on REST or are PowerShell Scripts also an option. I have come across some minor limitations with REST API as opposed to the PowerShell Commandlets
@HerrDoktor REST is our only option, we are starting with very basic calls for a larger automation effort.