Default
Create a new client.
Args: request (CreateClientRequest): The request body containing client information.
Returns: ApiResponse: The API response containing the created client info.
Create client request model.
falseSuccessful Response
Validation Error
Create a new client.
Args: request (CreateClientRequest): The request body containing client information.
Returns: ApiResponse: The API response containing the created client info.
Create client request model.
falseSuccessful Response
Validation Error
update client.
Args: request (CreateClientRequest): The request body containing client information.
Returns: ApiResponse: The API response containing the created client info.
Update client request model.
Successful Response
Validation Error
Register a new user for the client.
Args: request (RegisterUserRequest): The request body containing user information. x_api_key (str): The API key from the header.
Returns: ApiResponse: The API response containing the registered user info.
Register user request model.
Successful Response
Validation Error
Register a new user for the client.
Args: request (RegisterUserRequest): The request body containing user information. x_api_key (str): The API key from the header.
Returns: ApiResponse: The API response containing the registered user info.
Register user request model.
Successful Response
Validation Error
Log in a user for a client and return an access token.
Args: x_api_key (str): The API key from the header. form_data (LoginUserRequest): The login credentials.
Returns: ApiResponse: The API response containing the token info.
Login user request model.
Successful Response
Validation Error
Log out a user by revoking their access token.
Args: x_api_key (str): The API key from the header. authorization (str): The Authorization header containing the Bearer token.
Returns: ApiResponse: The API response indicating success.
Successful Response
Validation Error
Log in a user for a client and return an access token.
Args: x_api_key (str): The API key from the header. form_data (LoginUserRequest): The login credentials.
Returns: ApiResponse: The API response containing the token info.
Login user request model.
Successful Response
Validation Error
Log out a user by revoking their access token.
Args: x_api_key (str): The API key from the header. authorization (str): The Authorization header containing the Bearer token.
Returns: ApiResponse: The API response indicating success.
Successful Response
Validation Error
Get the currently logged-in user's information.
Args: x_api_key (str): The API key from the header. authorization (str): The Authorization header containing the Bearer token. connectors (str, optional): Filter integrations by connector names. Supports single connector (e.g., 'microsoft_sharepoint') or multiple comma-separated connectors (e.g., 'microsoft_sharepoint,google_docs'). All provided connector names must be valid plugin names, otherwise an HTTP 400 error will be returned. Defaults to None.
Returns: ApiResponse: The API response containing user info with optionally filtered integrations.
Raises: HTTPException: When connectors parameter contains invalid connector names (status_code=400).
Successful Response
Validation Error
Get the currently logged-in user's information.
Args: x_api_key (str): The API key from the header. authorization (str): The Authorization header containing the Bearer token. connectors (str, optional): Filter integrations by connector names. Supports single connector (e.g., 'microsoft_sharepoint') or multiple comma-separated connectors (e.g., 'microsoft_sharepoint,google_docs'). All provided connector names must be valid plugin names, otherwise an HTTP 400 error will be returned. Defaults to None.
Returns: ApiResponse: The API response containing user info with optionally filtered integrations.
Raises: HTTPException: When connectors parameter contains invalid connector names (status_code=400).
Successful Response
Validation Error
Last updated