Tạo Thư Mục
1.1 Mục đích sử dụng :
Dùng để tạo thư mục chứa tài liệu
1.1. URI :
Name | Description |
---|---|
URI | {{gateway}}/v1/api/node/create |
Content-Type | application/json |
Method | POST |
1.2. Request :
1.2.1 Request Headers :
Name | Required | Description | Remarks |
---|---|---|---|
X-API-Key | Y | API Key AWS | |
Authorization | Y | [xFile cấp cho đối tác] |
|
1.2.2 Request Body - JSON :
Name | Type | Required | Description | Remarks |
---|---|---|---|---|
parentRefCode | String | OPTION | mã thư mục cha | |
folderName | String | Y | tên thư mục |
1.2.3 Request Sample :
Request URI:
{{gateway}}/v1/api/object/create
Request Body form-data :
Value |
---|
{ "parentRefCode":"1c2636ca-9b68-4ab4-8a6c-ca4219d5014f", "folderName" : "D55" } |
1.3. Response :
1.3.1 Response Body - JSON:
Name | Type | Description | Remarks |
---|---|---|---|
status | Long | Trạng thái kết quả api trả về | 0 : Thành công 1 : Thất bại |
data | Object | Kết quả api trả về | mã của thư mục được tạo |
1.3.2 Response Sample:
Response Success data |
---|
Response- Not Found data |
---|
{ "status": 0, "data": null } |
Last updated