PATCH api/v1/media/assets/{assetId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| assetId | integer |
Required |
Body Parameters
UpdateMediaAssetRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AltText | string |
None. |
|
| Caption | string |
None. |
|
| CategoryIds | Collection of integer |
None. |
|
| Tags | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AltText": "sample string 1",
"Caption": "sample string 2",
"CategoryIds": null,
"Tags": null
}
application/xml, text/xml
Sample:
<UpdateMediaAssetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/navtezcms.BO.Media"> <AltText>sample string 1</AltText> <Caption>sample string 2</Caption> <CategoryIds i:nil="true" /> <Tags i:nil="true" /> </UpdateMediaAssetRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.