Event

Create an event

This endpoint allows you to create an Event.

post/1/videos/{channel}/events

Path parameters

channelinteger required

The unique identifier (ID) of the channel to request.

Query parameters

account_idinteger required

Account identifier

The account identifier

Request body

access_countrystring nullable

a strict string (no HTML/PHP tags or HTML entities allowed)

authorize_countryboolean required

Authorise or Prohibit countries to view the stream

datestring nullable

Timestamp {name} has been created

dvr_windowinteger nullable
fragment_durationinteger required

Limit the size of files

live_playlist_idstring

a strict string (no HTML/PHP tags or HTML entities allowed)

live_playlist_inactive_namestring

a strict string (no HTML/PHP tags or HTML entities allowed)

namestring required

a strict string (no HTML/PHP tags or HTML entities allowed)

recordboolean

Activate the interrupt of the live event

record_namestring nullable

Name of the recording

repeat_intervalinteger nullable
repeat_untilinteger nullable
start_atinteger required

Start of the event

stop_atinteger required

End of the event

stop_liveboolean required

Add geographical restrictions

storage_machine_idinteger nullable

Unique identifier of the storage space

timezonestring required

a strict string (no HTML/PHP tags or HTML entities allowed)

weekdays_onlyboolean nullable
weekends_onlyboolean nullable

Example request

{
  "access_country": "\"Hello world ! 😊\"",
  "live_playlist_id": "36a88b90-902f-4132-aed3-7f4e2a680e94",
  "live_playlist_inactive_name": "\"Hello world ! 😊\"",
  "name": "My first event",
  "record_name": "\"Hello world ! 😊\"",
  "timezone": "\"Hello world ! 😊\""
}

Response

Created

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.