Header

  1. View current page

    codian님의 노트

Profile_image?t=1222430422&type=big
39

delete_comment

 

delete_comment

지정한 댓글을 삭제합니다.

사용자 인증이 필요합니다. 자신이 작성한 글에 달린 댓글만 삭제할 수 있습니다.

 

URL

http://me2day.net/api/delete_comment.[응답형식]

[응답형식]은 xml, json 중 하나를 지정합니다. 지정하지 않은 경우 xml을 응답형식으로 사용합니다.

 

예) http://me2day.net/api/delete_comment.xml?comment_id=cabztd

 

파라미터
  • comment_id : get_comments 에서 반환된 댓글을 지정하는 아이디 입니다.
 

 

응답

실행 결과.

성공한 경우 에러코드가 0 으로 반환된다

 

xml 형식

 

<?xml version="1.0" encoding="UTF-8"?>

<error>

  <code>0</code>

  <message>성공했습니다.:댓글을 삭제했습니다.</message>

  <description>댓글을 삭제했습니다.</description>

</error>

 

 

json 형식

 

{

  "code":0,

  "description":"\ub313\uae00\uc744 \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.",

  "message":"\uc131\uacf5\ud588\uc2b5\ub2c8\ub2e4.:\n\ub313\uae00\uc744 \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4."

}

History

Last edited on 03/12/2009 17:04 by codian

Comments (0)

You must log in to leave a comment. Please sign in.