Create activity
create_activityCreate a new empty activity for the current user. Its result brings "content_schema": the schema, the writing guide and the limits of the content of that type, which is what set_activity_content needs next. Keep working on the activity already open: create a second one only when the user explicitly asks for another activity, never as a way around the type that is open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Content language code (es, en, fr...). Defaults to the user language. | |
| type | Yes | Activity type. The one the user named, in any wording and language (ADIVINANZA = Riddle, ASTERQUIZ = AsterQuiz, COMPLETAR = Fill in the Blanks, CRUCIGRAMA = Crossword Puzzle, DIALOGO = Dialogue, DICTADO = Dictation, FROGGY_JUMPS = Froggy Jumps, LINE_UP = Line Up, ORDENAR_LETRAS = Unscramble Letters, ORDENAR_PALABRAS = Unscramble Words, PRESENTACION = Slideshow, PUZZLE = Jigsaw Puzzle, RELACIONAR = Matching, RELACIONAR_COLUMNAS = Matching Pairs, RELACIONAR_MOSAICO = Memory, RULETA_PALABRAS = Alphabet, SOPA = Word Search Puzzle, TEST = Quiz, VIDEOTEST = Video Quiz, YESORNO = Yes or No); when they named none, the one whose "best_for" suits the content best (the list of types in your context, or list_activity_types), never a quiz just because it is the usual choice. | |
| title | Yes | Title of the activity, written by you from what the user asked for. Never leave it empty and never ask the user for it. | |
| description | Yes | Short description of the activity, written by you. Never leave it empty and never ask the user for it. |