Playground
Pick a public endpoint, fill in the params, and grab the generated curl. The Send button does a best-effort browser fetch — during the Beta the public gateway's CORS isn't fully open yet, so if a call is blocked, just paste the curl into your terminal.
AssetService.UploadAsset
Upload an asset
IdentityUserOrgCredentialsOAuth 2.0API KeyScopescreative:write
project_idstring所属项目 ID。
filenamestring原始文件名。
content_typestringMIME 类型,例如 "image/png"、"video/mp4"。
datastring文件二进制数据。
metadataobject扩展元数据。
Array (JSON) — paste a JSON array directly.
wechat_mp_credentialsobject微信公众号 API 调用凭证。 当 server 需要把素材上传到微信公众号素材库时必填(图片 / 视频 / 缩略图)。 详见 WechatMpCredentials 设计说明(types.proto)。
app_idstring微信公众号 AppID(形如 "wxbd099e0f2e27cca4",18 位)。
app_secretstring微信公众号 AppSecret(32 位十六进制)。**敏感字段,禁止落日志**。
curl -X POST 'https://api.appforges.com/v1/creative/assets' \
-H 'Content-Type: application/json' \
-d '{
}'This endpoint requires authentication. Switch the auth mode above from "No auth" to OAuth 2.0 Bearer or API Key before sending.
Send a request to see the response.
No calls in this tab yet.