Forum Discussion
Aurora still supports the legacy REST APIs, although the url path needs to be updated to append /t5/s to hit those legacy REST endpoints. I assume your developers aren't directly using LiQL or SQL rather that they are using REST endpoints where they pass LiQL to execute a query and get a response. While the REST APIs are still available today with that URL change, they will be deprecated in a future release with plenty of prior notice given.
GraphQL is a query language but it still works through basic HTTP commands (post), the difference is you are passing along GraphQL queries in the request, often to a single endpoint, to request exactly the data you want returned. It's a more standardize structure to our proprietary LiQL queries. Outside of some helper libraries that making caching and state management easier, if any 3rd party app is making REST API calls, the transition to GraphQL API can use similar web/http requests. This can be experimented with basic web tools like Postman or even javascript fetch commands, curl etc.
- SheenaK3 months agoChampion
the url path needs to be updated to append /t5/s to hit those legacy REST endpoints.
Okay, that could solve it, thanks! I'll relay it back to the team for a temporary fix, and then we can work on updating them to GraphQL properly.
- NickH3 months agoKhoros Staff
The other thing to check with be how they are authenticating. Most likley they are doing a proper auth flow, but classic also allowed the session id cookie to be used for API auth which was not recommended but possible in older instances of classic. To further protect the API and data, Aurora does not allow this to be used to authenticate APIs requests.
- SheenaK2 months agoChampion
They replied to say "We are not using the REST API to get the results, we are directly querying the SQL from Java class."
- cblown3 months agoBoss
Aurora still supports the legacy REST APIs
Good to know... 🤔
Related Content
- 10 months ago
- 3 months ago
- 2 years ago
- 2 months ago