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 個回答

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南