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
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
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.
Thank you,
Girban
Agreed. I am seeing the same behavior in my lab. I am using a local admin account that I've created under Manage Accounts with has admin privs. We are working on update the release notes and have a document KCS article to point out the same / similar error message. When using the older port of TCP port 17778, it is responding with 405 Method Not Allowed
Great. Thank you Kita!
For now we will create an internal api user account with restricted access to validate our work, hopefully this will be updated to eliminate confusion.
Thank you both for the help.
Girban
GirbanG , can you elaborate here?
chad.every According to the documentation, to use the API, simply create the API username under "Manage API Poller Credentials." However, this is not sufficient; the account must also be created under the "Manage Accounts" section. Without creating the account under "Managed Accounts,” we received a failure.
GirbanG We went back to test 2024.1 with an API Poller Credential and received the forbidden message. I am not sure if this worked at some point in time before so we will need to do more testing. The API Poller Credential should only be used for the API poller itself. The SWIS API should be using only the Web Console credential under Managed Accounts.
You are mixing up things! API poller credentials are for gathering information from other devices (monitoring the devices via API). From your current explanation I am assuming that you are looking for interaction with the SolarWinds Platform.
GirbanG you need to create the SWIS API Account ONLY under manage accounts.
please elaborate further, so we know what you are trying to achieve. At the moment it seems to be a guessing game for us.
I dont think those commas are valid
Can you send the documentation link? The API Poller Credentials are part of a different feature entirely. Creating an account under Manage Accounts is the correct way.
I think you're trying to have solarwinds poll itself for stuff, I use this method. 405 sounds like you're hitting your target. Works in one version back and I'm completely confident it would continue to work on your version
Now it's clear, to collect information from SW I need to create an account under the Account Manage, to pull information about SW itself I will provision the poller account. Got it :)
Now it's clear, to collect information from SW I need to create an account under the Account Manage, to pull information about SW itself I will provision the poller account. Got it :)
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 200,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.