Skip to content

Add support for Amazon API Gateway payload format version 2.0 (for HTTP API and Lambda function URLs) #2272

Closed
@kiwi-26

Description

Amazon API Gateway has 2 versions of payload format.

Using API Gateway REST API, lambda function receives event (payload version 1) and bolt can handle the event.
But via API Gateway HTTP API or Lambda function URLs, lambda functions receives event (payload version 2) and bolt can't handle some events. For example, because path field is changed (path -> rawPath), bolt don't handle events used slack event path /slack/events.

Please support both payload format version 1 and 2.

Payload format difference document:
https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Metadata

Assignees

Labels

TypeScript-specificbugM-T: confirmed bug report. Issues are confirmed when the reproduction steps are documentedsemver:minor

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions