queryProfile
This method returns the list of all the training profiles of the user.
Parameters
Name
Type
Required
Description
Result
The result is an array of objects , or an empty array if the user has no profile. Each object includes these fields:
uuid
string
The unique ID of this profile.
name
string
The name of the profile.
readOnly
boolean
If a headset is created before v3.6.5, the profile will become read-only when upgrading to v3.6.5. See readonly profile. This field is available since v3.6.5.
eegChannels
array
The list of EEG channels of a headset with which this profile can be loaded.
For example, if eegChannels of a profile is ["AF3","T7","Pz","T8","AF4"], this profile can be loaded for Insight headset.
This field is available since v3.6.5.
Example
{
"id": 1,
"jsonrpc": "2.0",
"method": "queryProfile",
"params": {
"cortexToken": "xxx"
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"uuid":"xxx"
"name":"Profile A",
"readOnly":false,
"eegChannels":["AF3","T7","Pz","T8","AF4"]
},
{
"uuid":"yyy"
"name":"Profile B",
"readOnly":true,
"eegChannels":["AF3","F7","F3","FC5","T7","P7","O1","O2","P8","T8","FC6","F4","F8","AF4"]
}
]
}Last updated