Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fishjam/_openapi_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""A client library for accessing Fishjam Media Server"""
"""A client library for accessing Fishjam API"""

from .client import AuthenticatedClient, Client

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ def sync_detailed(
client: AuthenticatedClient,
body: MoqTokenConfig | Unset = UNSET,
) -> Response[Error | MoqToken]:
"""Creates a MoQ token for the given stream
"""Create a MoQ token

Issue a short-lived JWT for a Media over QUIC client.

Args:
body (MoqTokenConfig | Unset): MoQ token configuration
Expand Down Expand Up @@ -105,7 +107,9 @@ def sync(
client: AuthenticatedClient,
body: MoqTokenConfig | Unset = UNSET,
) -> Error | MoqToken | None:
"""Creates a MoQ token for the given stream
"""Create a MoQ token

Issue a short-lived JWT for a Media over QUIC client.

Args:
body (MoqTokenConfig | Unset): MoQ token configuration
Expand All @@ -129,7 +133,9 @@ async def asyncio_detailed(
client: AuthenticatedClient,
body: MoqTokenConfig | Unset = UNSET,
) -> Response[Error | MoqToken]:
"""Creates a MoQ token for the given stream
"""Create a MoQ token

Issue a short-lived JWT for a Media over QUIC client.

Args:
body (MoqTokenConfig | Unset): MoQ token configuration
Expand All @@ -156,7 +162,9 @@ async def asyncio(
client: AuthenticatedClient,
body: MoqTokenConfig | Unset = UNSET,
) -> Error | MoqToken | None:
"""Creates a MoQ token for the given stream
"""Create a MoQ token

Issue a short-lived JWT for a Media over QUIC client.

Args:
body (MoqTokenConfig | Unset): MoQ token configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ def sync_detailed(
client: AuthenticatedClient,
body: PeerConfig | Unset = UNSET,
) -> Response[Error | PeerDetailsResponse]:
"""Create peer
"""Create a peer

Add a peer to a room and return its connection token.

Args:
room_id (str):
Expand Down Expand Up @@ -128,7 +130,9 @@ def sync(
client: AuthenticatedClient,
body: PeerConfig | Unset = UNSET,
) -> Error | PeerDetailsResponse | None:
"""Create peer
"""Create a peer

Add a peer to a room and return its connection token.

Args:
room_id (str):
Expand All @@ -155,7 +159,9 @@ async def asyncio_detailed(
client: AuthenticatedClient,
body: PeerConfig | Unset = UNSET,
) -> Response[Error | PeerDetailsResponse]:
"""Create peer
"""Create a peer

Add a peer to a room and return its connection token.

Args:
room_id (str):
Expand Down Expand Up @@ -185,7 +191,9 @@ async def asyncio(
client: AuthenticatedClient,
body: PeerConfig | Unset = UNSET,
) -> Error | PeerDetailsResponse | None:
"""Create peer
"""Create a peer

Add a peer to a room and return its connection token.

Args:
room_id (str):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def sync_detailed(
client: AuthenticatedClient,
body: RoomConfig | Unset = UNSET,
) -> Response[Error | RoomCreateDetailsResponse]:
"""Creates a room
"""Create a room

Create a new room with the given configuration.

Args:
body (RoomConfig | Unset): Room configuration
Expand Down Expand Up @@ -110,7 +112,9 @@ def sync(
client: AuthenticatedClient,
body: RoomConfig | Unset = UNSET,
) -> Error | RoomCreateDetailsResponse | None:
"""Creates a room
"""Create a room

Create a new room with the given configuration.

Args:
body (RoomConfig | Unset): Room configuration
Expand All @@ -134,7 +138,9 @@ async def asyncio_detailed(
client: AuthenticatedClient,
body: RoomConfig | Unset = UNSET,
) -> Response[Error | RoomCreateDetailsResponse]:
"""Creates a room
"""Create a room

Create a new room with the given configuration.

Args:
body (RoomConfig | Unset): Room configuration
Expand All @@ -161,7 +167,9 @@ async def asyncio(
client: AuthenticatedClient,
body: RoomConfig | Unset = UNSET,
) -> Error | RoomCreateDetailsResponse | None:
"""Creates a room
"""Create a room

Create a new room with the given configuration.

Args:
body (RoomConfig | Unset): Room configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ def sync_detailed(
*,
client: AuthenticatedClient,
) -> Response[Any | Error]:
"""Delete peer
"""Delete a peer

Remove a peer from a room and disconnect it.

Args:
room_id (str):
Expand Down Expand Up @@ -107,7 +109,9 @@ def sync(
*,
client: AuthenticatedClient,
) -> Any | Error | None:
"""Delete peer
"""Delete a peer

Remove a peer from a room and disconnect it.

Args:
room_id (str):
Expand All @@ -134,7 +138,9 @@ async def asyncio_detailed(
*,
client: AuthenticatedClient,
) -> Response[Any | Error]:
"""Delete peer
"""Delete a peer

Remove a peer from a room and disconnect it.

Args:
room_id (str):
Expand Down Expand Up @@ -164,7 +170,9 @@ async def asyncio(
*,
client: AuthenticatedClient,
) -> Any | Error | None:
"""Delete peer
"""Delete a peer

Remove a peer from a room and disconnect it.

Args:
room_id (str):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ def sync_detailed(
*,
client: AuthenticatedClient,
) -> Response[Any | Error]:
"""Delete the room
"""Delete a room

Delete a room by id and disconnect all of its peers.

Args:
room_id (str):
Expand Down Expand Up @@ -101,7 +103,9 @@ def sync(
*,
client: AuthenticatedClient,
) -> Any | Error | None:
"""Delete the room
"""Delete a room

Delete a room by id and disconnect all of its peers.

Args:
room_id (str):
Expand All @@ -125,7 +129,9 @@ async def asyncio_detailed(
*,
client: AuthenticatedClient,
) -> Response[Any | Error]:
"""Delete the room
"""Delete a room

Delete a room by id and disconnect all of its peers.

Args:
room_id (str):
Expand All @@ -152,7 +158,9 @@ async def asyncio(
*,
client: AuthenticatedClient,
) -> Any | Error | None:
"""Delete the room
"""Delete a room

Delete a room by id and disconnect all of its peers.

Args:
room_id (str):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ def sync_detailed(
*,
client: AuthenticatedClient,
) -> Response[Error | RoomsListingResponse]:
"""Show information about all rooms
"""List all rooms

List all rooms and livestreams.

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -76,7 +78,9 @@ def sync(
*,
client: AuthenticatedClient,
) -> Error | RoomsListingResponse | None:
"""Show information about all rooms
"""List all rooms

List all rooms and livestreams.

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -95,7 +99,9 @@ async def asyncio_detailed(
*,
client: AuthenticatedClient,
) -> Response[Error | RoomsListingResponse]:
"""Show information about all rooms
"""List all rooms

List all rooms and livestreams.

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand All @@ -116,7 +122,9 @@ async def asyncio(
*,
client: AuthenticatedClient,
) -> Error | RoomsListingResponse | None:
"""Show information about all rooms
"""List all rooms

List all rooms and livestreams.

Raises:
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ def sync_detailed(
*,
client: AuthenticatedClient,
) -> Response[Error | RoomDetailsResponse]:
"""Shows information about the room
"""Get a room

Get a room by id.

Args:
room_id (str):
Expand Down Expand Up @@ -103,7 +105,9 @@ def sync(
*,
client: AuthenticatedClient,
) -> Error | RoomDetailsResponse | None:
"""Shows information about the room
"""Get a room

Get a room by id.

Args:
room_id (str):
Expand All @@ -127,7 +131,9 @@ async def asyncio_detailed(
*,
client: AuthenticatedClient,
) -> Response[Error | RoomDetailsResponse]:
"""Shows information about the room
"""Get a room

Get a room by id.

Args:
room_id (str):
Expand All @@ -154,7 +160,9 @@ async def asyncio(
*,
client: AuthenticatedClient,
) -> Error | RoomDetailsResponse | None:
"""Shows information about the room
"""Get a room

Get a room by id.

Args:
room_id (str):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ def sync_detailed(
*,
client: AuthenticatedClient,
) -> Response[Error | PeerRefreshTokenResponse]:
"""Refresh peer token
"""Refresh a peer token

Issue a fresh connection token for an existing peer.

Args:
room_id (str):
Expand Down Expand Up @@ -109,7 +111,9 @@ def sync(
*,
client: AuthenticatedClient,
) -> Error | PeerRefreshTokenResponse | None:
"""Refresh peer token
"""Refresh a peer token

Issue a fresh connection token for an existing peer.

Args:
room_id (str):
Expand All @@ -136,7 +140,9 @@ async def asyncio_detailed(
*,
client: AuthenticatedClient,
) -> Response[Error | PeerRefreshTokenResponse]:
"""Refresh peer token
"""Refresh a peer token

Issue a fresh connection token for an existing peer.

Args:
room_id (str):
Expand Down Expand Up @@ -166,7 +172,9 @@ async def asyncio(
*,
client: AuthenticatedClient,
) -> Error | PeerRefreshTokenResponse | None:
"""Refresh peer token
"""Refresh a peer token

Issue a fresh connection token for an existing peer.

Args:
room_id (str):
Expand Down
Loading
Loading