Tigris Social Api

<back to all web services

UpdateComment

The following routes are available for this service:
PUT/Comments/{Id}Update the content of comment
Parameters:
NameParameterData TypeRequiredDescription
IdpathstringYesGlobally unique identifier of a Comment
ContentbodystringYesThe Content field is the message or text of the comment.

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/UpdateComment HTTP/1.1 
Host: api.tigris.mymitchell.com 
Content-Type: text/jsv
Content-Length: length

{
	Id: 00000000000000000000000000000000,
	Content: String
}
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
}