This message was deleted.
# general
s
This message was deleted.
h
gotta access it via deployment?
exports.stagename = api.stageName;
must be undefined (returns no export) and
exports.stagename = api.deployment.stageName;
returns an empty string (edited)
got it….
api.stage.stageName
😄
and
api.restApi.id
(leaving this here in case it helps someone else but I am good to go - turns out you should look at the structure and exports.blah is a good way to do that 😛 )