# Get Timeseries tables
This endpoint retrieves a lists of existing Timeseries tables, the status and size of the database and a list of users with access to the Timeseries database with their access permissions.
Method | Path | Operation* |
---|---|---|
GET | /account/services/timeseries | get_timeseries_tables |
*
In order for a user to perform the "get_timeseries_tables" operation, the "get_timeseries_table" permission must be included in the list of allowed actions in the statement of the user's role.
# Request
No parameters.
# Response
The response returns the "stats"
attribute that holds the "status"
and the "database_size"
attributes, a list of users with their respective access permissions to the Timeseries database held in the "users"
attribute, and the names of the Timeseries database tables held in the "timeseries"
attribute.
Attribute | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
stats | dictionary | Timeseries database stats.
| ||||||||||||
users | dictionary | Key-value pairs: - key: User UUID. - value: Must be "read" (the user is only allowed to read the Timeseries database, not to make any changes) or "write" (the user is allowed to read the Timeseries database and to make changes to it). Users with no access to the Timeseries database will not be returned in the response. | ||||||||||||
timeseries | list of strings | List of names of Timeseries tables in the Timeseries database. |
# Status codes
Requests to this endpoint result in generic status codes. For a comprehensive list of status codes, please consult the Status codes section.
Was this article helpful?