Updated API (markdown)

fhimpg 2022-06-24 10:37:28 +02:00
parent 876371e692
commit c1c45262f5

12
API.md

@ -271,6 +271,18 @@ Download file.
`curl -s -d '{"token":"MYSECRETTOKEN"}' https://my.domain/v1/download/D51300/762956 --output SkyTracker.pdf`
# fix
Fix entries and make it read only
`curl -s -d '{"token":"MYSECRETTOKEN"}' https://my.domain/v1/fix/D51302`
```json
{
"success": 1,
"id": "D51302"
}
```
# delete
Delete entries from archive