/src/api/blog/index.js
getBlogList(PostBody, lang)
PostBody - any : request body overload lang - string? : current language ("fr" is the default value) - Optionnal
PostBody
any
lang
string?
"fr"
import { getBlogList } from 'aquila-connector/api/blog'; const allPosts = await getBlogList("fr");
getBlogArticle(PostBody, preview, lang)
postBody - any : request body overload preview - string? : Preview ID - Optionnal lang - string? : current language ("fr" is the default value) - Optionnal
postBody
preview
import { getBlogArticle } from 'aquila-connector/api/blog'; const article = await getBlogArticle({ page: 1, limit: 15 });
There was an error while loading. Please reload this page.