Can you have multi path sgement keys in SST? eg: `...
# help
k
Can you have multi path sgement keys in SST? eg:
/accounts/{id}/transactions
? All the examples are single path segments like
/notes
but the app I want to port to SST have multi path
f
Yup! That works!
Copy code
new Api(this, "Api", {
  routes: {
    "GET /accounts/{id}/transactions": "src/lambda.main",
    ...
  },
});