# Hosting design direction alternatives

`POST /hosting/sites/{id}/design/alternatives` · Rivier · hosting

Two or three clearly different looks for the built site (layouts and tokens), saved as directions flagged proposal with stable ids; nothing changes until a person restores one. A person only.

- Scope: hosting:write
- Graphql: Mutation.hostingDesignDirectionAlternatives
- Sdk: hosting.designDirection.alternatives
- Cli: hosting design direction alternatives

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "minimum": 2,
      "maximum": 3,
      "default": 3
    },
    "message": {
      "type": "string",
      "maxLength": 600
    }
  },
  "additionalProperties": false
}
```

## Responses

- `201`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/hosting/sites/{id}/design/alternatives' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "count": 3,
  "message": "string"
}'
```
