232 // Tag represents a Mastodon tag entity |
232 // Tag represents a Mastodon tag entity |
233 type Tag struct { |
233 type Tag struct { |
234 Name string `json:"name"` |
234 Name string `json:"name"` |
235 URL string `json:"url"` |
235 URL string `json:"url"` |
236 History []struct { |
236 History []struct { |
237 Day int64 `json:"day"` |
237 Day MastodonDate `json:"day"` |
238 Uses int64 `json:"uses"` |
238 Uses int64 `json:"uses,string"` |
239 Accounts int64 `json:"accounts"` |
239 Accounts int64 `json:"accounts,string"` |
240 } `json:"history"` |
240 } `json:"history"` |
241 } |
241 } |
242 |
242 |
243 // WeekActivity represents a Mastodon instance activity "week" entity |
243 // WeekActivity represents a Mastodon instance activity "week" entity |
244 type WeekActivity struct { |
244 type WeekActivity struct { |
245 Week ActivityTime `json:"week"` |
245 Week MastodonDate `json:"week"` |
246 Statuses int64 `json:"statuses,string"` |
246 Statuses int64 `json:"statuses,string"` |
247 Logins int64 `json:"logins,string"` |
247 Logins int64 `json:"logins,string"` |
248 Registrations int64 `json:"registrations,string"` |
248 Registrations int64 `json:"registrations,string"` |
249 } |
249 } |
250 |
250 |