User Tools

Site Tools


api2:adaptive:objectives

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
api2:adaptive:objectives [2017/11/27 17:51]
maries
api2:adaptive:objectives [2018/07/23 10:06] (current)
maries
Line 5: Line 5:
 ^ Property ​    ^ Type      ^ Description ​        ^ ^ Property ​    ^ Type      ^ Description ​        ^
 | id | Integer | identifier for the database of Domoscio'​s API | | id | Integer | identifier for the database of Domoscio'​s API |
 +| uid | String | The ID of this knowledge node in your Database. Useful if you cannot store the ID returned by the API |
 | name    | String ​    | Custom data        | | name    | String ​    | Custom data        |
 | objects | Json | Set of Knowledge Nodes, and/or Tags to be mastered | | objects | Json | Set of Knowledge Nodes, and/or Tags to be mastered |
Line 20: Line 21:
 ^ Property ​    ^ Type      ^ Description ​        ^ ^ Property ​    ^ Type      ^ Description ​        ^
 | name    | String ​    | Custom data        | | name    | String ​    | Custom data        |
 +| uid* | String | The ID of this knowledge node in your Database. Useful if you cannot store the ID returned by the API |
 | objects* | Json | Set of Knowledge Nodes, and/or Tags to be mastered | | objects* | Json | Set of Knowledge Nodes, and/or Tags to be mastered |
 | target_only | Boolean | This parameter can be used to restrict the objective: if true, the reviews and the instruction will be kept to the objects declared in the objective. Otherwise we will use our knowledge to extend the objective. | | target_only | Boolean | This parameter can be used to restrict the objective: if true, the reviews and the instruction will be kept to the objects declared in the objective. Otherwise we will use our knowledge to extend the objective. |
Line 29: Line 31:
    "​name":​ "​learn_the_world",​    "​name":​ "​learn_the_world",​
    "​objects":​ {"​knowledge_nodes":​ [2715, 2716, 2716], "​tags":​ [1234]},    "​objects":​ {"​knowledge_nodes":​ [2715, 2716, 2716], "​tags":​ [1234]},
-   "​target_only":​ true+   "​target_only":​ true
 +   "​uid":​ "​Obj1"​
 } }
 </​code>​ </​code>​
Line 39: Line 42:
     "​id":​ 319,     "​id":​ 319,
     "​name":​ "​learn_the_world",​     "​name":​ "​learn_the_world",​
 +    "​uid":​ "​Obj1",​
     "​objects":​ {     "​objects":​ {
         "​knowledge_nodes":​ [         "​knowledge_nodes":​ [
Line 70: Line 74:
     "​id":​ 319,     "​id":​ 319,
     "​name":​ "​learn_the_world",​     "​name":​ "​learn_the_world",​
 +    "​uid":​ "​Obj1"​
     "​objects":​ {     "​objects":​ {
         "​knowledge_nodes":​ [         "​knowledge_nodes":​ [
Line 93: Line 98:
         "​id":​ 319,         "​id":​ 319,
         "​name":​ "​learn_the_world",​         "​name":​ "​learn_the_world",​
 +        "​uid":​ "​Obj1"​
         "​objects":​ {         "​objects":​ {
             "​knowledge_nodes":​ [             "​knowledge_nodes":​ [
Line 136: Line 142:
     "​id":​ 319,     "​id":​ 319,
     "​name":​ "​learn_everything",​     "​name":​ "​learn_everything",​
 +    "​uid":​ "​Obj1"​
     "​objects":​ {     "​objects":​ {
         "​knowledge_nodes":​ [         "​knowledge_nodes":​ [
api2/adaptive/objectives.1511801478.txt.gz · Last modified: 2017/11/27 17:51 by maries