Upload API definition
The API definitions can be uploaded to Golem using one of the following methods:
- Use the Golem CLI tool
- Use the Rest APIs
- Use Golem Console (opens in a new tab) (Only available in Golem Cloud)
The following example uses golem-cli
to add a new API definition to the system.
Terminal
golem-cli api-definition add api-definition.json --def-format yaml
This API definition is still a draft since it is still not deployed
yet.
Once it is deployed you cannot further update this definition unless you change the version, to avoid breaking your public API.