Skip to content

开发者应用

用于管理 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> 包裹:

NameTypeRequiredDescription
applicationIdstringRequiredapplication ID

Response

返回 DeveloperApplication


Update Application

POST/partner/channel/slash/developer-applications/update internal

更新 developer application。不存在时返回 404

Request Body

使用 SecureChannelRequest<DeveloperApplicationUpdateRequest> 包裹:

NameTypeRequiredDescription
applicationIdstringRequired要更新的 application ID
requestUpdateDeveloperApplicationRequestRequired更新字段

Response

返回更新后的 DeveloperApplication


Delete Application

POST/partner/channel/slash/developer-applications/delete internal

删除 developer application。不存在时返回 404,成功时返回 200

Request Body

使用 SecureChannelRequest<DeveloperApplicationDeleteRequest> 包裹:

NameTypeRequiredDescription
applicationIdstringRequired要删除的 application ID

Response

成功时返回 200 OK,响应体为空。

SlaunchX Internal Documentation