Creating a REST API from scratch by using the IBM Integration Toolkit
You can create a REST API by defining the resources, models,
and operations in the IBM® Integration Toolkit.
About this task
You can use the REST API editor to create a REST API from
scratch. Alternatively, you can
create
a REST API by importing a Swagger document.
Procedure
To create a REST API by defining the resources, models,
and operations, complete the following steps:
- Open the Create a REST API wizard
by clicking .
- Enter a name for the REST API. The name that
you specify is used as the name of the project in the IBM Integration Toolkit.
- Select Create a REST API and define resources
and operations yourself.
- To finish creating the REST API, click Finish. The REST API Editor for the new
REST API opens automatically, which you must now use to define resources,
models, and operations, as described in Defining resources, models, and operations in a REST API.
Results
The REST API is created.
What to do next
Define the operations in the REST API and then implement
them, by completing the steps in the following topics:
- Defining resources, models, and operations in a REST API
- Implementing an operation in a REST API