Fix readme
This commit is contained in:
@@ -52,6 +52,8 @@ Content-Type: application/json
|
||||
|
||||
### Retrieve current values
|
||||
|
||||
Retrieve all current values by getting `/{collection}`. If all values in a key have a validity span and none matches, they key will not be included in the response.
|
||||
|
||||
```json
|
||||
GET /businessinfo
|
||||
|
||||
@@ -66,6 +68,8 @@ Query params:
|
||||
|
||||
### Retrieve all values
|
||||
|
||||
Retrieve all keys and values, together with the value IDs by getting `/{collection}/all`.
|
||||
|
||||
```json
|
||||
GET /businessinfo/all
|
||||
|
||||
@@ -93,7 +97,7 @@ Query params:
|
||||
|
||||
### Delete value
|
||||
|
||||
Delete by posting an array of value IDs and keys to delete.
|
||||
Delete by posting an array of value IDs and keys to delete to `/{collection}/delete`.
|
||||
|
||||
```json
|
||||
POST /businessinfo/delete
|
||||
@@ -104,7 +108,7 @@ Content-Type: application/json
|
||||
|
||||
### Update a value
|
||||
|
||||
Update by including an existing id with the set request.
|
||||
Update by including an existing id with the set request posted to `/{collection}`.
|
||||
|
||||
```json
|
||||
POST /businessinfo
|
||||
@@ -124,7 +128,7 @@ Content-Type: application/json
|
||||
|
||||
### Delete a colleciton
|
||||
|
||||
Update by including an existing id with the set request.
|
||||
Purge a collection by posting to `/{collection}/purge`.
|
||||
|
||||
```json
|
||||
POST /businessinfo/purge
|
||||
|
||||
Reference in New Issue
Block a user