20 Feb 2021
12:21 PM
- last edited on
24 May 2021
07:11 AM
by
MaciejNeumann
Given that the UI uses a separate API than the environment API, it seems to me that it might not be accessible.
In any case, I would ask if anyone can give insight on this, if it might be used, or if there are any intentions of exposing it to the users that are willing to use it in an advanced form?
Solved! Go to Solution.
Yes, technically it is, but I'd discourage using that API as may break without notice and you are also risking breaking some configuration if you want to do changes. Just by logging in and issuing correct requests (csrf_token and Cookies), you are able to call it. Another method I can think of would be using some browser scripting tools (selenium for example).
I understand there are still areas not covered by the Config or Environment APIs. Just wondering - which API do you need to call and what is the use case?
@Július L., yes, I imagine it is possible, but I have only looked at the replies coming in via the Developer Tools. In some cases, that's a real help, as I have noticed in the following post, which involved this technique and some ggplot stitching:
In my case, I'm looking for a way to get data for a specific service, where there are too many types of requests to get them from Request Attributes. I have upvoted an old RFE that is basically what I need:
Just quick notice that I was trying to find a solution that would involve API tokens, and not passing authentication information from an existing session. The reason is that I'm trying to automate it, of course...
So our customers to workaround missing pieces in REST APIs use Selenium automation to just click things in UI instead. Definitely more secure.
Yes, I could even use RPA and get it, but doesn't make sense 😉
Definetly, it would make sense that this data is available...