Podio API Documentation

Ratings: Get all ratings

GET /rating/{ref_type}/{ref_id}

Returns all the ratings for the given object. It will only return the ratings that are enabled for the object.

Usage
PHP Client
PodioRating.php
PodioRating::get_for( $ref_type, $ref_id );
Ruby Gem
rating.rb
Podio::Rating.find_all( ref_type, ref_id )
Parameters
ref_type*
Required.
ref_id*
Required.
Response [ { "{type}": The type of the rating (f.ex. like or fivestar) "counts": { "{value}":  { "total": The count of ratings of that specific value, "users": List of users that rated this value, [ { "user_id": The id of the users, "name": The name of the user }, ... (more users) ] } } }, ... (more types) ]

 

Sandbox

Try the operation "/rating/{ref_type}/{ref_id}"

You can simulate the API request by filling out the arguments below, and press the submit button to see the response.

You need to be logged in to Podio to use the Sandbox. Login here