Tigris Social Api

<back to all web services

CreateTag

The following routes are available for this service:
POST/Posts/{PostId}/TagsCreates a Tag to a Post.
POST/TagsCreates a Tag to a Post.
Parameters:
NameParameterData TypeRequiredDescription
PostIdpathstringYesThe PostId field is a string GUID uniquely identifying the post that the Tag is associated with.
TagTypebodystringYesThe TagType field is an integer indicating the type of tag to be created (1 = System Tag, 2 = User Tag).
ValuebodystringYesThe Value field is the tag value.

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

{
	PostId: 00000000000000000000000000000000,
	TagType: 0,
	Value: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Id: 00000000000000000000000000000000,
	PostId: 00000000000000000000000000000000,
	TagType: 0,
	Value: String,
	CreatedTime: 0001-01-01,
	UpdatedTime: 0001-01-01
}