Tigris Social Api

<back to all web services

FindAvatar

The following routes are available for this service:
GET/Avatars/{ParticipantId}Retrieve an Avatar for a Participant.
Parameters:
NameParameterData TypeRequiredDescription
ParticipantIdpathstringYesThe Id field is a GUID uniquely identifying the Tigris participant.
StylequerystringNoThe Style indicates what style the returned image is formatted to. Currently can be either 'Default' or 'Style1'
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.
ActivityIndicatorTypequerystringNoIndicates which style of activity indicator to use. Default is 'None' but may also be 'CountExcludingZero'

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/FindAvatar HTTP/1.1 
Host: api.tigris.mymitchell.com 
Content-Type: application/json
Content-Length: length

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

{}