irods / irods_client_http_api

An iRODS C++ HTTP API using Boost.Beast
BSD 3-Clause "New" or "Revised" License
0 stars 7 forks source link

Add a way to get connected server configuration #322

Open alanking opened 3 weeks ago

alanking commented 3 weeks ago

Feature

Create a mechanism for viewing configuration information of the connected server. This could be useful for HTTP API users (that is, client developers) but it would be especially useful for testing (hence the "testing" tag). We can be selective about what information is returned. We may also want to limit access to admin users, but I'm not sure how that would work or whether it can be done.

Spawned from this comment: https://github.com/irods/irods_client_http_api/pull/320/files/bc8d2bc4fbd060e9a3c19f9c19dadf076cd81e20#r1725090390 This could be part of the /info endpoint.

trel commented 3 weeks ago

could just give 'more' information if it's an authenticated admin user who connects...

not convinced that is easier to explain/document than a different endpoint (/config or something)