cla-orgs

Get All Org Names

获取所有组织名称列表

Args: db: 数据库会话 current_user: 当前用户(需要JWT认证)

Returns: OrgNameListResponse: 包含所有组织名称的响应

get/api/v1/cla-orgs/names

Request

  • Base URL: https://opencloudos.org (the document declares no server; this is the origin it was published from)
  • URL: https://opencloudos.org/api/v1/cla-orgs/names
  • Auth: OAuth 2 (password, token URL /api/v1/users/login)

Response

Successful Response

successboolean
datastring[] required
totalinteger required

Example response

{
  "data": [
    "组织1",
    "组织2",
    "组织3"
  ],
  "success": true,
  "total": 3
}

Changes

No recorded changes to this operation across all 1 revision of this API.