Playground
选一个公开接口,填好参数,看到生成的 curl 命令;点 Send 在浏览器里直接试一下。Beta 期间公开网关的 CORS 还没全开,调用如果被浏览器挡住,请把生成的 curl 拷到本地终端跑。
project_idstring所属项目 ID。
filenamestring原始文件名。
content_typestringMIME 类型,例如 "image/png"、"video/mp4"。
datastring文件二进制数据。
metadataobject扩展元数据。
数组(JSON)—— 直接粘 JSON 数组。
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 '{
}'该接口需要鉴权。把上面的鉴权方式从「不鉴权」切到 OAuth 2.0 Bearer 或 API Key 后再发。
还没发请求。
本 tab 内还没有调用记录。