User Guide
API (OId Version)
Calling Methods
Upload
Get Upload Token
Normal Upload
File Upload Callback
Video Upload Callback
Material Upload Callback
Video Fetch
Asset MGMT
Video Processing
Video Playback
Appendix
API (New)
Tool and SDK

Material Upload Callback

Last update:2022-01-07 14:31:35

Introduction

Configuring aware of material uploaded by the callback result callback, the callback configuration is shown in detail callback settings

Request description

POST request

Request parameter

none

Return parameter

Obtain material list information in batches with the same interface. The
general return result is shown in the return result
. The data structure of the data parameter returned when successful

parameter nameTypes ofdescribe
totalstringThe total number of materials that meet the query conditions
materialListarrayMaterial list

The data structure of the materialList array elements

parameter nameTypes ofdescribe
idstringMaterial ID
namestringMaterial name
suffixstringFile extension
fileSizelongFile size (unit is bit)
urlstringFile url
createUserstringCreate user
createTimeintCreation time

Example

Input example

none

Sample output

{
    "code": 200,
    "data": {
        "materialList": [
            {
                "createTime": 1563429555,
                "createUser": "ovptest",
                "fileSize": 1794,
 				"id": "03a9caea016c10009634a00200000000",
				"name": "test01",
                "suffix": "jpg",
                "url":"http://ovptest.haplat.net/cloudv-material/20190718/03a9caea016c10008sd1276200000000.jpg"
            }
        ],
        "total":1
    },
    "message": "操作成功"
}


Error code

See generic error code returned results

Is the content of this document helpful to you?
Yes
I have suggestion
Submitted successfully! Thank you very much for your feedback, we will continue to strive to do better!