API referenceresources

ovok_sdk.resources.video_calls

LiveKit video calls: appointments, access and email notices.

  • Stable unknown
  • Release candidate since 0.1.0-rc.4
  • Development since 0.1.0-dev.25+2ba84b0

LiveKit video calls: appointments, access and email notices.

VideoCallAppointmentsResource

VideoCallAppointmentsResource(http: HttpClient)

Video-call appointments; access it as ovok.video_calls.appointments.

Parameters

NameTypeDefaultDescription
httpHttpClientThe HTTP client scoped to the LiveKit routes.

list()

list(params: QueryParams | None = None) -> list[Resource]

List video-call appointments.

Parameters

NameTypeDefaultDescription
paramsQueryParams | NoneNoneOptional query parameters passed to the API.

Returns

  • list[Resource]: The appointments.

create()

create(body: Resource) -> Resource

Create a video-call appointment.

Parameters

NameTypeDefaultDescription
bodyResourceThe appointment as the API takes it.

Returns

  • Resource: The created appointment.

update()

update(appointment_id: str, body: Resource) -> Resource

Replace a video-call appointment.

Parameters

NameTypeDefaultDescription
appointment_idstrThe appointment ID.
bodyResourceThe new appointment.

Returns

  • Resource: The updated appointment.

VideoCallAccessResource

VideoCallAccessResource(http: HttpClient)

Access to a video call's room; access it as ovok.video_calls.access.

Parameters

NameTypeDefaultDescription
httpHttpClientThe HTTP client scoped to the LiveKit routes.

permission()

permission(appointment_id: str) -> Resource

Check whether the signed-in user may join an appointment's call.

Parameters

NameTypeDefaultDescription
appointment_idstrThe appointment ID.

Returns

  • Resource: The access permission.

create_guest()

create_guest(appointment_id: str, body: Resource) -> Resource

Create guest access to an appointment's call.

Parameters

NameTypeDefaultDescription
appointment_idstrThe appointment ID.
bodyResourceThe guest as the API takes it.

Returns

  • Resource: The guest access, including its token.

create_user()

create_user(appointment_id: str) -> Resource

Create access for the signed-in user to an appointment's call.

Parameters

NameTypeDefaultDescription
appointment_idstrThe appointment ID.

Returns

  • Resource: The user access, including its token.

VideoCallEmailsResource

VideoCallEmailsResource(http: HttpClient)

Video-call email notices; access it as ovok.video_calls.emails.

Parameters

NameTypeDefaultDescription
httpHttpClientThe HTTP client scoped to the LiveKit routes.

invite()

invite(body: Resource) -> Resource

Email an invitation to a call.

Parameters

NameTypeDefaultDescription
bodyResourceThe invitation as the API takes it.

Returns

  • Resource: The API's response.

update()

update(body: Resource) -> Resource

Email a notice that a call changed.

Parameters

NameTypeDefaultDescription
bodyResourceThe notice as the API takes it.

Returns

  • Resource: The API's response.

cancel()

cancel(body: Resource) -> Resource

Email a notice that a call was cancelled.

Parameters

NameTypeDefaultDescription
bodyResourceThe notice as the API takes it.

Returns

  • Resource: The API's response.

VideoCallsResource

VideoCallsResource(http: HttpClient)

LiveKit video calls: appointments, room access and email notices.

Created by Ovok; access it as ovok.video_calls.

notify_active()

notify_active(appointment_id: str) -> Resource

Notify the participants that an appointment's call is active.

Parameters

NameTypeDefaultDescription
appointment_idstrThe appointment ID.

Returns

  • Resource: The API's response.

Last updated on

On this page