2016-01-07 21:30:37 +02:00

39 lines
884 B
JSON

{
"name": "function2",
"custom": {
"envVars": [],
"excludePatterns": []
},
"handler": "nodejscomponent/module1/function2/handler.handler",
"timeout": 6,
"memorySize": 1024,
"events": [],
"endpoints": [
{
"path": "nodejscomponent/module1/function2",
"method": "GET",
"authorizationType": "none",
"apiKeyRequired": false,
"requestParameters": {},
"requestTemplates": {
"application/json": {
"access_token": "$input.params('access_token')",
"body": "$input.json('$')"
}
},
"responses": {
"default": {
"statusCode": "200",
"responseParameters": {},
"responseModels": {},
"responseTemplates": {
"application/json": ""
}
},
"400": {
"statusCode": "400"
}
}
}
]
}