action appwrite_teams_get_memberships { label: "Get Team Memberships" description: "Get a team members by the team unique ID. All team members have read access for this list of resources." provider: appwrite method: GET path: "/teams/{teamId}/memberships" encoding: json input: { type: "object" properties: { limit: { type: "integer" format: "int32" } offset: { type: "integer" format: "int32" } orderType: { type: "string" } search: { type: "string" } teamId: { type: "string" } } required: ["teamId"] additionalProperties: false } output: { type: "object" description: "Memberships List" required: ["memberships", "sum"] properties: { memberships: { type: "array" description: "List of memberships." items: { type: "object" description: "Membership" required: ["$id", "userId", "teamId", "name", "email", "invited", "joined", "confirm", "roles"] properties: { "$id": { type: "string" description: "Membership ID." } confirm: { type: "boolean" description: "User confirmation status, true if the user has joined the team or false otherwise." } email: { type: "string" description: "User email address." } invited: { type: "integer" format: "int32" description: "Date, the user has been invited to join the team in Unix timestamp." } joined: { type: "integer" format: "int32" description: "Date, the user has accepted the invitation to join the team in Unix timestamp." } name: { type: "string" description: "User name." } roles: { type: "array" description: "User list of roles" items: { type: "string" } } teamId: { type: "string" description: "Team ID." } userId: { type: "string" description: "User ID." } } } } sum: { type: "integer" format: "int32" description: "Total sum of items in the list." } } } }