A serverless gateway to an Elasticsearch instance.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.npmignore
README.md
env.yml.example
handler.js
package.json
serverless.yml.example

README.md

convey

Convey is a serverless gateway to an Elasticsearch instance.

API

POST /index

Indexes a document in Elasticsearch.

Example

Request Body (JSON)
{
    "secret": "your-secret-here",
    "index": "some-index",
    "type": "some-type",
    "field1": "a field",
    "field2": "another field",
    "field3": "yet another field"
}
Result

Indexes the following document in Elasticsearch:

{
    "index": "some-index",
    "type": "some-type",
    "body": {
        "field1": "a field",
        "field2": "another field",
        "field3": "yet another field"
    }
}