Skip to content

Adding additional values into the /info endpoint #467

@MarekNieslanik

Description

@MarekNieslanik

Hi,
this isn’t an issue, but rather a question.
Would it be possible to add some additional information to the /info endpoint?
Mainly the value of /http_server/authentication/basic/timeout_in_seconds. I’m trying to implement automatic token refreshes in our Python HTTP API client, and this would be really useful.
I’m solving an issue where the token expires and the API returns a 401 Unauthorized so the client need to reauthenticate. This is a bit problematic when uploading files in parallel using 5 workers. I would like to implement functionality that controls the session expiration and refreshes it on its own, so there wouldn’t be any try except. For that reason, I would need the timeout_in_seconds value, so the solution would be generic for every configuration.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions