POST api/Download/CreateCDNWithPreset
Creating an embed link
Request Information
URI Parameters
None.
Body Parameters
Parameters for creating an embed link
IdListWithPreset| Name | Description | Type | Additional information |
|---|---|---|---|
| Preset |
Export preset ID |
globally unique identifier |
None. |
| Ids |
List of IDs |
Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"preset": "a82012fb-b253-47bf-9d10-a658ee568f1b",
"ids": [
1,
2
]
}
Response Information
Resource Description
Result containing the embed link
ObjResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | string |
None. |
|
| Error |
Error description |
string |
None. |
| Success |
Flag of successful operation |
boolean |
None. |
| ErrorCode |
Error code |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": "sample string 1",
"error": "sample string 2",
"success": true,
"errorCode": 4
}
Parameter Information
data
Batch conversion parameters
| Property | Description |
|---|---|
| Preset (Guid) |
Export preset ID |
| Ids (Int64[]) |
List of IDs |