1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00
2020-01-04 10:33:16 +01:00

979 B

title description menu
History Represents daily usage history of a hashtag.
docs
parent
entities

Example

{
  "day": "1574553600",
  "uses": "200",
  "accounts": "31"
}

Required attributes

day

Description: UNIX timestamp on midnight of the given day. Type: String UNIX timestamp Version history: Added in 2.4.1

uses

Description: the counted usage of the tag within that day. Type: String cast from an integer Version history: Added in 2.4.1

accounts

Description: the total of accounts using the tag within that day. Type: String cast from an integer Version history: Added in 2.4.1

See also

{{< page-ref page="tag.md" >}}

{{< caption-link url="17159625b3/app/models/tag.rb (L101-L115)" caption="app/models/tag.rb L101-115 -- history days[]" >}}