capabilities.work

Build Navigation

A 2-step recipe with Storyblok. We can help you get access.

Recipe · 2 steps

Build Navigation

Fetch a folder's link tree and its start page content for navigation.

  1. Retrieve the link map for the folder prefix to build the navigation tree, including publication dates.
  2. Fetch the folder start page story by slug so its content can drive the navigation header.
What you'll need to have ready
  • deliveryToken: Public Content Delivery API token for the space.
  • startsWith: full_slug prefix identifying the folder to build navigation for.
  • startPageSlug: The full_slug of the folder start page story.
For your developer

Arazzo workflow storyblok:build-navigation, 2 operations: listLinks → getStoryBySlug. Specs on APIs.io.