story

inline fun <T : Component> StoryblokClient.story(slug: String): Flow<Story<T>>(source)

Retrieves a Story by its slug using reified type information for the Component type.

Return

A Flow emitting the story, with potential cached and fresh values.

Parameters

slug

The URL path segment identifying the story.

Type Parameters

T

The Component type of the story content.


inline fun <T : Component> StoryblokClient.story(uuid: Uuid): Flow<Story<T>>(source)

Retrieves a Story by its UUID using reified type information for the Component type.

Return

A Flow emitting the story, with potential cached and fresh values.

Parameters

uuid

The unique identifier of the story.

Type Parameters

T

The Component type of the story content.