diff --git a/API.md b/API.md index 1006a44..2a01ead 100644 --- a/API.md +++ b/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