A fully working and operational component template to use for starting development of your own component for the elastic.io platform.. This component comes with a basic architecture which you can use on the platform.
Our documentation on building components in java has more about each including file and their function.
The technical notes page gives some technical details about Petstore-nodejs component like changelog.
To use this component you must be registered platform user. Please see our home page at elastic.io to learn how to register.
To authenticate use secret
as an API key.
Retrieves pets from the Petstore API by given pet status using Dynamic or Static Data Sample. The difference is how these functions are made. However, both can have the following statuses defined by the Petstore API.
The input fields are:
Available
- select to get all pets with status Available
.Pending
- select for Pending
.Sold
- select for Sold
.Creates a new Pet by making a POST
to /pet
endpoint of the API.
The input fields are:
name
- the name of the pet.status
- the status which can have one Available
, Pending
and Sold
values.Click here to learn more about the elastic.io iPaaS