List all ratings
This API helps you to list all ratings.
HTTP Request
/wp-json/supportcandy/v2/ratings
Example
curl --location --request GET 'http://localhost/wp-json/supportcandy/v2/ratings' \
--header 'Authorization: Basic YWRtaW46bjVJWSBYc3pUIGlxN3MgSHhKWCA3YVdBIDlOblI='
Get single rating
This API helps you to list a single rating.
HTTP Request
/wp-json/supportcandy/v2/ratings/<id>
Example
curl --location --request GET 'http://localhost/wp-json/supportcandy/v2/ratings/1' \
--header 'Authorization: Basic YWRtaW46bjVJWSBYc3pUIGlxN3MgSHhKWCA3YVdBIDlOblI='