NCATS-Tangerine / beacon-aggregator

A web service that operates over the Beacon network to provide a single software interface over the all the Beacons
Other
2 stars 0 forks source link

Logging errors and info #7

Closed lhannest closed 7 years ago

lhannest commented 7 years ago

We should add a session ID parameter that the user can enter, and then keep logs for the queries called with that session ID. The user will keep track of their own ID, and is responsible for choosing something that is unlikely to clash with other users ID's.

The user might do: api/concepts?keywords=diabetes&sessionId=1j2l3j4n13k4iofoj23oj And then call: api/logs?sessionId=1j2l3j4n13k4iofoj23oj To see what is going on with this call, and view any errors that might have occurred.