Build Your First API
Version 24.2.9039
Version 24.2.9039
Build Your First API
After defining a connection to your data source, you can surface the resources of your API. You can use the wizard in the administration console to generate schemas for reading and writing to your data store.
Surfacing Database Resources
To use the wizard to model a database as an API:
- Click Resources > Add Resource.
- Select a table you want to model as an API.
- Select the columns you want to surface in the resources.
The resource is defined in a schema, which can easily be modified or extended without regenerating from the database. You can modify the schema by clicking the resource or Edit in the entry for the resource. The generated schema contains the two essential components of a schema:
- An info block containing resource columns definitions
- Methods that correspond to HTTP methods and call data processing operations