I have created an API in Amazon API Gateway using the web browser. Now How can I get the ID of the API that I have just created???
https://console.aws.amazon.com/apigateway/home?region={region}#/apis/{api-id}/... Show activity on this post. To add another answer, on the AWS console, access the "API Gateway", and look for your API, it is shown right there in the list.
Your rest-api-id is the identifier before 'execute-api' in your endpoint URL. In your example URL: https://abc123.execute-api.us-east-1.amazonaws.com/MyStage/ The rest-api-id is abc123.
It can be found using the following command
aws apigateway get-rest-apis
needless to say you need to setup aws cli
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With