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 .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/reply/AllPostComments HTTP/1.1 
Host: api.tigris.mymitchell.com 
Content-Type: text/jsv
Content-Length: length

{
	PostId: 00000000000000000000000000000000,
	Offset: 0,
	Limit: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		Id: 00000000000000000000000000000000,
		PostId: 00000000000000000000000000000000,
		ContextId: 00000000000000000000000000000000,
		AuthorId: 00000000000000000000000000000000,
		AuthorType: String,
		AuthorDisplayName: String,
		AuthorTagline: String,
		AuthorVenueId: 00000000000000000000000000000000,
		Content: String,
		CreatedTime: 0001-01-01,
		UpdatedTime: 0001-01-01,
		ContentCreatedTime: 0001-01-01
	}
]