Overview
Morph can easily generate APIs from Source. 4 types of APIs can be generated by Morph
- Query: Retrieve a record
- Create: Create a record
- Update: Update a record
- Delete: Delete a record
Each API can be configured by clicking the Expand button at the top of the cell.
Query
This API is used to retrieve records. The following four items can be set on the settings screen.
- Select: Specify the fields to retrieve.
- Mask: Anonymize the value of the field to be retrieved.
- Filter: Specify the conditions for retrieving records.
- Sort: Specify the sorting conditions of the records to be retrieved.
Create
Creates a record. The following two items can be set on the settings screen.
- Allowed values: Specify the fields that are allowed to be created.
- Fixed values: Specify fields for fixed values.
Update
Update records. The following two items can be set on the settings screen.
- Allowed values: Specify fields that are allowed to be updated.
- Fixed values: Specify the fields to enter fixed values.
Delete
Deletes a record. In the settings screen, you can set one of the following items.
- Filter: Specify the conditions for records to be deleted.