1.0.2 • Published 5 years ago

my-log-data-api v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Installation

cp src/config.example.js src/config.js

Hello

There are currently 2 endpoints.

No general endpoint for analysis or aggregation exists, because they are hard to do (I tried). So, specific questions need specific endpoints.

Create a log

mutation {
  createLog(service: "voice", result: "result2", userId: "userId", data: "{\"hello\":\"yo\"}") {
    tookTime
    log {
      id
      service
      result
      userId
      createdAt
      data
    }
  }
}

See logs

query {
  findLogs(filter: { service: "voice" }) {
    tookTime
    logs {
      id
      service
      result
      userId
      createdAt
      data
    }
  }
}
1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago