Direct Data Interface
After the Database Synchronization, All the tables available in the database schema will be available as as REST end points.
The CRUD operations will be available as below. Please note that the first letter of the table name will be capitalized. for example employee_details will be mapped as EmployeeDetails. (Similar to Java class naming conventions)
Query the table
POST http://127.0.0.1:6060/palmyra/ddi/v1/myapp/query/{TableName}
Get single record
GET http://localhost:6060/palmyra/ddi/v1/myapp/data/{TableName}/{idValue}
Create / update record
POST http://localhost:6060/palmyra/ddi/v1/myapp/data/{TableName}
Delete the record
DELETE http://localhost:6060/palmyra/ddi/v1/myapp/data/{TableName}/{idValue}
For more details on request and response format, refer to the API Reference. Kindly note that Direct data interface URL contains palmyra/ddi where as standard API will contain palmyra/api