journey

Update a micro-game's metadata

patch/api/journey/template/micro-games/{code}

Path parameters

codestring required

Game code

Game code

Request body

titlestring nullable

Game title

categorystring nullable

Motivation category

total_duration_secondsinteger nullable

Estimated duration

dedup_keystring nullable

Dedup key

display_orderinteger nullable

Order within category

enabledboolean nullable

Whether the game is active

Response

Successful Response

idstring required

Game type identifier

titlestring required

Game title

subtitlestring nullable

Subtitle / intro quote

categorystring required

Motivation category

total_duration_secondsinteger nullable

Estimated duration

Example response

{
  "appointment_group": {
    "max": 5,
    "min": 1
  },
  "category": "paura_percorso_psicologico",
  "id": "paura_psi_1_5",
  "scoring_rules": [],
  "screens": [
    {
      "blocks": [
        {
          "style": "title",
          "text": "Inizia a sciogliere le tue paure.",
          "type": "text"
        }
      ],
      "duration_seconds": 5,
      "id": "paura_psi_1_5_s1",
      "transition": "tap",
      "type": "intro"
    }
  ],
  "subtitle": "Quando la terapia spaventa...",
  "title": "Il Nodo",
  "total_duration_seconds": 90
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.