Appwrite is now available as a DigitalOcean 1-click app! Click to install! 🚀
Docs

Memberships List Object

Properties

Name Type Description
total integer

Total number of memberships documents that matched your query.

memberships membership[]

List of memberships.

Examples

JSON

{
    "total": 5,
    "memberships": {
        "$id": "5e5ea5c16897e",
        "$createdAt": 1592981250,
        "$updatedAt": 1592981250,
        "userId": "5e5ea5c16897e",
        "userName": "John Doe",
        "userEmail": "john@appwrite.io",
        "teamId": "5e5ea5c16897e",
        "teamName": "VIP",
        "invited": 1592981250,
        "joined": 1592981250,
        "confirm": false,
        "roles": [
            "admin"
        ]
    }
}