**Data Format**
----
2 независимых хранилища данных (ключ-значение)
* Skills
* Data
все запросы одинаковые, разница только в пути к запросу.
* http://apiNN.kokids.org/auth/skills/ + ''command''
* http://apiNN.kokids.org/auth/data/ + ''command''
список комманд внизу страницы
**input**
type tStorageInput struct {
Uid int64 `json:"Uid"`
Token string `json:"Token"`
Bundle string `json:"Bundle"`
Data string `json:"Data"`
}
Data - missed for /get
Data string = "key1,key2,key3" //getkeys, delkeys
Data string = "key1:value1,key2:value2,key3:value3" //setkeys, pluskeys, minuskeys
any = int||long||float||string
**output**
type tStorageOutput struct {
Data map[string]any //changed data
}
* /plus and /minus works only if type is int||long||float
* if you try to add or subtract key that doesnt exists in db - keys will be created
* if you try to add or subtract key with data type string - key will be ignored
* if you try to add float to int the data type will change to float
* [[YovoKids/api/auth/get|Get All Data]] ''command = get''
* [[YovoKids/api/auth/plus|Plus Data]] ''command = pluskeys''
* [[YovoKids/api/auth/minus|Minus Data]] ''command = minuskeys''
* [[YovoKids/api/auth/getkeys|Get Keys]] ''command = getkeys''
* [[YovoKids/api/auth/setkeys|Set Keys]] ''command = setkeys''
* [[YovoKids/api/auth/delkeys|Del Keys]] ''command = delkeys''