Skip to main content
POST
/
resource
/
Topic
Crear Topic
curl --request POST \
  --url https://cucuniversity.edtools.co/api/resource/Topic \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "topic_name": "Introduction to Algorithms",
  "topic_code": "ALGO-101",
  "description": "Fundamentos de algoritmos y estructuras de datos básicas",
  "hero_image": "",
  "topic_content": [
    {
      "content_type": "Article",
      "content": "What is an Algorithm"
    },
    {
      "content_type": "Quiz",
      "content": "Algorithm Basics Quiz"
    }
  ]
}
'

Authorizations

Authorization
string
header
required

Body

application/json

topic_name
string
required
topic_code
string
required
description
string
required
hero_image
string
required
topic_content
TopicContent · object[]
required

Response

200

Respuesta exitosa del servidor.