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

Function GetWPSFile

api/controller/wps.go:1147–1149  ·  view source on GitHub ↗

GetWPSFile godoc @Summary 获取WPS文件信息 @Description WPS集成接口,根据外部应用ID和文件ID获取文件详情信息 @Tags WPS集成(回调接口) @Accept json @Produce json @Param file_id path string true "文件ID" @Param X-App-ID header string true "APP_ID" @Success 200 {object} weboffice.Reply{data=model.File} @Failure 400 {object} weboffice.Reply

(c *gin.Context)

Source from the content-addressed store, hash-verified

1145// @Failure 500 {object} weboffice.Reply
1146// @Router /api/wps/v3/3rd/files/{file_id} [get]
1147func GetWPSFile(c *gin.Context) {
1148 wrapHandlerFunc(getWPSFile)(c)
1149}
1150
1151// GetWPSFileDownload godoc
1152// @Summary 获取WPS文件下载地址

Callers

nothing calls this directly

Calls 1

wrapHandlerFuncFunction · 0.85

Tested by

no test coverage detected