Updated API (markdown)

fhimpg 2023-02-22 15:07:48 +01:00
parent 893ca02c37
commit 304f1c713e

12
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.