++ verify in API
This commit is contained in:
parent
9a680e6956
commit
05decb388e
1 changed files with 37 additions and 0 deletions
37
README.md
37
README.md
|
@ -24,10 +24,30 @@ In development, pre production.
|
||||||
Verify whether the requesting app is authenticated. This is only
|
Verify whether the requesting app is authenticated. This is only
|
||||||
allowed to be used for trusted appids.
|
allowed to be used for trusted appids.
|
||||||
|
|
||||||
|
Returns a JSON object:
|
||||||
|
|
||||||
|
Either
|
||||||
|
```
|
||||||
|
{
|
||||||
|
status: "OK",
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
OR
|
||||||
|
|
||||||
|
```
|
||||||
|
{
|
||||||
|
status: "FAIL",
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### POST: /verify
|
### POST: /verify
|
||||||
|
|
||||||
Not sure if this one will be publicly available.
|
Not sure if this one will be publicly available.
|
||||||
|
|
||||||
|
Request JSON object:
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
version: "1",
|
version: "1",
|
||||||
|
@ -38,6 +58,23 @@ Not sure if this one will be publicly available.
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Response JSON object:
|
||||||
|
|
||||||
|
Either
|
||||||
|
```
|
||||||
|
{
|
||||||
|
status: "OK",
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
OR
|
||||||
|
|
||||||
|
```
|
||||||
|
{
|
||||||
|
status: "FAIL",
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Usage: REST
|
## Usage: REST
|
||||||
|
|
||||||
- Use an existing token to connect to the service
|
- Use an existing token to connect to the service
|
||||||
|
|
Loading…
Reference in a new issue