add block request to rest description

This commit is contained in:
igoradamenko
2018-02-05 00:27:47 +02:00
parent 8ff6e8e589
commit fab35349c2
+4 -1
View File
@@ -30,7 +30,7 @@ Content-Type: application/json
}
### pin comment
PUT {{host}}/api/v1/admin/pin/3665976683?site=remark&url=https://radio-t.com/p/2017/12/16/podcast-576/&pin=0
PUT {{host}}/api/v1/admin/pin/3665976683?site=remark&url=https://radio-t.com/p/2017/12/16/podcast-576/&pin=1
### vote for comment
PUT {{host}}/api/v1/vote/3665976683?site=remark&url=https://radio-t.com/p/2017/12/16/podcast-576/&vote=1
@@ -56,5 +56,8 @@ GET {{host}}/api/v1/list?site=remark
### get config
GET {{host}}/api/v1/config
### block user
PUT {{host}}/api/v1/admin/user/username?site=remark&block=1
### delete comment by id
DELETE {{host}}/api/v1/admin/comment/3665976683?site=remark&url=https://radio-t.com/p/2017/12/16/podcast-576/