FAQ/API Documentation/User Resources

Get Vote Status For Photo

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

URL

<API_Endpoint>/users/{User}/votes/{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

VoteStatus

XML

<VoteStatus>
    <PhotoId>9</PhotoId>
    <Status>None</Status>
    <UserId>723</UserId>
</VoteStatus>

JSON

{"PhotoId":9,"Status":0,"UserId":723}

Parameters

N/A

Error Codes

N/A

Notes

N/A

Example

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

 
Topic is closed for comments