Announcing the Appwrite OSS Fund, Learn More! 🤑
Docs

Sessions List Object

Properties

Name Type Description
total integer

Total number of sessions documents that matched your query.

sessions session[]

List of sessions.

Examples

JSON

{
    "total": 5,
    "sessions": {
        "$id": "5e5ea5c16897e",
        "userId": "5e5bb8c16897e",
        "expire": 1592981250,
        "provider": "email",
        "providerUid": "user@example.com",
        "providerAccessToken": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3",
        "providerAccessTokenExpiry": 1592981250,
        "providerRefreshToken": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3",
        "ip": "127.0.0.1",
        "osCode": "Mac",
        "osName": "Mac",
        "osVersion": "Mac",
        "clientType": "browser",
        "clientCode": "CM",
        "clientName": "Chrome Mobile iOS",
        "clientVersion": "84.0",
        "clientEngine": "WebKit",
        "clientEngineVersion": "605.1.15",
        "deviceName": "smartphone",
        "deviceBrand": "Google",
        "deviceModel": "Nexus 5",
        "countryCode": "US",
        "countryName": "United States",
        "current": true
    }
}