SafeVideo

Pode alterar os domínios permitidos da mídia

Changed on
put/safevideo/v1/medias/:id/domains

Request

Path parameters

idstring required

Identificador da mídia

Example:6695366e04f7a37bfd00a926

Request body

domainsstring[] required

Domínios permitidos

Example request

{
  "domains": [
    "https://eduzz.com"
  ]
}

Response

Domínios alterados com sucesso

linkstring required

Elemento iframe com o conteúdo para poder adicionar em seu site

Example response

{
  "link": "<iframe src=https://player.safevideo.com/1cf12f12-d123-12b1-1b12-c1c123456dcg width=\"100%\" height=\"100%\" frameborder=\"0\" allowfullscreen=\"true\"></iframe>"
}

Changes

    • breaking

      the request property became required

    • breaking

      the / request property type changed from url to string, and format from no format to uri