I could talk for an hour just on creating a simple GET web service.
But instead I'll take you on a whirlwind tour of so you have enough to get started, and so that you at least know what questions you need to ask
A
Under\
Note: This is what is protected when you turn on Authorization Required for Metadata Access at the schema level!!!
ords
1p_enabled
TRUE to enable Oracle REST Data Services access; FALSE to disable Oracle REST Data Services access.
p_schema
Name of the schema. If the p_schema parameter is omitted, then the current schema is enabled.
p_url_mapping_type
URL Mapping type: BASE_PATH or BASE_URL. p_url_mapping_pattern
URL mapping pattern.
p_auto_rest_auth
For a schema, controls whether Oracle REST Data Services should require user authorization before allowing access to the Oracle REST Data Services metadata catalog of this schema.
The APEX Dialog shown above shows the UI version of the PLSQL API
DEMO 1 – ENABLE SCHEMA
Navigate to SQL WORKSHOP > ORDS BASED RESTFUL SERCICES
Click REGISTER SCHEMA WITH ORDS
CHANGE ALIAS to DOUGLAS
Enable
Brief walkthough of the ORDS CONSOLE
Parameters
p_enabled
TRUE to enable access; FALSE to disable access. p_schema
Name of the schema for the table or view.
p_object
Name of the table or view.
p_object_type
Type of the object: TABLE (default) or VIEW. p_object_alias
Alias of the object.
p_auto_rest_auth
Controls whether Oracle REST Data Services should require user authorization before allowing access to the Oracle REST Data Services metadata for this object.
Usage Notes
Only database users with the DBA role can enable/access to objects that they do now own.
Tables provide the full interface, allowing Seletc, Insert, Update and delete
Views only allow select. Even if you have an INSTEAD OF Trigger, only select is allowed. (REMEMBER THE LIMITATIONS I MENTIONED)???
AutoREST demo
Go to SQL WORKSHOP > OBJECT Browser
SELECT DEPT Table
Go to REST tab
Enable DEPT Table
USING POSTMAN Walk though GET, POST, PUT DELETE