Tigris Social Api

<back to all web services

FindPicture

The following routes are available for this service:
GET/Pictures/{ParticipantId}Retrieve a Picture (Avatar) for a Participant.
Parameters:
NameParameterData TypeRequiredDescription
ParticipantIdpathstringYesThe Id field is a GUID uniquely identifying the Tigris participant.
ImageHeightquerystringNoIf not null, indicates the height (in pixels) of the scaled down version of the picture.
ImageWidthquerystringNoIf not null, indicates the width (in pixels) of the scaled down version of the picture.
UseUnreadPostsImagequerystringNoIf true, substitute standard avatar with unread posts image

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/FindPicture HTTP/1.1 
Host: api.tigris.mymitchell.com 
Content-Type: application/json
Content-Length: length

{"ParticipantId":"00000000000000000000000000000000","ImageHeight":0,"ImageWidth":0,"UseUnreadPostsImage":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{}