FAQ/API Documentation/User Resources

Is User Favorite

Lockerz Admin
posted this on December 05, 2010 07:06 pm

URL

<API_Endpoint>/users/{User}/favorites/{PhotoId}

HTTP Method

GET

Formats

XML, JSON, JSONP

Authenticated

No

Input

{User} - Alias or Id for a user.
{PhotoId} - Id of a photo.

Contents

N/A

Output

FavoriteQueryResponse

XML

<FavoriteQueryResponse>
    <IsFavorite>false</IsFavorite>
    <PhotoId>9</PhotoId>
</FavoriteQueryResponse>

JSON

{"IsFavorite":false,"PhotoId":9}

Parameters

N/A

Error Codes

N/A

Notes

N/A

Example

curl -X GET http://api.plixi.com/api/tpapi.svc/users/723/favorites/9

 
Topic is closed for comments