Version 1 (modified by csa, 15 years ago) |
---|
Services are the small applications providing information to the client applications. In most common case the service extracts information using ADEI API and encodes it in XML before sending to the user.
The services should be created in services/ subdirectory. It is wise to not populate a lot of standalone services allocating new one for each task, but group related tasks in the one service. The target property should be used to reference the task to be performed.
For example, the list service is used to provide list of data sources, logging groups, control groups, items, etc. The following request is returning list of servers
http://adei_server.net/adei/services/list.php?target=servers
while this on the list of supported export formats:
http://adei_server.net/adei/services/list.php?target=formats
Basically, the services should interpret standard parameters described in Web Developers Guide (to select requested intervals, data sources, etc.) and generate requested output.