---
swagger: "2.0"
info:
  version: "0.1.0"
  title: "eventdb-ingestion-api"
tags:
- name: "EventDB Ingestion"
paths:
  /ingest/add:
    post:
      tags:
      - "EventDB Ingestion"
      summary: "adds an event to the eventdb"
      description: ""
      operationId: "add"
      consumes:
      - "application/json"
      produces:
      - "application/json"
      parameters:
      - in: "body"
        name: "body"
        required: false
        schema:
          $ref: "#/definitions/Event"
      responses:
        default:
          description: "successful operation"
  /ingest/entries:
    post:
      tags:
      - "EventDB Ingestion"
      summary: "adds multiple entries to the eventdb"
      description: ""
      operationId: "addEntries"
      consumes:
      - "application/json"
      produces:
      - "application/json"
      parameters:
      - in: "body"
        name: "body"
        required: false
        schema:
          type: "array"
          items:
            type: "object"
            additionalProperties:
              type: "string"
      responses:
        default:
          description: "successful operation"
  /ingest/entry:
    post:
      tags:
      - "EventDB Ingestion"
      summary: "adds an entry to the eventdb"
      description: ""
      operationId: "addEntry"
      consumes:
      - "application/json"
      produces:
      - "application/json"
      parameters:
      - in: "body"
        name: "body"
        required: false
        schema:
          type: "object"
          additionalProperties:
            type: "string"
      responses:
        default:
          description: "successful operation"
definitions:
  Event:
    type: "object"
    required:
    - "data"
    - "name"
    - "startDate"
    properties:
      name:
        type: "string"
      startDate:
        type: "string"
        format: "date-time"
      data:
        type: "object"
        additionalProperties:
          type: "string"
