Update a REST module
put
/ords/_/db-api/stable/ords/rest/modules/{id}
Updates a REST module.
Request
Supported Media Types
- application/json
Path Parameters
-
id: integer
ID for specific module.
Root Schema : schema
Type:
Show Source
object
-
base_path:
string
The base of the URI that is used to access this RESTful service. Example: hr/ means that all URIs starting with hr/ will be serviced by this resource module.
-
comments(optional):
string
Comment text.
-
items_per_page(optional):
integer
The default pagination for a resource handler HTTP operation GET method, that is, the number of rows to return on each page of a JSON format result set based on a database query. Default: 25.
-
module_status:
string
Publication status. Valid values: PUBLISHED (default) or NOT_PUBLISHED.
-
name:
string
Name of the owning RESTful service module. Case sensitive.
-
origins_allowed(optional):
string
Set the allowed origins for the module containing the web service call.
Response
Supported Media Types
- application/json
200 Response
Details of the REST module that has been successfully updated.
400 Response
No items_per_page or status parameter provided.
404 Response
No name or base_path parameter provided.
409 Response
A module name or base path already exists.