Function
Download a file.
Authorization Information
No identity policy-based permission required for calling this API.
URI
POST /koodrive/ose/v1/share/download
Request Parameters
Table 2 Request body parameters | Parameter | Mandatory | Type | Description |
| shareId | Yes | String | Sharing ID. |
| fileId | Yes | String | File ID. |
| kdstoken | No | String | Temporary token for sharing. |
Response Parameters
Status code: 200
Table 3 Response body parameters | Parameter | Type | Description |
| code | Integer | Response code. |
| msg | String | Response information. |
| downloadUrl | String | Download link. |
Example Requests
POST /koodrive/ose/v1/share/download
{
"shareId" : "string",
"fileId" : "string",
"kdstoken" : "string"
} Example Responses
Status code: 200
OK
{
"code" : "integer",
"msg" : "string",
"downloadUrl" : "string"
} Status Codes
| Status Code | Description |
| 200 | OK |