REST enable an object
post
                    /ords/rest/autorest/
ENABLE_OBJECT enables Oracle REST Data Services access to a specified table or view in a schema.
                
                Request
There are no request parameters for this operation.
Supported Media Types
                            - application/json
Root Schema : schema
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    auth(required): boolean
                    
                    
                     
                    
                
                
                Controls whether Oracle REST Data Services should require user authorization before allowing access to the Oracle REST Data Services metadata for this object. If this value is TRUE, then the service is protected by the following roles: oracle.dbtools.autorest.any.schema, oracle.dbtools.role.autorest.. . 
- 
                
                    
                    object_alias(required): string
                    
                    
                     
                    
                
                
                Alias of the object.
- 
                
                    
                    object_name(required): string
                    
                    
                     
                    
                
                
                Name of the table or view.
- 
                
                    
                    run_mode: string
                    
                    
                     
                    
                
                
                Its value can be 'codePreview', which would make the endpoint respond with the code the backend would have executed. When the parameter is not provided, the endpoint will respond with the results of the operation execution.
Response
Supported Media Types
                - application/json
201 Response
A REST enabled object in the schema.
                            
                            
                                403 Response
You do not have permission to enable a REST object.
                            
                            
                            
                            
                        404 Response
A REST Object does not exist.
                            
                            
                            
                            
                        409 Response
A REST enabled object with that alias already exists.