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.

Process

  1. Create a website marking it as not-live yet
  2. Add any additional configuration you need, such as sections, keywords, etc.
  3. Test the website for the first time

1. Create a not-live website

Request

POST /v1/websites

Make a simple request to create a website, but:

These 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
  }
}

Response

The response will be the same as for retrieving a single website.