Xapix provides several ways of making endpoints. Using the Create new REST Endpoint button on the Project dashboard, you select an HTTP method and provide a path for the endpoint. Xapix provides a method to automatically generate an endpoint from a data source.
As we have create our Quickstart tutorial data sources, let's just use one of them to quickly create an endpoint. For example, using the data source findEngineByID, the following endpoint is automatically created.
Each data source on the Available Data Sources page includes a dropdown menu that includes an option to automatically create a mapping with a data source. This means Xapix creates a request and an endpoint that are mapped to the data source.
Xapix automatically generates a pipeline that includes an endpoint using the data source.
Click Data Sources from the Home menu. This lists the available data sources to your project.
Locate the data source findEngineById in the list of data sources.
Click the down arrow at the end of a data source row to reveal the Options menu for the selected data source.
Click Create mapping with Data Source. Xapix then generates an endpoint and a pipeline.
To continue, see View mappings.