Open Modeling

Upload Callback

Upload Callback; used after file upload to notify which file resources need to be copied. To avoid API timeout, supports maximum 100 files per request; can split requests with same resource_uuid; repeated upload of same file occupies extra resources; concurrent upload is strongly discouraged. Note etag is the hash value given to the file by the bucket; used to verify file integrity. Example (Go code):

meta, _ := bucket.GetObjectDetailedMeta(key)
etag := strings.Trim(meta.Get("ETag"), "\"")
post/openapi/v0.1/open_model/stores/upload_callback

Request

  • Base URL
    https://41b04hdzmc.apifox.cn (the document declares no server; this is the origin it was published from)
  • URL
    https://41b04hdzmc.apifox.cn/openapi/v0.1/open_model/stores/upload_callback
  • Auth
    none required

Headers

X-Request-Idstring uuid

Request Unique Identifier

X-User-Tokenstring

User Authentication Token

x-user-tokenstring required

User Authentication Token

Request body

resource_uuidstring required

Resource Unique Identifier

resource_namestring

Max 255 characters

callback_paramstring required

Callback Parameter Returned When Getting Token

Response

codeinteger required
messagestring required

Changes

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