Updated API (markdown)
parent
893ca02c37
commit
304f1c713e
12
API.md
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
|
||||||
Get complete entries with metadata, document list and link list.
|
Get complete entries with metadata, document list and link list.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user