API - System

System

Version

curl -XGET https://<tatHostname>:<tatPort>/version

Stats

For Tat admin only.

Count

curl -XPUT \
    -H "Content-Type: application/json" \
    -H "Tat_username: admin" \
    -H "Tat_password: passwordAdmin" \
    https://<tatHostname>:<tatPort>/stats/count

Instance

Info about current instance of engine

curl -XPUT \
    -H "Content-Type: application/json" \
    -H "Tat_username: admin" \
    -H "Tat_password: passwordAdmin" \
    https://<tatHostname>:<tatPort>/stats/instance

Distribution

curl -XPUT \
    -H "Content-Type: application/json" \
    -H "Tat_username: admin" \
    -H "Tat_password: passwordAdmin" \
    https://<tatHostname>:<tatPort>/stats/distribution

DB Stats

curl -XPUT \
    -H "Content-Type: application/json" \
    -H "Tat_username: admin" \
    -H "Tat_password: passwordAdmin" \
    https://<tatHostname>:<tatPort>/stats/db/stats

DB ServerStatus

curl -XPUT \
    -H "Content-Type: application/json" \
    -H "Tat_username: admin" \
    -H "Tat_password: passwordAdmin" \
    https://<tatHostname>:<tatPort>/stats/db/serverStatus

DB Replica Set Status

curl -XPUT \
    -H "Content-Type: application/json" \
    -H "Tat_username: admin" \
    -H "Tat_password: passwordAdmin" \
    https://<tatHostname>:<tatPort>/stats/db/replSetGetStatus

DB Replica Set Config

curl -XPUT \
    -H "Content-Type: application/json" \
    -H "Tat_username: admin" \
    -H "Tat_password: passwordAdmin" \
    https://<tatHostname>:<tatPort>/stats/db/replSetGetConfig

DB Stats of each collections

curl -XPUT \
    -H "Content-Type: application/json" \
    -H "Tat_username: admin" \
    -H "Tat_password: passwordAdmin" \
    https://<tatHostname>:<tatPort>/stats/db/collections

DB Stats slowest Queries

curl -XPUT \
    -H "Content-Type: application/json" \
    -H "Tat_username: admin" \
    -H "Tat_password: passwordAdmin" \
    https://<tatHostname>:<tatPort>/stats/db/slowestQueries

System

Capabilities

Return websocket-enabled and username-from-email parameters. See Tat Flags below.

curl -XGET https://<tatHostname>:<tatPort>/capabilities

Flush Cache

curl -XGET https://<tatHostname>:<tatPort>/system/cache/clean

Cache Info

curl -XGET https://<tatHostname>:<tatPort>/system/cache/info