Type tag

Discussion

This type represents a tag on a Stack Exchange site.

Applications should be prepared for the destruction of tags, though this tends to be a rare event.

Fields

count
integer

has_synonyms
boolean

is_moderator_only
boolean

is_required
boolean

last_activity_date

name
string

synonyms 2.2
an array of strings

user_id
integer, refers to a user
may be absent

Fields marked with are included in the default filter, those marked with are excluded in the default filter.

Examples

Typical

{"last_activity_date":1412166499,"has_synonyms":false,"is_moderator_only":false,"is_required":false,"count":100,"name":"c#"}

User Tag

{"last_activity_date":1412166499,"has_synonyms":false,"user_id":1,"is_moderator_only":false,"is_required":false,"count":100,"name":"c#"}

Required

{"last_activity_date":1412166499,"has_synonyms":false,"is_moderator_only":false,"is_required":true,"count":100,"name":"discussion"}

Moderator Only

{"last_activity_date":1412166499,"has_synonyms":false,"is_moderator_only":true,"is_required":true,"count":100,"name":"status-completed"}

Methods That Return This Type