AlphaAlpha Docs

Lists block presets

Lists the presets of a block, sorted by order.

GET
/projects/{projectId}/{scenarioId}/blocks/{blockId}/presets
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string
scenarioId*string
blockId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/projects/string/string/blocks/string/presets"
[
  {
    "description": "string",
    "houseChoices": {
      "property1": [
        {
          "code": "string",
          "option": "string"
        }
      ],
      "property2": [
        {
          "code": "string",
          "option": "string"
        }
      ]
    },
    "id": "string",
    "name": "string",
    "order": 0
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}