SyncApi
new SyncApi(baseUrl, options)
- Source:
Parameters:
Name |
Type |
Description |
baseUrl |
string
|
|
options |
ApiOptions
|
|
Methods
createColumn(tableId, columnObject)
- Source:
Parameters:
Name |
Type |
Description |
tableId |
|
|
columnObject |
|
|
createColumns(tableId, columnObjArray)
- Source:
Parameters:
Name |
Type |
Description |
tableId |
|
|
columnObjArray |
|
|
createRow(tableId, columnIds, values) → {*}
- Source:
Parameters:
Name |
Type |
Description |
tableId |
|
|
columnIds |
|
|
values |
|
|
Returns:
-
Type
-
*
createRows(tableId, columnIds, rows)
- Source:
Parameters:
Name |
Type |
Description |
tableId |
|
|
columnIds |
|
|
rows |
|
|
createTable(name, hidden, displayName, type, group) → {object}
- Source:
Parameters:
Name |
Type |
Description |
name |
string
|
|
hidden |
boolean
|
|
displayName |
object
|
multi-language object |
type |
string
|
|
group |
number
|
|
Returns:
-
Type
-
object
doCall(method, url, jsonopt, nonceopt)
- Source:
Parameters:
Name |
Type |
Attributes |
Description |
method |
string
|
|
|
url |
string
|
|
|
json |
object
|
<optional>
|
|
nonce |
string
|
<optional>
|
|
fetchTable(tableId, includeRowsopt)
- Source:
Parameters:
Name |
Type |
Attributes |
Default |
Description |
tableId |
number
|
|
|
|
includeRows |
boolean
|
<optional>
|
false
|
|
resetSchema(nonce)
- Source:
Parameters:
Name |
Type |
Description |
nonce |
string
|
|