Cortex API
  • Getting Started
  • Connecting to the Cortex API
  • Overview of API flow
  • Authentication
    • getCortexInfo
    • getUserLogin
    • requestAccess
    • hasAccessRight
    • authorize
    • generateNewToken
    • getUserInformation
    • getLicenseInfo
  • Headsets
    • controlDevice
    • queryHeadsets
    • updateHeadset
    • updateHeadsetCustomInfo
    • syncWithHeadsetClock
    • Headset object
  • Sessions
    • createSession
    • updateSession
    • querySessions
    • Session object
  • Data Subscription
    • subscribe
    • unsubscribe
    • Data sample object
  • Records
    • createRecord
    • stopRecord
    • updateRecord
    • deleteRecord
    • exportRecord
    • queryRecords
    • getRecordInfos
    • configOptOut
    • requestToDownloadRecordData
    • Record object
  • Markers
    • injectMarker
    • updateMarker
    • Marker object
  • Subjects
    • createSubject
    • updateSubject
    • deleteSubjects
    • querySubjects
    • getDemographicAttributes
    • Subject object
  • BCI
    • queryProfile
    • getCurrentProfile
    • setupProfile
    • loadGuestProfile
    • getDetectionInfo
    • training
    • Readonly profile
  • Advanced BCI
    • getTrainedSignatureActions
    • getTrainingTime
    • facialExpressionSignatureType
    • facialExpressionThreshold
    • mentalCommandActiveAction
    • mentalCommandBrainMap
    • mentalCommandGetSkillRating
    • mentalCommandTrainingThreshold
    • mentalCommandActionSensitivity
  • Warning Objects
  • Error Codes
  • Troubleshooting Guide
  • Release Notes
  • cortexaccess tool
Powered by GitBook
On this page
  • Parameters
  • Result
  • Examples
  1. Records

updateRecord

PreviousstopRecordNextdeleteRecord

Last updated 4 years ago

This method is to update a record. You can update its title, description and its tags.

Your application cannot update a record that was created by another application.

Parameters

Name

Type

Required

Description

cortexToken

string

yes

record

string

yes

title

string

no

The new title of the record.

This parameter was added in Cortex 2.5.0

description

string

no

The new description of the record. Omit this parameter if you don't want to update the description.

tags

array of strings

no

The new tags of the record.Omit this parameter if you don't want to update the tags.

Result

The result is a .

Examples

Update the tags and the description.

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "updateRecord",
    "params": {
        "cortexToken": "xxx",
        "record": "d8fe7658-71f1-4cd6-bb5d-f6775b03438f",
        "description": "My best record ever.",
        "tags": ["best", "snow", "direwolf"]
    }
}
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "applicationId": "com.jon.snow.winterfell-app",
        "applicationVersion": "1.0",
        "description": "My best record ever.",
        "endDatetime": "2019-06-06T11:42:23.436191+07:00",
        "experimentId": 0,
        "licenseId": "xxx",
        "licenseScope": ["pm","eeg"],
        "ownerId": "76c3468a-d9c0-428d-81b4-bdac5d63860e",
        "startDatetime": "2019-06-06T11:41:53.088632+07:00",
        "tags": ["best", "snow", "direwolf"],
        "title": "Cortex Examples C++",
        "uuid": "d8fe7658-71f1-4cd6-bb5d-f6775b03438f"
    }
}

A token returned by .

A record id returned by .

record object
authorize
createRecord