API reference
API reference
Select your platform
No SDKs available
No versions available

WitSyncVRequest Class

Extends WitVRequest, IWitSyncVRequest

Member Functions

Constructor for wit based editor data sync VRequests
Parameters
configuration
The configuration interface to be used
Submits an intent to be added to the current wit app
Parameters
intentInfo
The intent data to be submitted
Returns
Returns an intent with unique id if successful
Submits an entity to be added to the current wit app
Parameters
entityInfo
The entity info to be submitted
Returns
Returns an entity with unique id if successful
Submits a keyword to be added to an entity on the current wit app
Parameters
entityId
The entity this keyword should be added to
keywordInfo
The keyword and synonyms submitted
Returns
Returns updated entity if successful
Submits a synonym to be added to a keyword on the specified entity on the current wit app
Parameters
entityId
The entity that holds the keyword
keyword
The keyword we're adding the synonym to
synonym
The synonym we're adding
Returns
Returns updated entity if successful
Submits a trait to be added to the current wit app
Parameters
traitInfo
The trait data to be submitted
Returns
Returns a trait with unique id if successful
Submits a trait value to be added to the current wit app
Parameters
traitId
The trait id to be submitted
traitValue
The trait value to be submitted
Returns
Returns updated trait if successful
Import app data from generated manifest JSON
Parameters
manifestData
The serialized manifest to import from
Returns
Built request object
Did you find this page helpful?
Thumbs up icon
Thumbs down icon