开发者应用
用于管理 Slash 平台上的 developer applications(OAuth2 客户端)。
List Applications
POST
/partner/channel/slash/developer-applications/query internal返回所有 developer applications。
Request Body
使用 SecureChannelRequest<Void> 包裹,不需要业务 payload。
Response
返回 List<DeveloperApplication>。
Create Application
POST
/partner/channel/slash/developer-applications internal创建新的 developer application。
Request Body
使用 SecureChannelRequest<CreateDeveloperApplicationRequest> 包裹。
Response
返回创建后的 DeveloperApplication。
Get Application
POST
/partner/channel/slash/developer-applications/get internal按 ID 获取 developer application。不存在时返回 404。
Request Body
使用 SecureChannelRequest<DeveloperApplicationGetRequest> 包裹:
| Name | Type | Required | Description |
|---|---|---|---|
applicationId | string | Required | application ID |
Response
返回 DeveloperApplication。
Update Application
POST
/partner/channel/slash/developer-applications/update internal更新 developer application。不存在时返回 404。
Request Body
使用 SecureChannelRequest<DeveloperApplicationUpdateRequest> 包裹:
| Name | Type | Required | Description |
|---|---|---|---|
applicationId | string | Required | 要更新的 application ID |
request | UpdateDeveloperApplicationRequest | Required | 更新字段 |
Response
返回更新后的 DeveloperApplication。
Delete Application
POST
/partner/channel/slash/developer-applications/delete internal删除 developer application。不存在时返回 404,成功时返回 200。
Request Body
使用 SecureChannelRequest<DeveloperApplicationDeleteRequest> 包裹:
| Name | Type | Required | Description |
|---|---|---|---|
applicationId | string | Required | 要删除的 application ID |
Response
成功时返回 200 OK,响应体为空。