cla-orgs

Get Presigned Url

获取COS预签名URL

Args: filename: 文件名 current_user: 当前用户

Returns: PresignedUrlResponse: 包含预签名URL的响应

get/api/v1/cla-orgs/presigned-url

Request

  • Base URL: https://opencloudos.org (the document declares no server; this is the origin it was published from)
  • URL: https://opencloudos.org/api/v1/cla-orgs/presigned-url
  • Auth: OAuth 2 (password, token URL /api/v1/users/login)

Query parameters

filenamestring required

Response

Successful Response

successboolean
put_urlstring required
get_urlstring required
uniquefilenamestring required

Example response

{
  "success": true,
  "uniquefilename": "uuid-filename.jpg",
  "url": "https://example.com/presigned-url"
}

Changes

No recorded changes to this operation across all 1 revision of this API.