{
"id": 1,
"jsonrpc": "2.0",
"method": "queryRecords",
"params": {
"cortexToken": "xxx",
"limit": 10,
"offset": 0,
"orderBy": [
{ "startDatetime": "DESC" }
],
"query": {
"applicationId": "com.emotiv.emotivpro",
"licenseId": "yyy"
},
"includeSyncStatusInfo": true
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"count": 1,
"limit": 10,
"offset": 0,
"records": [{
"applicationId": "com.emotiv.emotivpro",
"applicationVersion": "2.6.3",
"demographics": {
"uuid": "",
"validated": false
},
"description": "A simple experiment with a drone",
"endDatetime": "2021-01-06T16:32:50.572490+07:00",
"experimentId": 0,
"headbandPosition": null,
"licenseId": "yyy",
"licenseScope": ["pm", "eeg"],
"localOnly": false,
"ownerId": "ddeca960-9336-4a51-a2d2-9cb6e8fd5524",
"startDatetime": "2021-01-06T16:32:13.431865+07:00",
"subject": {
"subjectName": "Ben Kenobi"
},
"syncStatus": {
"status": "neverUploaded"
},
"tags": [],
"title": "Experiment 42",
"uuid": "1f2a8f85-7200-400a-a8f0-fd5c0b331852"
}]
}
}{
"id": 1,
"jsonrpc": "2.0",
"method": "queryRecords",
"params": {
"cortexToken": "xxx",
"includeMarkers": true,
"limit": 2,
"offset": 0,
"orderBy": [
{
"startDatetime": "DESC"
}
],
"query": {
"keyword": "Cortex Example"
}
}
}{
"id": 1,
"jsonrpc": "2.0",
"result": {
"count": 9,
"limit": 2,
"offset": 0,
"records": [
{
"applicationId": "com.xxx.cortex-examples",
"applicationVersion": "1.0",
"description": "",
"endDatetime": "2020-03-09T15:59:34.794356+07:00",
"experimentId": 0,
"headbandPosition": null,
"licenseId": "xxx",
"licenseScope": [
"pm",
"eeg"
],
"localOnly": false,
"markers": [
{
"endDatetime": "2020-03-09T15:59:09.680802+07:00",
"extras": {},
"label": "test1",
"port": "Cortex Example",
"startDatetime": "2020-03-09T15:59:09.680802+07:00",
"type": "instance",
"uuid": "ba8ed3a9-3e0b-4a17-9227-96ae05fa1767",
"value": 41
},
{
"endDatetime": "2020-03-09T15:59:25.873059+07:00",
"extras": {},
"label": "test2",
"port": "Cortex Example",
"startDatetime": "2020-03-09T15:59:16.867054+07:00",
"type": "interval",
"uuid": "2cfe93cc-f242-49d6-8165-7b13147e7c10",
"value": 42
}
],
"ownerId": "94f7c5ed-3d24-4c29-8243-96aa7db80d4a",
"startDatetime": "2020-03-09T15:59:04.344671+07:00",
"subject": {
"subjectName": "Bob"
},
"tags": [],
"title": "Cortex Examples C++",
"uuid": "b26f35c3-42ee-4612-a9b9-09af04c2ba37"
},
{
"applicationId": "com.xxx.cortex-examples",
"applicationVersion": "1.0",
"description": "",
"endDatetime": "2020-03-09T15:58:37.792248+07:00",
"experimentId": 0,
"headbandPosition": null,
"licenseId": "xxx",
"licenseScope": [
"pm",
"eeg"
],
"localOnly": false,
"markers": [
{
"endDatetime": "2020-03-09T15:58:12.875515+07:00",
"extras": {},
"label": "test1",
"port": "Cortex Example",
"startDatetime": "2020-03-09T15:58:12.875515+07:00",
"type": "instance",
"uuid": "e22d46a0-480a-452a-a65e-d6b4448e3f7b",
"value": 41
},
{
"endDatetime": "2020-03-09T15:58:28.872019+07:00",
"extras": {},
"label": "test2",
"port": "Cortex Example",
"startDatetime": "2020-03-09T15:58:20.873850+07:00",
"type": "interval",
"uuid": "c8fd9191-43da-4e28-970d-bf9f24404c8a",
"value": 42
}
],
"ownerId": "94f7c5ed-3d24-4c29-8243-96aa7db80d4a",
"startDatetime": "2020-03-09T15:58:08.036369+07:00",
"subject": {
"subjectName": "Marie"
},
"tags": [],
"title": "Cortex Examples C++",
"uuid": "33d2c56a-4cdf-4e2b-a5bb-db127f838248"
}
]
}
}