POST api/MediaItems/ApproveItems
Approval of media items
Request Information
URI Parameters
None.
Body Parameters
Parameters of the approval operation
IdListApprove| Name | Description | Type | Additional information |
|---|---|---|---|
| Force |
Ignore filling in required tags |
boolean |
None. |
| Ids |
List of IDs |
Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"force": true,
"ids": [
1,
2
]
}
Response Information
Resource Description
Result containing the flag of successful operation
ObjResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | boolean |
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": true,
"error": "sample string 2",
"success": true,
"errorCode": 4
}
Parameter Information
data
Parameters of the approval operation
| Property | Description |
|---|---|
| Force (Boolean) |
Ignore filling in required tags |
| Ids (Int64[]) |
List of IDs |