There are two ways to create a website in Silktide.
This is the more advanced approach, which allows you set advanced configuration. Compare this with a simple request to create a website.
POST /v1/websites
Make a simple request to create a website, but:
runNow
to false
isReady
to falseThese changes tell Silktide not to immediately test the website, and to mark it as not ready so we can keep setting it up before it is tested.
These changes give the new website a status
of setup
.
Example request:
{
"website": {
"homeUrl": "<https://fake-university.com/>",
"name": "Fake University",
"maxPages": 100,
"maxDocuments": 100,
"runNow": false,
"isReady": false
}
}
The response will be the same as for retrieving a single website.