mirror of https://github.com/apibillme/broker
update readme
This commit is contained in:
parent
067a83a2ad
commit
9120532fff
|
@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [12.0.2] - 2021-04-08
|
||||
|
||||
### Updated
|
||||
- Updated README
|
||||
|
||||
## [12.0.1] - 2021-04-08
|
||||
|
||||
### Updated
|
||||
|
|
|
@ -480,7 +480,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "broker"
|
||||
version = "12.0.1"
|
||||
version = "12.0.2"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-std",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "broker"
|
||||
version = "12.0.1"
|
||||
version = "12.0.2"
|
||||
authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
|
|
|
@ -81,7 +81,7 @@ POST /create_user
|
|||
}
|
||||
```
|
||||
- `admin_token` is required and can be set in the command args - it is for not allowing everyone to add a user - the default is `letmein`
|
||||
- `email` and `data` is an optional field
|
||||
- `email`, `scopes`, and `data` are optional fields
|
||||
|
||||
will return `200` or `500` or `400`
|
||||
|
||||
|
@ -207,7 +207,7 @@ will return: `200` or `500` or `400` or `401`
|
|||
}
|
||||
]
|
||||
```
|
||||
- note: `email` and `data` can be `null`
|
||||
- note: `email`, `scopes`, and `data` can be `null`
|
||||
|
||||
#### Optional - get user
|
||||
|
||||
|
@ -240,7 +240,7 @@ will return: `200` or `500` or `400` or `401`
|
|||
}
|
||||
}
|
||||
```
|
||||
- note: `email` and `data` can be `null`
|
||||
- note: `email`, `scopes`, and `data` can be `null`
|
||||
|
||||
#### Optional - update user
|
||||
|
||||
|
@ -262,7 +262,7 @@ POST /update_user
|
|||
}
|
||||
}
|
||||
```
|
||||
- note: `tenant_name`, `password`, `email`, `data` are optional fields
|
||||
- note: `tenant_name`, `password`, `email`, `scopes`, `data` are optional fields
|
||||
|
||||
will return: `200` or `500` or `400` or `401`
|
||||
|
||||
|
|
Loading…
Reference in New Issue