List Organizations
GET/organizations
Returns a list of organizations associated with the user's session.
Args: stoken_session (SessionContainer): The user's session token.
Returns: list[Organization]: A list of organizations associated with the user's session.
Raises: HTTPException: If there is an error retrieving the organizations from the database.
Responses
- 200
 
Successful Response
- application/json
 
- Schema
 - Example (from schema)
 
Schema
Array [
- MOD1
 - MOD1
 ]
id Id (string)required
name Name (string)required
description Description (string)required
type
object
anyOf
string
owner Owner (string)required
workspaces string[]
members string[]
invitations undefined[]
is_paying
object
anyOf
boolean
[
  {
    "id": "string",
    "name": "string",
    "description": "string",
    "type": "string",
    "owner": "string",
    "workspaces": [
      "string"
    ],
    "members": [
      "string"
    ],
    "invitations": [
      null
    ],
    "is_paying": true
  }
]
Loading...