Plugin server
Last updated
Was this helpful?
Last updated
Was this helpful?
The SDK wraps a plugin with a plugin server, a web service with a standardized REST API that allows actions to be used in the same way across all the plugins.
Once the plugin server is running, you can access it directly from your browser at .
Plugin server configuration is done through environment variables.
During the development, you can set them in the .env
file.
Required: Yes
Default: 123456
(set by the command)
The API key that the plugin server will use to validate incoming requests. Provide the API key in the x-api-key
header of the API request to authenticate it.
For security reasons, we strongly recommend changing the default value before deploying the code to production.
Required: No
Default: STANDARD
Available values:
STANDARD
- Use this mode to run the plugin server as a standalone application or in a container.
AWS_LAMBDA
- Use this mode to run the plugin server in AWS Lambda.
The hosting mode adjusts the behavior of the plugin server to the specific environment where it is running.
The SDK generates an OpepenAPI specification for the plugin, including the interactive docs based on Swagger UI.
In case you need to access a raw OpenAPI specification, you can find it in the following formats:
You can access the Swagger UI at while the plugin server is running.
To interact with the API, you must authenticate the request using the .
JSON:
YAML: