Optimizing Nested Resource Structure in API Gateway

0

I have a REST API set up in AWS API Gateway, and I'm trying to streamline the endpoint structure for improved performance and manageability. My API serves various resources under a nested path, specifically /rest/workspaces/coveragestores/coverages. Here's how I currently have to structure my resources to make this work: Please refer the image for my setup ) Each of these paths is set up as a separate resource, and I need to define methods (like GET, POST, etc.) for each one. This structure is becoming complex and cumbersome to manage, especially as more nested resources and methods are added. I appreciate any guidance or resources you could point me to, including documentation, tutorials, or personal experiences with similar API setups.

Thank you for your time and assistance!

已提问 7 个月前332 查看次数
1 回答

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则