From 304f1c713e4631a3685ee6932c32a0bde4478302 Mon Sep 17 00:00:00 2001 From: fhimpg <75040742+fhimpg@users.noreply.github.com> Date: Wed, 22 Feb 2023 15:07:48 +0100 Subject: [PATCH] Updated API (markdown) --- API.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/API.md b/API.md index d013850..893ffaf 100644 --- a/API.md +++ b/API.md @@ -10,6 +10,18 @@ Login into the archive and get access token. Use this token for all other operat } ``` +# renew +Renew access token. + +`curl -s -d '{"token":"MYSECRETTOKEN"}' https://my.domain/v1/renew` + +```json +{ + "success": 1, + "token": "MYNEWSECRETTOKEN" +} +``` + # get Get complete entries with metadata, document list and link list.