The Link Object
The link object contains a limited subset of the information associated with a story or folder.
Properties
Section titled “Properties”-
idnumberStory or folder ID.
-
uuidstringStory or folder UUID.
-
slugstringStory or folder full slug.
-
pathstring | nullReal path defined in the story’s entry configuration (see Visual Editor).
-
parent_idnumber | nullParent folder ID.
-
namestringStory or folder name.
-
is_folderbooleantrueif the instance is a folder. -
publishedbooleantrueif the instance is currently published. -
is_startpagebooleantrueif the instance is a story and is defined as folder root. -
positionnumberNumeric representation of the story’s position in the folder. Users can change this property in the Content tab.
-
real_pathstringEither 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/. -
published_atstringLatest publication timestamp (Timestamps follow the ISO 8601 standard in UTC).
-
created_atstringCreation timestamp (Timestamps follow the ISO 8601 standard in UTC).
-
updated_atstringLatest update timestamp (Timestamps follow the ISO 8601 standard in UTC).
-
alternatesarrayAn array that contains objects correlating to the language versions defined using field-level translation.
Show alternates object child properties
-
pathstringTranslated story slug (learn more about the Translatable Slugs app).
-
namestringTranslated story name (learn more about the Translatable Slugs app).
-
langstringLanguage code of story language version.
-
publishedbooleantrueif story language version is currently published. -
translated_slugstringTranslated story slug (learn more about the Translatable Slugs app).
-
{ "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" } ]}Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window) . Terms of Service (opens in a new window) apply.
Get in touch with the Storyblok community