Skip to content

2.2. content_repository_ID >index.json

abasic edited this page Mar 10, 2020 · 1 revision

Visual representation

tailor course view

Code example

index.json

{
  "id": 44,
  "uid": "6c5978e2-5403-4edd-9186-75e2b2be1d94",
  "schema": "COURSE",
  "name": "Test Course 1",
  "description": "Description for Test Course 1",
  "meta": {
    "color": "#689F38"
  },
  "structure": [{
    "id": 903,
    "uid": "4536577e-c53a-4dec-bf48-efaac64de0cb",
    "parentId": null,
    "type": "COURSE/GOAL",
    "position": 1,
    "publishedAt": "2018-11-15T07:41:49.191Z",
    "updatedAt": "2018-11-15T07:38:41.722Z",
    "createdAt": "2018-11-15T07:37:38.943Z",
    "relationships": {
      "prerequisites": []
    },
    "meta": {
      "name": "TC1: Goal 1",
      "description": "Random description for TC1: Goal 1"
    },
    "contentContainers": [{
      "id": 907,
      "uid": "09df1821-80e7-414c-82f4-47b438cc7f04",
      "type": "INTRO",
      "elementCount": 1
    }],
    "exams": [{
      "id": 908,
      "uid": "9898a897-007b-4701-98d9-1dd8b0699431"
    }],
    "assessments": []
  }, {
    "id": 904,
    "uid": "ee8d00ed-0261-4f5f-be8f-6828430f0b2b",
    "parentId": 903,
    "type": "COURSE/OBJECTIVE",
    "position": 1,
    "publishedAt": "2018-11-15T07:41:51.443Z",
    "updatedAt": "2018-11-15T07:37:54.167Z",
    "createdAt": "2018-11-15T07:37:54.167Z",
    "relationships": {
      "prerequisites": []
    },
    "meta": {
      "name": "G1: Learning Objective 1"
    },
    "contentContainers": [],
    "exams": [],
    "assessments": []
  }, {
    "id": 905,
    "uid": "4c6beb04-248a-49c9-ac81-21e89783bf77",
    "parentId": 904,
    "type": "COURSE/TOPIC",
    "position": 1,
    "publishedAt": "2018-11-15T07:41:53.417Z",
    "updatedAt": "2018-11-15T07:38:21.755Z",
    "createdAt": "2018-11-15T07:37:58.767Z",
    "relationships": {
      "prerequisites": [],
      "replacements": []
    },
    "meta": {
      "name": "G1:LO1: Topic 1"
    },
    "contentContainers": [{
      "id": 906,
      "uid": "4461e41a-cded-44d2-9337-733073857275",
      "type": "PERSPECTIVE",
      "elementCount": 1
    }],
    "exams": [],
    "assessments": [{
      "id": 378,
      "uid": "04f39c1e-64b1-4612-9404-974b708bfabc"
    }]
  }],
  "version": "ad6f8988627f9cedb66bc49c7525abdf4a8a6de7",
  "publishedAt": "2018-11-15T07:41:53.602Z"
}