From 573ec4c92527a7fde70aea1023bbd8d507411f66 Mon Sep 17 00:00:00 2001 From: stremovsky Date: Tue, 24 Dec 2019 12:03:38 +0200 Subject: [PATCH] update document --- API.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/API.md b/API.md index b41478a..d482d90 100644 --- a/API.md +++ b/API.md @@ -324,13 +324,15 @@ This API is used to store user consent. ### POST Body Format -POST Body can contain regular form data or JSON. Expected values are `message`, `status`. +POST Body can contain regular form data or JSON. Here is a table with list of expected parameters. | Parameter | Required | Description | | ----------- | --------- | ------------------------------------------------------------------------------ | | status | No | Consent status. Default value is **accept**. Allowed values: cancel/accept. | | message | No | Optional text message describing consent. | -| expiration | No | Optional consent expiration date. It is an integer number in unix time format. | +| expiration | No | Optional consent expiration date. It is an integer number in UNIX time format. | + +When consent is expired, the status value is changed to **expired**. ### Example: