Properties
NAME | TYPE | DESCRIPTION |
total | integer | Total number of memberships documents that matched your query. |
memberships | array | List of memberships. Can be one of: |
Example
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"
}
]
}
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"
}
]
}