aws-amplify / amplify-category-api

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development. This plugin provides functionality for the API category, allowing for the creation and management of GraphQL and REST based backends for your amplify project.
https://docs.amplify.aws/
Apache License 2.0
87 stars 73 forks source link

List all REST API endpoints with `amplify status` #1720

Open chrisl777 opened 1 year ago

chrisl777 commented 1 year ago

Is this feature request related to a new or existing Amplify category?

api

Is this related to another service?

No response

Describe the feature you'd like to request

When you run amplify status on the command line, you get information about your environment.

I have multiple REST endpoints set up; admin queries, billing API, public API, etc.

The information you get back only includes the information about one of the REST endpoints (perhaps it shows the first one alphabetically?).

GraphQL endpoint: https://[APPSYNC ID].appsync-api.[REGION].amazonaws.com/graphql
GraphQL API KEY: [API Key]

GraphQL transformer version: 2
REST API endpoint: https://[API GATEWAY ID].execute-api.[REGION].amazonaws.com/dev

Describe the solution you'd like

Where it says "REST API endpoint," it would be ideal if it could list all REST endpoints in my project.

Describe alternatives you've considered

I usually have to go to API Gateway in the AWS Console to hunt down IDs to figure out the endpoints.

Additional context

No response

Is this something that you'd be interested in working on?

Would this feature include a breaking change?

ykethan commented 1 year ago

hey, 👋 thanks for raising this! I'm going to transfer this over to our API repository for better assistance 🙂.