2020-01-01 22:37:59 +01:00
|
|
|
---
|
|
|
|
title: FeaturedTag
|
2020-01-12 14:11:56 +01:00
|
|
|
description: Represents a hashtag that is featured on a profile.
|
2020-01-01 22:37:59 +01:00
|
|
|
menu:
|
|
|
|
docs:
|
|
|
|
parent: entities
|
|
|
|
---
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
```javascript
|
|
|
|
{
|
|
|
|
"id": "627",
|
|
|
|
"name": "nowplaying",
|
|
|
|
"statuses_count": 36,
|
|
|
|
"last_status_at": "2019-11-15T07:14:43.524Z"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Attributes
|
|
|
|
|
2020-01-12 14:11:56 +01:00
|
|
|
### `id` {#id}
|
2020-01-01 22:37:59 +01:00
|
|
|
|
2020-01-12 14:11:56 +01:00
|
|
|
**Description:** The internal ID of the featured tag in the database.\
|
|
|
|
**Type:** String \(cast from integer but not guaranteed to be a number\)\
|
2020-01-01 22:37:59 +01:00
|
|
|
**Version history:** Added in 3.0.0
|
|
|
|
|
2020-01-12 14:11:56 +01:00
|
|
|
### `name` {#name}
|
2020-01-01 22:37:59 +01:00
|
|
|
|
2020-01-12 14:11:56 +01:00
|
|
|
**Description:** The name of the hashtag being featured.\
|
|
|
|
**Type:** String\
|
2020-01-01 22:37:59 +01:00
|
|
|
**Version history:** Added in 3.0.0
|
|
|
|
|
2020-12-27 07:03:55 +01:00
|
|
|
### `url` {#url}
|
|
|
|
|
|
|
|
**Description:** A link to all statuses by a user that contain this hashtag.\
|
|
|
|
**Type:** String (URL)\
|
|
|
|
**Version history:** Added in 3.3.0
|
|
|
|
|
2020-01-12 14:11:56 +01:00
|
|
|
### `statuses_count` {#statuses_count}
|
2020-01-01 22:37:59 +01:00
|
|
|
|
2020-01-12 14:11:56 +01:00
|
|
|
**Description:** The number of authored statuses containing this hashtag.\
|
|
|
|
**Type:** Number\
|
2020-01-01 22:37:59 +01:00
|
|
|
**Version history:** Added in 3.0.0
|
|
|
|
|
2020-01-12 14:11:56 +01:00
|
|
|
### `last_status_at` {#last_status_at}
|
2020-01-01 22:37:59 +01:00
|
|
|
|
2020-01-12 14:11:56 +01:00
|
|
|
**Description:** The timestamp of the last authored status containing this hashtag.\
|
|
|
|
**Type:** String \(ISO 8601 Datetime\)\
|
2020-01-01 22:37:59 +01:00
|
|
|
**Version history:** Added in 3.0.0
|
|
|
|
|
|
|
|
## See also
|
|
|
|
|
|
|
|
{{< page-ref page="methods/accounts/featured_tags.md" >}}
|
|
|
|
|
|
|
|
{{< caption-link url="https://github.com/tootsuite/mastodon/blob/master/app/serializers/rest/featured_tag_serializer.rb" caption="app/serializers/rest/featured\_tag\_serializer.rb" >}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|