Static Pages
Return all Static Pages.
Parameters
sortquery string
Sort ascending or descending order.
pagequery integer
Page offset to fetch.
per_pagequery integer
Number of results to return per page.
{
const res = await fetch(`${BASE_URL}/api/v1/static_pages`, {
method: 'GET',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(data)});
const data = await res.json();
}
Static Pages by id
Return a Static Page.
Parameters
idpath integerRequired
Return a Static Page by specific
id
.languagequery string
Return results of Business by language ISO 639‑1 code.
{
const res = await fetch(`${BASE_URL}/api/v1/static_pages/${id}`, {
method: 'GET',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(data)});
const data = await res.json();
}