1.0.2 • Published 5 years ago
my-log-data-api v1.0.2
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
}
}
}