V2 > Media

Attach logo

attach logo to the media

post/1/vod/channel/{channel}/media/{media}/logo/{logo}

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/1/vod/channel/{channel}/media/{media}/logo/{logo}
  • Auth
    none declared

Path parameters

channelinteger required

The Channel unique identifier

mediainteger required

The Media unique identifier

logointeger required

The Logo unique identifier

Request body

folder_idinteger required

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

category_idinteger

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

language_idinteger

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

namestring required

<br/>This field must not exist on the medias database in the name column.

descriptionstring
validatedboolean
publishedboolean
passwordstring
streamsstring

<br/>This field must be present and not empty only if any of the following fields are present:collected_at

shot_boundariesstring[]
durationnumber

<br/>This field must be present and not empty only if any of the following fields are present:collected_at

client'"cli"' | '"http"' required
http_ipstring ip

<br/>This field must be present and not empty if the client field is equal to any of the following:http

http_user_agentstring

<br/>This field must be present and not empty if the client field is equal to any of the following:http

cli_userstring

<br/>This field must be present and not empty if the client field is equal to any of the following:cli

cli_hostnamestring

<br/>This field must be present and not empty if the client field is equal to any of the following:cli

debugboolean

Response

Default response

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

Result of the HTTP request

databoolean

Example response

{
  "result": "success"
}

Changes

No recorded changes to this operation across all 40 revisions of this API.