{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/517","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/517/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/517/events","html_url":"https://github.com/serverless/serverless/issues/517","id":128626221,"number":517,"title":"Support for other API Gateway endpoint types","user":{"login":"joostfarla","id":851863,"avatar_url":"https://avatars.githubusercontent.com/u/851863?v=3","gravatar_id":"","url":"https://api.github.com/users/joostfarla","html_url":"https://github.com/joostfarla","followers_url":"https://api.github.com/users/joostfarla/followers","following_url":"https://api.github.com/users/joostfarla/following{/other_user}","gists_url":"https://api.github.com/users/joostfarla/gists{/gist_id}","starred_url":"https://api.github.com/users/joostfarla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joostfarla/subscriptions","organizations_url":"https://api.github.com/users/joostfarla/orgs","repos_url":"https://api.github.com/users/joostfarla/repos","events_url":"https://api.github.com/users/joostfarla/events{/privacy}","received_events_url":"https://api.github.com/users/joostfarla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-25T20:09:30Z","updated_at":"2016-04-28T08:19:22Z","closed_at":null,"body":"Besides functions, AWS API Gateway supports three other endpoint types:\r\n\r\n* Mock Integration: For mocking a Lambda function, HTTP proxy call or AWS service proxy. Can also be used to return a static response without the need for having a function (e.g. this is how APIG does CORS by default).\r\n\r\n* HTTP Proxy: Proxy the request to another (non-Serverless) HTTP server. It can be powerful to mix your Serverless function endpoints with existing API's on the same hostname using this endpoint type.\r\n\r\n* AWS Service Proxy: Easy performing of simple AWS service API calls without having to use Lambda.\r\n\r\nTo support these types, we could add support for `s-endpoint.json` files, which can live in the module dirs next to `s-module.json` and `s-templates.json`."},"comment":{"url":"https://api.github.com/repos/serverless/serverless/issues/comments/215347318","html_url":"https://github.com/serverless/serverless/issues/517#issuecomment-215347318","issue_url":"https://api.github.com/repos/serverless/serverless/issues/517","id":215347318,"user":{"login":"nicka","id":195404,"avatar_url":"https://avatars.githubusercontent.com/u/195404?v=3","gravatar_id":"","url":"https://api.github.com/users/nicka","html_url":"https://github.com/nicka","followers_url":"https://api.github.com/users/nicka/followers","following_url":"https://api.github.com/users/nicka/following{/other_user}","gists_url":"https://api.github.com/users/nicka/gists{/gist_id}","starred_url":"https://api.github.com/users/nicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicka/subscriptions","organizations_url":"https://api.github.com/users/nicka/orgs","repos_url":"https://api.github.com/users/nicka/repos","events_url":"https://api.github.com/users/nicka/events{/privacy}","received_events_url":"https://api.github.com/users/nicka/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T08:19:22Z","updated_at":"2016-04-28T08:19:22Z","body":"What's the latest news on?\r\n\r\n> Mock Integration: For mocking a Lambda function, HTTP proxy call or AWS service proxy. Can also be used to return a static response without the need for having a function (e.g. this is how APIG does CORS by default).\r\n\r\nI need to add support for an `OPTIONS` and I don't want it to trigger my Lambda function. Not sure how to proceed."}}