Skip to main content

Deploy

Whenever you make any change in your Superblog like updating settings, adding a new post, editing a post, or anything else you can see the "Deploy" button is activated.

Read more here

Trigger a deploy

You can send a POST request as below to retieve a list of posts.

Javascript

const response = await fetch(
// you can change the page number for pagination
"https://write.superblog.ai/api/sites/supername/your-supername/deploy",
{
headers: {
//.....
//.....
"x-superblog-access-key": "your-api-key",
},
}
);

const data = await response();