Develop with Oracle REST Data Services on Autonomous Database

Autonomous Database supports Oracle REST Data Services (ORDS).

Developing RESTful services is easy with the following development interfaces:

The Autonomous Database ADMIN account is REST Enabled. This allows for REST Services to be published in the ADMIN schemas and allows you to access Database Actions using the ADMIN database user account. Oracle recommends you create an application schema account for your RESTful Services and REST enabled objects. Services are secured using Database Authentication and your REST enabled schema.

The authenticated database user is only permitted access if the schema is REST enabled and the URL mapping for the request points to their own schema. A user is not authenticated when a request points to any other database schema. For example, the following request authenticated as the REST enabled schema HR is accessible:

GET /ords/hr/module/service/

However, when authenticated as the REST enabled schema SCOTT, the same request:

GET /ords/hr/module/service/

results in an error:

401 HTTP Unauthorized response/error

Any database user whose credentials are correct and meets these rules is authenticated and granted the ORDS, mid-tier, role: SQL Developer. The SQL Developer role enables the user to access any endpoint that requires the SQL Developer role.

See REST-Enable a Database Table in Quick Start Guide for information on how to enable a table for REST access.