added readme file

This commit is contained in:
heyethereum
2024-08-17 08:53:39 +08:00
parent 1625de948f
commit c089999d20
11 changed files with 157 additions and 1357024 deletions

View File

@@ -31,6 +31,43 @@
"statusCode" : "200"
}
},
"requestParameters" : {
"integration.request.header.accessToken" : "context.authorizer.claims.custom:access_token",
"integration.request.header.X-USER-ID" : "context.authorizer.claims.sub",
"integration.request.header.refreshToken" : "context.authorizer.claims.custom:refresh_token"
},
"passthroughBehavior" : "when_no_match",
"connectionType" : "VPC_LINK",
"tlsConfig" : {
"insecureSkipVerification" : true
},
"type" : "http_proxy"
}
}
},
"/v1/gmail/getScannedEmails" : {
"get" : {
"produces" : [ "application/json" ],
"responses" : {
"200" : {
"description" : "200 response",
"schema" : {
"$ref" : "#/definitions/Empty"
}
}
},
"security" : [ {
"Cognito" : [ ]
} ],
"x-amazon-apigateway-integration" : {
"connectionId" : "h1icfc",
"httpMethod" : "GET",
"uri" : "https://safeqr-nlb-6bd79c7ba50f3cb5.elb.ap-southeast-1.amazonaws.com:8443/v1/gmail/getScannedEmails",
"responses" : {
"default" : {
"statusCode" : "200"
}
},
"requestParameters" : {
"integration.request.header.X-USER-ID" : "context.authorizer.claims.sub"
},
@@ -345,7 +382,6 @@
"default" : {
"statusCode" : "200"
}
},
"requestParameters" : {
"integration.request.header.X-USER-ID" : "context.authorizer.claims.sub"
@@ -586,15 +622,15 @@
"DEFAULT_4XX" : {
"responseParameters" : {
"gatewayresponse.header.Access-Control-Allow-Methods" : "'OPTIONS'",
"gatewayresponse.header.Access-Control-Allow-Origin" : "'*'",
"gatewayresponse.header.Access-Control-Allow-Headers" : "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'"
"gatewayresponse.header.Access-Control-Allow-Headers" : "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'",
"gatewayresponse.header.Access-Control-Allow-Origin" : "'*'"
}
},
"DEFAULT_5XX" : {
"responseParameters" : {
"gatewayresponse.header.Access-Control-Allow-Methods" : "'OPTIONS'",
"gatewayresponse.header.Access-Control-Allow-Origin" : "'*'",
"gatewayresponse.header.Access-Control-Allow-Headers" : "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'"
"gatewayresponse.header.Access-Control-Allow-Headers" : "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'",
"gatewayresponse.header.Access-Control-Allow-Origin" : "'*'"
}
}
},