Package com.mikepenz.storyblok.sdk.model

Types

Alternate
Link copied to clipboard
data class Alternate(id: Long, name: String, slug: String, fullSlug: String?)
Datasource
Link copied to clipboard
data class Datasource(id: Long, name: String, slug: String, dimensions: List<JsonObject>?)

A data source is contains the information (slug) to receive a collection of datasource entries. You can use this endpoint to receive all datasources and then call the datasource entries endpoint using the slug of the datasource.

DatasourceEntry
Link copied to clipboard
data class DatasourceEntry(id: Long, name: String, slug: String, dimensionValue: String?)

A data source is simply a collection of key-value pairs. One specific datasource-entry is a set of two linked attributes: a key, which is a unique identifier for the item and the value.

Link
Link copied to clipboard
data class Link(id: Long, uuid: String, name: String, slug: String, isFolder: Boolean, parentId: Long?, published: Boolean, position: Long?, isStartpage: Boolean)

A data source is contains the information (slug) to receive a collection of datasource entries. You can use this endpoint to receive all datasources and then call the datasource entries endpoint using the slug of the datasource.

Space
Link copied to clipboard
data class Space(id: Long, name: String, domain: String, version: Long, languageCodes: List<String>)

In the content delivery API a space object is mostly used to receive the latest version timestamp to invalidate the cache.

Story
Link copied to clipboard
data class Story(id: Long, uuid: String, name: String, slug: String, fullSlug: String, defaultFullSlug: String?, createdAt: String, publishedAt: String?, firstPublishedAt: String?, content: JsonObject?, sortByDate: Boolean?, position: Int?, tagList: List<String>?, isStartPage: Boolean, parentId: Int?, groupId: String?, alternates: List<Alternate>?, translatedSlugs: List<JsonObject>?, releaseId: String?, lang: String)

This is an object representing your content entry. One Story object can be of a specific type, so called content types and is able to contain components. You define the fields and nestability of your content types to achieve your content structure. To learn how to build a basic blog you can checkout our content building tutorial.

Tag
Link copied to clipboard
data class Tag(name: String, taggingsCount: Long)

Each tag is a string value that can be reused across Stories to create features like word clouds, basic taggings for custom workflows, or similar usecases.