Templates

Install a template discovery

Endpoint to install a template discovery.

post/templates/discovery/install

Request body

organizationstring
destinationstring
isPrivateboolean

Example request

{
  "destination": "Jasmine Blog",
  "isPrivate": true,
  "discovery": {
    "idea": {
      "productIdea": "Build Personal Blog",
      "productName": "Jasmine",
      "brandVoice": "share!",
      "colorDescription": "warm"
    },
    "settings": {
      "auth": {
        "isSelected": true,
        "solution": "emailAuth"
      },
      "database": {
        "isSelected": true,
        "type": "postgres"
      },
      "payment": {
        "isSelected": true,
        "solution": "stripe",
        "plan": "oneTime"
      },
      "selectedTitle": {
        "title": "Share Your Story with the World",
        "subtitle": "Craft your own personal blog and let your voice be heard loud and clear"
      }
    }
  }
}

Response

Successful operation

messagestring

Example response

{
  "message": "Template installed successfully"
}

Changes