From 454005d96dcfaa83838ed1eab7502c3a44bb6d71 Mon Sep 17 00:00:00 2001 From: Jeremy Daly Date: Sat, 22 Dec 2018 11:54:48 -0500 Subject: [PATCH] add documentation for REQUEST interface detection --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a5a1de3..f9fee9e 100644 --- a/README.md +++ b/README.md @@ -384,6 +384,7 @@ The `REQUEST` object contains a parsed and normalized request from API Gateway. - `app`: A reference to an instance of the app - `version`: The version set at initialization - `id`: The awsRequestId from the Lambda `context` +- `interface`: The interface being used to access Lambda (either `apigateway` or `alb`) - `params`: Dynamic path parameters parsed from the path (see [path parameters](#path-parameters)) - `method`: The HTTP method of the request - `path`: The path passed in by the request including the `base` and any `prefix` assigned to routes