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.