The Link Object
The Link Object contains a limited subset of the information associated with a story (a content entry) or a folder.
Properties
-
id
numberThe numeric ID
-
uuid
stringGenerated UUID string
-
slug
stringThe full slug of the story or folder
-
path
stringValue of the real path defined in the story's entry configuration
-
real_path
stringEither the full slug of the story or folder with a leading
/
, or, if existent, the value of the real path defined in the story's entry configuration with a leading/
-
name
stringThe complete name of the story or folder
-
published
booleantrue
if a story has been published at least once (even if it is currently in draft) -
parent_id
numberID of the parent folder
-
is_folder
booleantrue
if the instance constitutes a folder -
is_startpage
booleantrue
if the story is defined as root for the folder -
position
numberNumeric representation of the story's position in the folder
-
published_at
stringLatest publishing date (Format:
yyyy-MM-dd'T'HH:mm:ssZ
); only included ifinclude_dates=1
is specified -
created_at
stringCreation date (Format:
yyyy-MM-dd'T'HH:mm:ssZ
); only included ifinclude_dates=1
is specified -
updated_at
stringLatest update date (Format:
yyyy-MM-dd'T'HH:mm:ssZ
); only included ifinclude_dates=1
is specified -
alternates
objectAn array containing objects that provide basic data of the different language versions of a story using Storyblok's Field Level Translation. Important: not to be confused with actual story alternates.
-
path
stringTranslated slug of the story (if the app Translatable Slugs is installed; otherwise, it matches the slug of the parent object)
-
name
stringTranslated name of the story (if the app Translatable Slugs is installed)
-
lang
stringLanguage code of this story variant
-
published
booleantrue
if a story has been published at least once (even if it is currently in draft) -
translated_slug
stringTranslated slug of the story (if the app Translatable Slugs is installed; otherwise, it matches the slug of the parent object)
-
{
"id": 460947950,
"uuid": "3ce5d163-3bb4-41ef-9e1a-709d7c4848ff",
"slug": "website-a/home",
"path": "the-real-path",
"parent_id": 460950252,
"name": "Home",
"is_folder": false,
"published": true,
"is_startpage": false,
"position": 10,
"real_path": "/the-real-path",
"published_at": "2024-03-07T18:32:44.919Z",
"created_at": "2024-03-07T18:22:10.389Z",
"updated_at": "2024-03-07T18:32:44.933Z",
"alternates": [
{
"path": "website-a/startseite",
"name": "Startseite",
"lang": "de",
"published": true,
"translated_slug": "website-a/startseite"
}
]
}