TC10.23: IOT Directory - API (develpment manual)

×

Warning message

You can't delete this newsletter because it has not been sent to all its subscribers.

extractionRules.php                      

used by

management\js\extractionRules.js

management\js\deviceDiscovery.js

apis

---PRIVATE
insert
get_rules
update
delete_rule

 

associationRulesApi.php              

used by

management\js\associationRules.js

apis

--- PRIVATE
get_cb_details TOMOVE
get_multiple_cb_details TOMOVE
suggest_associations TOTEST
get_rules_affecting_count TOTEST
get_rules_affecting_data TOTEST
apply_rules TOTEST

 

bulkDeviceLoad.php                      

used by

api\async_request.php + management\js\bulkDeviceUpdate.js

apis

--- PRIVATE
insert
update
bulkload
get_bulk_status
stop_bulk
delete_temporary
delete_all_temporary
get_count_temporary_devices
delete_after_insert
get_temporary_devices
get_temporary_attributes

 

bulkDeviceUpdate.php                 

used by

management\js\associationRules.js + management\js\bulkDeviceUpdate.js

apis

--- PRIVATE
get_temporary_devices
get_temporary_attributes
get_affected_devices_count TOTEST
get_affected_devices TOTEST
update_all_devices TOTEST
get_affected_values_count TOTEST
update_all_values TOTEST
get_affected_values TOTEST
get_fields TOTEST

 

value.php                           

used by

management\js\associationRules.js

apis

PUBLIC --- link to swagger
insert
update
delete
check_if_last_value
get_all_event_value

----PRIVATE
get_all_event_value_admin  (can be unified with get_all_event_value)
get_all_private_event_value (can be unified with get_all_event_value)
get_all_delegated_event_value (can be unified with get_all_event_value)
get_all_value_latlong
get_all_private_event_value_map (can be unified with get_all_value_latlong)
get_all_delegated_event_value_map (can be unified with get_all_value_latlong)
delegate_value_list
delegate_value
remove_delegation
remove_delegate_value

 

ldap.php                             

used by

api\common.php + management\js\* x 8 ... per le deleghe principalmente

apis

--- PRIVATE
get_all_ou
get_logged_ou
get_group_for_ou

 

contextbroker.php                         

used by

 

apis

--- PUBLIC link to swagger
insert
update
delete
get_all_contextbroker
get_services_by_cb_name

--- PRIVATE
get_delegations
add_delegation
remove_delegation
change_visibility
change_owner
get_all_contextbroker_latlong

 

model.php                                         

used by

 

apis

--- PUBLIC link to swagger
insert
update
delete
get_model
get_value_attributes
get_all_models or get_all_models_simple   
get_all_models_DataTable (can be unified with get_all_models)

 

device.php                                        

used by

management\js\ ...

management\js\deviceDiscovery.js

apis

--- PUBLIC link to swagger
insert
update
delete
get_all_device
get_device_attributes
get_device
download

--- PRIVATE
get_param_values
get_available_static
change_visibility
change_owner
get_delegations
add_delegation
remove_delegation
get_all_device_latlong
get_all_device_admin (can be unified with get_all_device)

 

deviceDiscoveryApi.php

used by

management\js\ ...

management\js\deviceDiscovery.js

snap4cityServer\snap4cityBroker\ngsiMTSP2IoTDirectory_rw.js

apis

--- PRIVATE

getCBServiceTree

getCBServiceTrees

get_all_ext_devices_in_iot_dir

 

common.php -- TO CLEAN PROPERLY

functionality.php

used by management\* x 12 TODO CAPIRE COSA SERVE
apis get_functionality

Requests.php

used by api\async_request.php
apis --- class to Make asynchronous requests

 

accessLog.php

used by management\js\accessLog.js
apis --- PRIVATE
get_log
 

async_request.php

used by

management\js\associationRules.js

management\js\bulkDeviceUpdate.js

apis --- simply invoke the background Request.php on /api/bulkDeviceLoad.php

 

nodeRedConnection.php

used by maybe nodered?
api commented any, kept for backword compatibility