
# 大文件分片上传初始化（API名称：file/initBigFile）
#### 功能介绍
大文件分片上传初始化
#### 相关接口
| **接口名称**                                                             | **调用说明**                                                     |
|:---|:---|
| [获取Token](https://support.huaweicloud.com/api-isdp/api_01_0019.html) | 调用该接口获取到Token，再调用其他接口时，需要在请求消息头中添加"Authorization"，其值即为Token。 |
   
#### URL
| **请求方式** | **HTTPS地址**                                       | **服务架构** | **消息体类型**        |
|:---|:---|:---|:---|
| POST     | https://***isdp+域名***/openapi/v1/file/initBigFile | OpenAPI  | application/json |
   
#### 请求头
| **KEY**       | **VALUE**              | **是否必填** | **描述**                                                                                           |
|:---|:---|:---|:---|
| Content-Type  | application/json       | 是        | 无                                                                                                |
| Authorization | bearer ${access_token} | 是        | bearer +" "+[5.2.1](https://support.huaweicloud.com/api-isdp/api_01_0019.html)中获取的access_token的值 |
   
#### 请求参数
| **参数**    | **类型** | **是否必填** | **描述** |
|:---|:---|:---|:---|
| funcPoint | String | 是        | 功能点    |
   
#### 响应参数
| **参数**   | **类型** | **描述**    |
|:---|:---|:---|
| uploadId | long   | 初始化时返回的ID |
| hwFileId | long   | 文件的GUID   |
   
#### 请求示例
```
{
    "funcPoint": "trainingCourseVideo"
}
```
#### 响应示例
```
{
    "hwFileId": "e8be7727-4028-4009-bc85-b390cbfe5c50",
    "uploadId": "eb53fb23-6277-4019-858c-1215ae988abc",
    "fileName": null,
    "fileSize": null,
    "chunkNumber": null,
    "funcPoint": "trainingCourseVideo"
}
```
