Alokai

ApiMethods

ApiMethods type of the Storyblok integration.

type ApiMethods = {
  get(context: StoryblokIntegrationContext, slug: string, params?: ISbStoriesParams, fetchOptions?: ISbCustomFetch): Promise<ISbResult>;
  getAll(context: StoryblokIntegrationContext, slug: string, params: ISbStoriesParams, entity?: string, fetchOptions?: ISbCustomFetch): Promise<any[]>;
  getStories(context: StoryblokIntegrationContext, params: ISbStoriesParams, fetchOptions?: ISbCustomFetch): Promise<ISbStories>;
  getStory(context: StoryblokIntegrationContext, slug: string, params: ISbStoriesParams, fetchOptions?: ISbCustomFetch): Promise<ISbStory>;
};

Referenced Types

On this page