Classes
Methods
# async getObject(object_id, cb, context_sidopt) → {Promise.<ApiResponse>}
Fetch an object by ID and (optional) context.
If context node is null use project as a context (root node for search).
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
object_id |
string
|
The ID of the object to retrieve |
||
cb |
function
|
Callback function that receives the result object |
||
context_sid |
string
|
<optional> |
null | Optional session or context identifier |
- Since:
- 1.0, 09.2025, jh
Since this uses a callback, the function itself resolves with no value
Promise.<ApiResponse>
# async getObjects(query, cb, context_sidopt) → {Promise.<ApiResponse>}
Fetch objects by query and (optional) context.
If context node is null use project as a context (root node for search).
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
query |
object
|
Query for search |
||
cb |
function
|
Callback function that receives the result object |
||
context_sid |
string
|
<optional> |
null | Optional session or context identifier |
- Since:
- 1.0, 09.2025, jh
Since this uses a callback, the function itself resolves with no value
Promise.<ApiResponse>
Example
{
"object_list" : [ 'objid1' , 'objid2' , ... ] // optional
// parameters of webservice
"filter" :
"members" :
"properties" :
"geometry" :
"nodes" :
"relations" :
"relations_right" :
}