MCPcopy Create free account
hub / github.com/53AI/53AIHub / GetWPSFileUploadAddress

Function GetWPSFileUploadAddress

api/controller/wps.go:703–705  ·  view source on GitHub ↗

GetWPSFileUploadAddress godoc @Summary 获取WPS文件上传地址 @Description WPS三阶段上传第二步:获取上传地址和临时许可 @Tags WPS集成(回调接口) @Accept json @Produce json @Param file_id path string true "文件ID" @Param X-App-ID header string true "APP_ID" @Param request body UploadAddressRequest true "上传信息" @Success 200 {object} weboffice

(c *gin.Context)

Source from the content-addressed store, hash-verified

701// @Failure 500 {object} weboffice.Reply
702// @Router /api/wps/v3/3rd/files/{file_id}/upload/address [post]
703func GetWPSFileUploadAddress(c *gin.Context) {
704 wrapHandlerFunc(getWPSFileUploadAddress)(c)
705}
706
707// executeWPSFileUpload 执行WPS文件上传
708func executeWPSFileUpload(c *gin.Context) (any, error) {

Callers

nothing calls this directly

Calls 1

wrapHandlerFuncFunction · 0.85

Tested by

no test coverage detected