> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://mediakind.ferndocs.com/harmonic/api/vos/asset-acquisition/update-existing-asset/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://mediakind.ferndocs.com/_mcp/server. # Update existing asset. Considered to be used only by engineers with advanced knowledge of AA PUT https://device.example.com:443/cluster1/vos-api/asset-acquisition/v1/asset Content-Type: application/json Reference: https://mediakind.ferndocs.com/harmonic/api/vos/asset-acquisition/update-existing-asset ## Authentication - `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer `, where token is your auth token. ## Request ### Body (application/json) This endpoint expects a com.harmonicinc.vos.asset.acquisition.rest.model.Asset. - `altThumbnailPath` (string, optional) - `creationDate` (string, optional) - `cuePoints` (list of com.harmonicinc.vos.asset.acquisition.rest.model.RestCuePointsInfo, optional) - `description` (string, optional) - `destinationProfileId` (string, optional) - `drm` (com.harmonicinc.vos.asset.acquisition.model.DrmProperties, optional) - `duration` (long, optional) - `endTime` (long, optional) - `fileFormat` (string, optional) - `filePath` (string, optional) - `fileSize` (long, optional) - `geoBlockingProperties` (com.harmonicinc.vos.asset.acquisition.model.GeoBlockingProperties, optional) - `id` (string, optional) - `inputAssets` (list of com.harmonicinc.vos.asset.acquisition.rest.model.RestInputAsset, optional) - `labels` (list of string, optional) - `location` (enum, optional) - Allowed values: `LOCAL`, `S3`, `LLCU`, `ECU`, `EXTERNAL`, `BLOB`, `GCS`, `LIVE_EVENT_RECORD`, `LOOP_RECORD`, `AKAMAI_S3` - `logo` (com.harmonicinc.vos.asset.acquisition.rest.model.RestLogo, optional) - `outputs` (list of com.harmonicinc.vos.asset.acquisition.rest.model.OutputAsset, optional) - `recordingHealth` (com.harmonicinc.vos.asset.acquisition.rest.model.RestRecordingHealth, optional) - `refServiceId` (string, optional) - `resolution` (string, optional) - `sizeBytes` (long, optional) - `startTime` (long, optional) - `subtitleAssets` (list of com.harmonicinc.vos.asset.acquisition.rest.model.RestSubtitleAsset, optional) - `tcEndTime` (string, optional) - `tcStartTime` (string, optional) - `thumbnailPath` (string, optional) - `timeShiftBuffers` (list of string, optional) - `title` (string, optional) - `trimSegments` (list of com.harmonicinc.vos.asset.acquisition.model.Segment, optional) ## Response ### 200 OK ### 201 Created ## Errors ### 401 Unauthorized Error Unauthorized - `any` ### 403 Forbidden Error Forbidden - `any` ### 404 Not Found Error Not Found - `any` ## Types ### com.harmonicinc.vos.asset.acquisition.rest.model.RestCuePointsInfo - `data` (string, optional) - `timeOffset` (long, optional) - `type` (enum, optional) - Allowed values: `OUT` ### com.harmonicinc.vos.asset.acquisition.model.DrmProperties - `drmEnabled` (boolean, optional) - `drmPropertiesEntries` (list of com.harmonicinc.vos.asset.acquisition.model.DrmPropertiesEntry, optional) ### com.harmonicinc.vos.asset.acquisition.model.GeoBlockingProperties - `enabled` (boolean, optional) — Deprecated - `geoBlockingMode` (enum, optional) — Deprecated - Allowed values: `ALLOW`, `PROHIBIT` - `geoLocations` (list of com.harmonicinc.vos.asset.acquisition.model.GeoLocation, optional) — Deprecated - `ipAddressWhiteList` (list of string, optional) — Deprecated ### com.harmonicinc.vos.asset.acquisition.rest.model.RestInputAsset - `cuePointInfo` (com.harmonicinc.vos.asset.acquisition.model.CuePointInfo, optional) - `duration` (long, optional) - `durationMs` (long, optional) - `externalAssetUrl` (string, optional) - `fileFormat` (string, optional) - `filePath` (string, optional) - `fileServerId` (string, optional) - `fileSize` (long, optional) - `groomingProfileId` (string, optional) - `invalid` (boolean, optional) - `invalidityReason` (string, optional) - `localCopyStatus` (enum, optional) - Allowed values: `MISSING`, `SUBMITTED`, `LOADING`, `FAILED`, `READY` - `location` (enum, optional) - Allowed values: `LOCAL`, `S3`, `LLCU`, `ECU`, `EXTERNAL`, `BLOB`, `GCS`, `LIVE_EVENT_RECORD`, `LOOP_RECORD`, `AKAMAI_S3` - `resolution` (string, optional) - `s3Url` (string, optional) - `sourceLocalCopyFilePath` (string, optional) - `uri` (string, optional) ### com.harmonicinc.vos.asset.acquisition.rest.model.RestLogo - `graphicId` (string, optional) - `horizontalOffset` (integer, optional) - `opacity` (integer, optional) - `placement` (enum, optional) - Allowed values: `TOP_LEFT`, `TOP_RIGHT`, `BOTTOM_LEFT`, `BOTTOM_RIGHT` - `verticalOffset` (integer, optional) ### com.harmonicinc.vos.asset.acquisition.rest.model.OutputAsset - `destinationProfileId` (string, optional) - `estimationTimeSec` (long, optional) - `id` (string, optional) - `originOutput` (com.harmonicinc.vos.asset.acquisition.rest.model.OriginOutput, optional) - `packagedOutputs` (list of com.harmonicinc.vos.asset.acquisition.rest.model.RestPackageOutput, optional) — Packaged outputs by the cloud engine - `percentage` (integer, optional) - `playbackUrls` (map from string to string, optional) - `previewUrls` (map from string to string, optional) - `profileId` (string, optional) - `status` (enum, optional) - Allowed values: `QUEUED`, `SUBMITTED`, `PROCESSING`, `FINISHED`, `FAILED`, `CANCELING`, `CANCELED`, `RECONCILING`, `REJECTED`, `RETRYING` - `vqPassed` (boolean, optional) ### com.harmonicinc.vos.asset.acquisition.rest.model.RestRecordingHealth - `health` (list of com.harmonicinc.vos.asset.acquisition.rest.model.RestRecordingHealthEntry, optional) - `status` (enum, optional) - Allowed values: `NONE`, `PARTIAL`, `FINAL` ### com.harmonicinc.vos.asset.acquisition.rest.model.RestSubtitleAsset - `filePath` (string, optional) - `id` (string, optional) - `language` (string, optional) - `location` (enum, optional) - Allowed values: `LOCAL`, `S3`, `LLCU`, `ECU`, `EXTERNAL`, `BLOB`, `GCS`, `LIVE_EVENT_RECORD`, `LOOP_RECORD`, `AKAMAI_S3` - `pacParams` (com.harmonicinc.vos.asset.acquisition.rest.model.RestSubtitleAsset_PacParams, optional) - `rank` (integer, optional) - `sourceFileName` (string, optional) - `streamName` (string, optional) - `subtitleType` (enum, optional) - Allowed values: `NORMAL`, `HARD_OF_HEARING`, `FORCED` ### com.harmonicinc.vos.asset.acquisition.model.Segment - `markIn` (long, optional) - `markOut` (long, optional) ### com.harmonicinc.vos.asset.acquisition.model.DrmPropertiesEntry - `drmResourceID` (string, optional) - `drmSystemID` (string, optional) - `drmTrackFilter` (string, optional) - `id` (long, optional) - `packageType` (enum, optional) - Allowed values: `HLS`, `DASH`, `SS`, `CMAF`, `TS`, `THUMBNAIL` - `packagingProfilePropertiesName` (string, optional) ### com.harmonicinc.vos.asset.acquisition.model.GeoLocation - `country` (string, optional) - `region` (string, optional) ### com.harmonicinc.vos.asset.acquisition.model.CuePointInfo - `cueIn` (list of float, optional) - `cueOut` (list of float, optional) - `cueOutCont` (list of float, optional) ### com.harmonicinc.vos.asset.acquisition.rest.model.OriginOutput - `packageInfos` (list of com.harmonicinc.vos.asset.acquisition.rest.model.PackageInfo, optional) ### com.harmonicinc.vos.asset.acquisition.rest.model.RestPackageOutput - `destinationProfileId` (string, optional) - `fileSize` (long, optional) - `format` (enum, optional) - Allowed values: `DASH`, `HLS`, `SS`, `CMAF`, `RAW_TS`, `THUMBNAIL`, `MP4` - `url` (string, optional) ### com.harmonicinc.vos.asset.acquisition.rest.model.RestRecordingHealthEntry - `count` (integer, optional) - `id` (string, optional) - `severity` (enum, optional) - Allowed values: `INFO`, `WARNING`, `CRITICAL` - `type` (enum, optional) - Allowed values: `SIGNALAVAILABLE`, `SIGNALLOSS`, `PIDAVAILABLE`, `PIDLOSS`, `PTSINCONSISTENCY` ### com.harmonicinc.vos.asset.acquisition.rest.model.RestSubtitleAsset_PacParams - `codePage` (enum, optional) - Allowed values: `LATIN`, `TURKISH`, `JAPANESE`, `KOREAN`, `CHS`, `CHT`, `CYRILLIC`, `THAI`, `HEBREW`, `ARABIC`, `CZECH`, `GREEK` - `offset` (string, optional) ### com.harmonicinc.vos.asset.acquisition.rest.model.PackageInfo - `format` (enum, optional) - Allowed values: `DASH`, `HLS`, `SS`, `CMAF`, `RAW_TS`, `THUMBNAIL`, `MP4` - `name` (string, optional) - `url` (string, optional) - `urlType` (enum, optional) - Allowed values: `PLAYBACK`, `PREVIEW` ## Examples ### Example 1 **Request** ```json {} ``` **Response** ```json {} ``` **SDK Code** ```python import requests url = "https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset" payload = {} headers = { "Authorization": "Bearer ", "Content-Type": "application/json" } response = requests.put(url, json=payload, headers=headers) print(response.json()) ``` ```javascript const url = 'https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset'; const options = { method: 'PUT', headers: {Authorization: 'Bearer ', 'Content-Type': 'application/json'}, body: '{}' }; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset" payload := strings.NewReader("{}") req, _ := http.NewRequest("PUT", url, payload) req.Header.Add("Authorization", "Bearer ") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Put.new(url) request["Authorization"] = 'Bearer ' request["Content-Type"] = 'application/json' request.body = "{}" response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.put("https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset") .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .body("{}") .asString(); ``` ```php request('PUT', 'https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset', [ 'body' => '{}', 'headers' => [ 'Authorization' => 'Bearer ', 'Content-Type' => 'application/json', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset"); var request = new RestRequest(Method.PUT); request.AddHeader("Authorization", "Bearer "); request.AddHeader("Content-Type", "application/json"); request.AddParameter("application/json", "{}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = [ "Authorization": "Bearer ", "Content-Type": "application/json" ] let parameters = [] as [String : Any] let postData = JSONSerialization.data(withJSONObject: parameters, options: []) let request = NSMutableURLRequest(url: NSURL(string: "https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "PUT" request.allHTTPHeaderFields = headers request.httpBody = postData as Data let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ``` ### Example 2 **Request** ```json {} ``` **Response** ```json {} ``` **SDK Code** ```python import requests url = "https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset" payload = {} headers = { "Authorization": "Bearer ", "Content-Type": "application/json" } response = requests.put(url, json=payload, headers=headers) print(response.json()) ``` ```javascript const url = 'https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset'; const options = { method: 'PUT', headers: {Authorization: 'Bearer ', 'Content-Type': 'application/json'}, body: '{}' }; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset" payload := strings.NewReader("{}") req, _ := http.NewRequest("PUT", url, payload) req.Header.Add("Authorization", "Bearer ") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Put.new(url) request["Authorization"] = 'Bearer ' request["Content-Type"] = 'application/json' request.body = "{}" response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.put("https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset") .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .body("{}") .asString(); ``` ```php request('PUT', 'https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset', [ 'body' => '{}', 'headers' => [ 'Authorization' => 'Bearer ', 'Content-Type' => 'application/json', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset"); var request = new RestRequest(Method.PUT); request.AddHeader("Authorization", "Bearer "); request.AddHeader("Content-Type", "application/json"); request.AddParameter("application/json", "{}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = [ "Authorization": "Bearer ", "Content-Type": "application/json" ] let parameters = [] as [String : Any] let postData = JSONSerialization.data(withJSONObject: parameters, options: []) let request = NSMutableURLRequest(url: NSURL(string: "https://device.example.com/cluster1/vos-api/asset-acquisition/v1/asset")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "PUT" request.allHTTPHeaderFields = headers request.httpBody = postData as Data let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```