Medias
interface Medias
The media catalogue: the publishers that publications belong to.
Reached through Content.medias. get resolves one media in full, including the publications it owns, while the all overloads list them in their light MediaShort form.
Everything here follows the active profile and is bound to the scope you pass — see Content.
Functions
Link copied to clipboard
Retrieves a paginated list of media content accessible to the current user profile.
abstract fun all(mediaIds: List<MediaId>, topicIds: List<TopicId>, publicationIds: List<PublicationId>, pageSize: Int = 20, scope: CoroutineScope): PaginatedResource<MediaShort>
Retrieves a paginated list of media content accessible to the current user profile filtered by mediaIds, topicIds and publicationIds.
Link copied to clipboard
Observes a media by its identifier, reacting to changes in the active session.