setProfilePhoto


Sets the profile picture for a given user or group.

Parameters

Name Description
blogID optional The primary identifier for the user or group’s site. (Same as siteID)
userID optional The user’s primary identifier.
photoID optional The photo’s primary identifier
photoPath optional The path to the image on the internal filesystem
photoUrl optional External url of the image
output optional The response output format. Accepts JSON and XML.

Request Syntax

https://services.onesite.com/rest/ugcPhoto?action=setProfilePhoto&photoID=160546016&userID=229928503&devkey=[devkey]

JSON Response