Classes
Methods
# async createCatalogue(cat_data) → {Promise.<function()>}
Parameters:
| Name | Type | Description |
|---|---|---|
cat_data |
*
|
Callback function
Promise.<function()>
# async getCatalogue(cat_id, query, cb, cat_data) → {Promise.<function()>}
Get catalogue by ID. If catalogue does not exist and cat_data is given, a new catalogu is created using cat_data
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
cat_id |
*
|
||
query |
*
|
= { 'members' : 'properties' : 'nodes' : } |
|
cb |
*
|
||
cat_data |
*
|
null |
Callback function
Promise.<function()>
# getCatalogueByShortId(project_sid, cb, query)
Parameters:
| Name | Type | Description |
|---|---|---|
project_sid |
*
|
|
cb |
*
|
|
query |
*
|
# async getCatalogueList(cb, query)
Get list of catalogues.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
cb |
*
|
callback |
|
query |
*
|
null | optional query filter |