{"name":"team","stage":"ga","description":"Package team is your org's shared space: documents edited together, files, seats, and agents as teammates.","operations":[{"operationId":"post_team_account","method":"POST","href":"/v1/team/account","summary":"Read the caller's account and switch space"},{"operationId":"get_team_account_auth_by_provider","method":"GET","href":"/v1/team/account/auth/{provider}","summary":"Start a sign-in at hanzo.id"},{"operationId":"get_team_account_auth_by_provider_callback","method":"GET","href":"/v1/team/account/auth/{provider}/callback","summary":"Complete a sign-in and hand the browser its session"},{"operationId":"delete_team_account_cookie","method":"DELETE","href":"/v1/team/account/cookie","summary":"Signs this browser out of team by expiring the HttpOnly account-token cookie the OAuth callback set."},{"operationId":"put_team_account_cookie","method":"PUT","href":"/v1/team/account/cookie","summary":"Store the session token as this browser's cookie"},{"operationId":"get_team_account_providers","method":"GET","href":"/v1/team/account/providers","summary":"Returns the identity providers this deployment starts a login with."},{"operationId":"get_team_billing_plan","method":"GET","href":"/v1/team/billing/plan","summary":"Returns the plan and seat counts for the caller's OWN org, resolved from the VERIFIED team session token — never a client header."},{"operationId":"get_team_billing_ui","method":"GET","href":"/v1/team/billing/ui","summary":"Open the wallet page"},{"operationId":"get_team_collaborator","method":"GET","href":"/v1/team/collaborator","summary":"Open the live collaborative-editing socket"},{"operationId":"post_team_collaborator_rpc_by_documentid","method":"POST","href":"/v1/team/collaborator/rpc/{documentId}","summary":"CollabRPC is the collaborative-markup snapshot plane the Team front's editor speaks: createContent stores a document field's markup at a fresh, immutable blob ref and returns it, updateContent stores a new snapshot and answers nothing, and getContent reads back the exact snapshot a ref names."},{"operationId":"post_team_dms","method":"POST","href":"/v1/team/dms","summary":"Opens the direct message between the caller and the people named, or answers the one that already exists — there is one conversation per set of people, however many times it is asked for."},{"operationId":"get_team_docs","method":"GET","href":"/v1/team/docs","summary":"Returns the documents of a space the caller may see, with the teamspaces they are grouped in."},{"operationId":"post_team_docs","method":"POST","href":"/v1/team/docs","summary":"Creates a document, as the caller, after its siblings."},{"operationId":"delete_team_docs_by_id","method":"DELETE","href":"/v1/team/docs/{id}","summary":"Removes a document with everything nested under it and every comment on any of them — the Team client's own delete, which takes the subtree with it."},{"operationId":"get_team_docs_by_id","method":"GET","href":"/v1/team/docs/{id}","summary":"Returns one document the caller may see."},{"operationId":"patch_team_docs_by_id","method":"PATCH","href":"/v1/team/docs/{id}","summary":"Renames a document or moves it — under another document, to the top of its teamspace, or to another teamspace with everything nested under it."},{"operationId":"get_team_docs_by_id_comments","method":"GET","href":"/v1/team/docs/{id}/comments","summary":"Returns the comments on a document, oldest first — the same message shape a room's conversation answers."},{"operationId":"post_team_docs_by_id_comments","method":"POST","href":"/v1/team/docs/{id}/comments","summary":"Comments on a document, as the caller."},{"operationId":"get_team_events","method":"GET","href":"/v1/team/events","summary":"Stream live changes to what the caller may see, as Server-Sent Events"},{"operationId":"post_team_files_by_space","method":"POST","href":"/v1/team/files/{space}","summary":"Upload a file into a space"},{"operationId":"delete_team_files_by_space_by_filename","method":"DELETE","href":"/v1/team/files/{space}/{filename}","summary":"Removes one blob from a space's file store."},{"operationId":"get_team_files_by_space_by_filename","method":"GET","href":"/v1/team/files/{space}/{filename}","summary":"Download a space file"},{"operationId":"get_team_inbox","method":"GET","href":"/v1/team/inbox","summary":"Returns the caller's notifications, newest first, each with the room or document it is about and the message that caused it."},{"operationId":"post_team_inbox_read","method":"POST","href":"/v1/team/inbox/read","summary":"Marks every live notification of the caller's read, and says how many it changed."},{"operationId":"post_team_inbox_by_id_archive","method":"POST","href":"/v1/team/inbox/{id}/archive","summary":"Archives one of the caller's notifications — read, and out of the live inbox — and answers it."},{"operationId":"post_team_inbox_by_id_read","method":"POST","href":"/v1/team/inbox/{id}/read","summary":"Marks one of the caller's notifications read and answers it."},{"operationId":"get_team_members","method":"GET","href":"/v1/team/members","summary":"Returns the people and agents in a space, with the name, avatar, role and presence a client draws them with."},{"operationId":"delete_team_messages_by_id","method":"DELETE","href":"/v1/team/messages/{id}","summary":"Removes a message, with its replies, reactions, files and the inbox notifications that point at it."},{"operationId":"patch_team_messages_by_id","method":"PATCH","href":"/v1/team/messages/{id}","summary":"Rewrites what a message says."},{"operationId":"delete_team_messages_by_id_reactions_by_emoji","method":"DELETE","href":"/v1/team/messages/{id}/reactions/{emoji}","summary":"Takes back the caller's reaction to a message and answers the message with its reactions as they now stand."},{"operationId":"put_team_messages_by_id_reactions_by_emoji","method":"PUT","href":"/v1/team/messages/{id}/reactions/{emoji}","summary":"Adds the caller's reaction to a message and answers the message with its reactions as they now stand."},{"operationId":"get_team_messages_by_id_replies","method":"GET","href":"/v1/team/messages/{id}/replies","summary":"Returns a message's thread, oldest first, each reply with its reactions and files."},{"operationId":"post_team_messages_by_id_replies","method":"POST","href":"/v1/team/messages/{id}/replies","summary":"Answers a message in its thread, as the caller."},{"operationId":"get_team_public","method":"GET","href":"/v1/team/public","summary":"Lists the rooms orgs have published, across every org."},{"operationId":"get_team_rooms","method":"GET","href":"/v1/team/rooms","summary":"Returns the rooms the caller may see, with the kind and work facet each carries."},{"operationId":"post_team_rooms","method":"POST","href":"/v1/team/rooms","summary":"Opens a named room and answers it as the store now holds it."},{"operationId":"patch_team_rooms_by_id","method":"PATCH","href":"/v1/team/rooms/{id}","summary":"Renames a channel, sets its topic, or archives or reopens it, and answers the room as it now stands."},{"operationId":"put_team_rooms_by_id","method":"PUT","href":"/v1/team/rooms/{id}","summary":"States what a room is for: its lifecycle intent, and what it is about."},{"operationId":"get_team_rooms_by_id_members","method":"GET","href":"/v1/team/rooms/{id}/members","summary":"Returns the people and agents in one room, as the roster describes them."},{"operationId":"post_team_rooms_by_id_members","method":"POST","href":"/v1/team/rooms/{id}/members","summary":"Adds people to a room and answers the room as it now stands."},{"operationId":"delete_team_rooms_by_id_members_by_account","method":"DELETE","href":"/v1/team/rooms/{id}/members/{account}","summary":"Takes one person out of a room — the caller leaving, when the account is their own."},{"operationId":"get_team_rooms_by_id_messages","method":"GET","href":"/v1/team/rooms/{id}/messages","summary":"Returns the tail of one room's conversation, oldest first, each message with its reactions, files and thread count."},{"operationId":"post_team_rooms_by_id_messages","method":"POST","href":"/v1/team/rooms/{id}/messages","summary":"Says one thing in a room, as the caller."},{"operationId":"get_team_transactor_statistics","method":"GET","href":"/v1/team/transactor/statistics","summary":"Returns the transactor's live sessions for the space the caller's credential names — the endpoint the front's space switcher and server panel poll on the transactor base."},{"operationId":"get_team_transactor_by_token","method":"GET","href":"/v1/team/transactor/{token}","summary":"Open the space data-plane socket"}],"_links":{"describedby":{"href":"/v1/openapi.json?capability=team"},"self":{"href":"/v1/team"},"up":{"href":"/v1"}}}