[关闭]
@superpigy 2023-03-20T13:52:20.000000Z 字数 420 阅读 263

监管2.0 平台Hook接口

  1. API Base Url: https://backend.ai.hamuna.club
  2. API Prefix: '/api'

获取支持的AI服务列表

  1. Path: api-gateway/supervision/list_services
  2. Method: GET,
  3. Parms: {}

获取项目列表

  1. Path: /api-gateway/supervision/list_projects
  2. Method: GET,
  3. Parms: {
  4. app_id -> 合作方ID,
  5. page -> 分页索引,
  6. page_size -> 分页大小
  7. }

注册项目Hook

  1. Path: /api-gateway/supervision/register_project_hooks
  2. Method: GET,
  3. Parms: {
  4. app_id -> 合作方ID,
  5. project_id -> 项目ID,
  6. services -> AI服务列表(填写AI服务接口获取的name字段),
  7. rest_callback -> https回调接口
  8. }
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注