1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00
trwnh 7ceae9fe36 Update anchors, line breaks, tootctl options (#745)
* update anchors

* remove extraneous anchors

* fix line breaks

* wrap tootctl tokens in code blocks

* change anchors to hugo format

* fix mistaken search-and-replace

* fix mistaken search-and-replace
2020-01-12 14:11:56 +01:00

1.2 KiB

title description menu
Activity Represents a weekly bucket of instance activity.
docs
parent
entities

Example

{
  "week": "1574640000",
  "statuses": "37125",
  "logins": "14239",
  "registrations": "542"
}

Attributes

week

Description: Midnight at the first day of the week.
Type: String (UNIX Timestamp)
Version history: Added in 2.1.2

statuses

Description: Statuses created since the week began.
Type: String (cast from an integer)
Version history: Added in 2.1.2

logins

Description: User logins since the week began.
Type: String (cast from an integer)
Version history: Added in 2.1.2

registrations

Description: User registrations since the week began.
Type: String (cast from an integer)
Version history: Added in 2.1.2

See also

{{< page-ref page="methods/instance.md" >}}

{{< caption-link url="https://github.com/tootsuite/mastodon/blob/master/app/controllers/api/v1/instances/activity_controller.rb" caption="app/controllers/api/v1/instances/activity_controller.rb" >}}