From fab35349c23891c156aa83d0d4573154937b9c5e Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Mon, 5 Feb 2018 00:01:51 +0200 Subject: [PATCH] add block request to rest description --- remark.rest | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/remark.rest b/remark.rest index be45b4be..bc69368a 100644 --- a/remark.rest +++ b/remark.rest @@ -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/