Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORDS URI

TrevisMay 14 2019 — edited May 21 2019

Hi all,

When looking around, it seems there is a mainstream pattern when it comes to naming API.

Most of the API is provided under an "API" subdomain, and then a version (v1, v2 or date - whatever) is added to the URL, for i.e., api.mydomain.com/v1/employers to get all employers.

However, when using ORDS to provide API for let's say, my APEX application, the URL gets very unnecessarily long, for i.e., api.mydomain.com/ords/<SCHEMA>/<MODULE>/<TEMPLATE>

So, if I have a RESTful to expose a list of employers, I have to have a minimum of 4 levels for example api.mydomain.com/ords/myuniqueschema/myuniquemodule/employers

Would there be a way to setup ORDS or maybe deploy it in such a way I could have more control in this naming structure?

Thanks in advance

This post has been answered by Olafur T on May 17 2019
Jump to Answer
Comments
Post Details
Added on May 14 2019
4 comments
773 views