Bug in ACS API for Deleting a Review.

You must Login before you can answer or comment on any questions.

According to the Example Provided by the ACS API Reference for deleting a review we have:

SDK Callback:

JSONObject responseJSON = response.getResponseData();
CCMeta meta = response.getMeta();
if("ok".equals(meta.getStatus()) 
    && meta.getCode() == 200 
    && "deleteReview".equals(meta.getMethod())) {
  System.out.println("Review deleted!");
}
The bug is that there is no method in the response meta of the delete callback. The meta in the response is only : {status:ok,code:200}

Please tell me if this mistake is of the example or if it is a bug with the ACS API?

1 Answer

I guess it is a documentation BUG, but I would suggest you open a ticket in the community JIRA to that the documentation can be corrected

Your Answer

Think you can help? Login to answer this question!