Tigris Social Api

<back to all web services

AllPostComments

The following routes are available for this service:
GET/Posts/{PostId}/CommentsReturn all comments about a Post
Parameters:
NameParameterData TypeRequiredDescription
PostIdpathstringYesThe Id of the Post
OffsetquerystringNoThe starting row to return. Default: 0
LimitquerystringNoThe number of rows to return. Default 50

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

{"PostId":"00000000000000000000000000000000","Offset":0,"Limit":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"Id":"00000000000000000000000000000000","PostId":"00000000000000000000000000000000","ContextId":"00000000000000000000000000000000","AuthorId":"00000000000000000000000000000000","AuthorType":"String","AuthorDisplayName":"String","AuthorTagline":"String","AuthorVenueId":"00000000000000000000000000000000","Content":"String","CreatedTime":"\/Date(-62135596800000-0000)\/","UpdatedTime":"\/Date(-62135596800000-0000)\/","ContentCreatedTime":"\/Date(-62135596800000-0000)\/"}]