media.getUserRatingForFile

Syntax

int media.getUserRatingForFile ( int mid, int uid )

Argument Info

NameTypeRequiredDefault valueDescription
midintRequirednoneThe media ID.
uidintRequirednoneA user ID.

Options

The options array may contain the following parameters.

NameTypeDescriptionDefault ValuesPossible Values
resultINTThe response will be 1 if the user has rated the specified media item. If the user has not rated the media item we will return an empty response. If the user ID does not exist we will return an empty response.emptyempty, 1 (success), error message

Return Values

FieldDescriptionPossible Values