Organizations
上传 Logo。Upload logo.
获取上传文件的 URL,使用 PUT 流式上传。 Get the upload URL for the file. Use PUT to initiate a streaming upload. 访问令牌调用此接口需包含以下权限。Required permissions for access token. group-manage:rw
post/{group}/-/upload/logos
Request
- Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
- URL: https://api.cnb.cool/{group}/-/upload/logos
- Auth: API key in header Authorization
Path parameters
groupstring required
组织。Group.
Request body
Response
OK
Example response
{
"assets": {
"path": "/{slug}/-/assets/xxx/xxx/xxxx-xxx.png"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.