Forum Discussion

jackdupont's avatar
13 years ago

REST API /messages/reject ?

Hi,

 

So far, the API allows to approve and recall messages in moderation.

I am wondering if there is any way to reject messages in moderation like for images ?

 

moderation/reject

 

Marks the image as recalled by the moderator. After a call to this method succeeds, the moderation status of the message is {@link ModerationStatus#REJECTED}

Http Method: POST

Returns: void

 

Thanks,

3 Replies

  • AdamN's avatar
    AdamN
    Khoros Oracle
    13 years ago

    Hi jackdupont,

     

    There's a moderation/reject for messages as well:

     

    moderation/reject

    If the message supports pre-moderation, marks the message as rejected by the moderator. After a call to this method succeeds, the moderation status of the message is {@link ModerationStatus#REJECTED}
    Http Method:
    POST
    Returns:
    void
    Example Request Urls:
    http://community.lithium.com/community-name/restapi/vc/messages/id/1271/moderation/reject
  • AdamN's avatar
    AdamN
    Khoros Oracle
    13 years ago

    Hi jackdupont,

     

    It appears that this method is new for version 12.7 of our application, which is in the process of being rolled out still. I would suggest filing a case in our Customer Case Portal so that you can check with our Support team as to when your community will be available for upgrade to 12.7.

     

    Apologies for the confusion!