It would be very useful to specify a list of fields while sending a query for endpoints. The expected fields will be included in the evaluated result. There can be several approaches to achieve this, one of them will be:
/services?fields=,,
In the above URI, the "fields" variable contains a list of field names which can be sent to the emir server. The matching result returning the JSON documents will have the same field. However the ID will be there regardless of definition. In case of no fields, full documents will be returned.
For instance:
/services?fields=Service_Endpoint_ID,Service_Endpoint_URL
It would be very useful to specify a list of fields while sending a query for endpoints. The expected fields will be included in the evaluated result. There can be several approaches to achieve this, one of them will be:
/services?fields=,,
In the above URI, the "fields" variable contains a list of field names which can be sent to the emir server. The matching result returning the JSON documents will have the same field. However the ID will be there regardless of definition. In case of no fields, full documents will be returned.
For instance:
/services?fields=Service_Endpoint_ID,Service_Endpoint_URL