getMediaExtension

abstract suspend fun getMediaExtension(mediaId: Long, type: MediaExtensionType): MediaExtensionItem

Gets media extension with type for media with mediaId.

See also

Throws

When session is not active.

Extension with type $type for media with id $mediaId not found

Unauthorized access.

Forbidden access.