I want list list APIs available on my AWS API Gateway instance using REST API. I tried:
- v2 API :: https://apigateway.eu-central-1.amazonaws.com/v2/apis
- v1 API :: https://apigateway.eu-central-1.amazonaws.com/restapis
I am using the same auth credentials for both calls.
Both respond with 200 OK.
- v1 returns proper data with my APIs
- v2 returns an empty response ( {"items": []} )
- AWS-CLI v2 command
aws apigateway get-rest-apisreturns proper data
Any idea why v2 REST API returns empty response?