Spotinst Functions allow setting custom endpoint path in the serverless.yml file if you do not want to use the console or API. Set up the environment Alias in the console but here you can set the path and method for individual functions to be mapped to.
Here is a sample function from a yml file. At the bottom of the file, we listed an endpoint with a
method. Both of these will need to be set in order to be deployed properly.
hello: runtime: nodejs8.3 handler: handler.main memory: 128 timeout: 30 access: public endpoint: path: /home method: get
For more information on how to set up endpoint alias and patterns check out our documentation here.