V2 > Share

Updates a share.

put/1/vod/channel/{channel}/share/{share}

Path parameters

channelinteger required

The Channel unique identifier

shareinteger required

The Share unique identifier

Request body

channel_idinteger

<br/>This field must exist on the channels database in the id column.

target_type'"vod_media"' | '"vod_playlist"' required
player_idinteger

<br/>This field must exist on the players database in the id column.

encoding_idinteger

<br/>This field must be present and not empty if the target_type field is equal to any of the following:vod_media<br/>This field must exist on the encodings database in the id column.

commentstring
timestampnumber
validityinteger

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.