Loading...
Loading...
Shopee(虾皮)媒体上传 Media 模块(与 linkfox-shopee-store-auth 同系列),经 /shopee/developerProxy 转发 Shopee Open API Media 模块全部 6 个接口:upload_image、init_video_upload、upload_video_part、complete_video_upload、get_video_upload_result、cancel_video_upload。path 为 api/v2/media/...(module=130)。当用户提到 Shopee media 上传、v2.media.upload_image、media模块上传图片 时触发。与 media_space(module=91)接口名相同但 path 不同,按网关白名单选用。
npx skill4agent add linkfox-ai/linkfox-skills linkfox-shopee-store-mediaapi/v2/media/...linkfox-shopee-store-authPOST /shopee/developerProxyshopIdmerchantIdPOST /shopee/developerProxyreferences/api.mdpython scripts/media_api.py '<JSON 参数>' [--inline]<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json<cwd><session>SESSION_IDtotalcostToken--inlinejqConvertFrom-JsonLINKFOX_AGENT_API_KEYLINKFOXAGENT_API_KEY| Skill | path 前缀 | module |
|---|---|---|
本 skill | | 130 |
| | 91 |
upload_imageinit_video_uploadpython scripts/check_auth_dependency.pylinkfox-shopee-store-auth| 脚本 | API | Method |
|---|---|---|
| upload_image | POST |
| init_video_upload | POST |
| upload_video_part | POST |
| complete_video_upload | POST |
| get_video_upload_result | GET |
| cancel_video_upload | POST |
| 通用入口 | — |
references/apis/| API | 说明文档 |
|---|---|
| references/apis/cancel-video-upload.md |
| references/apis/complete-video-upload.md |
| references/apis/get-video-upload-result.md |
| references/apis/init-video-upload.md |
| references/apis/upload-image.md |
| references/apis/upload-video-part.md |
upload_image.pylinkfox-shopee-store-productadd_iteminit_video_uploadupload_video_partcomplete_video_uploadget_video_upload_resultlinkfox-shopee-store-authapi/v2/media_space/...linkfox-shopee-store-media-spacelinkfox-shopee-store-videoreferences/api.md