mirror of https://github.com/apibillme/broker
update readme
This commit is contained in:
parent
0c43a51f29
commit
c18bce2263
|
@ -461,7 +461,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "broker"
|
||||
version = "9.0.0"
|
||||
version = "9.0.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-std",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "broker"
|
||||
version = "9.0.0"
|
||||
version = "9.0.1"
|
||||
authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
|
|
|
@ -103,9 +103,9 @@ POST /insert
|
|||
- authenticated endpoint (Authorization: Bearer {jwt}) or (Authorization: Basic {username:password})
|
||||
- POST JSON to insert an event
|
||||
```json
|
||||
{"event":{...}, "data":{...}, "tenant_name":{...}}
|
||||
{"event":{...}, "data":{...}}
|
||||
```
|
||||
- where {...} is for the event a string, data is any JSON you want, and tenant_name is the name of the tenant
|
||||
- where {...} is for the event a string and data is any JSON you want
|
||||
|
||||
will return: `200` or `500` or `400` or `401`
|
||||
|
||||
|
|
Loading…
Reference in New Issue