Get the OnlineStatus of a interface thanks to the Station API

I am trying to get the ‘OnlineStatus’ of an interface, but I only got few of the expected parameters (cf. pictures below). My final goal is implementing a solution built on the status of the running interface. Thank you

Hi @antoine.guerrin,

Thank you for bringing this up. I chatted with our internal teams and it looks like this never got implemented.

We will review and update the docs. We will also see if the online status is something that we. can plan to do.

Could you tell me a bit more about what you would do with the active status of the interfaces?

Sincerely,

Jake

Could you then also consider to add the current Instance and Workspace?
There seems to be a list of allocated Workspaces, but not the one this station is currently operating an app on.

The thing is, this could serve as switch to make an app behave slightly different dependent on the workspace (the operator might have other intentions).
(This could also be solved as a “App Info” variable type…)

But this could also be useful for monitoring reasons or so…

Hi @thorsten.langner,

I believe that the current workspace is listed (seen here in the API docs) as well as the screenshot above.


You can get the instance from the request itself (for example the request would be xyz.tulip.co/api…), XYZ would be the instance.

Thanks,

Jake

Hi Jake,

Thank you for your reply. So, according to what you explained, this parameter was in the list of expected ones in the Station API documentation, but it was never implemented?
Also, do you know when it could be released, if this feature is adopted by your team ?

Thank you for your feedback and your help.

Kind regards,

Antoine GUERRIN.

Hi @antoine.guerrin,

Yes - it wasn’t implemented.

We’re discussing this internally and will keep you posted! Thank you again for flagging the discrepancy to us.

Sincerely,

Jake

1 Like

Isn’t the highlighted area implying, that it shows all or an array (set) of all Workspace ID’s in scope?

If one has all or a scope of thee Workspaces… how do I see, on which one the station is currently running?

It is actually saying “Workspace membership” (not current usage)…

Do you get my point?

Hi again Jake,

Thanks for the feedback. Please don’t hesitate to reach out if you need any further details or input from my side.

Best regards,

Antoine

Hi @thorsten.langner,

Stations aren’t shared across workspaces so they shouldn’t be a concern. Also, the connector has to be workspace-scoped so it would have to be passed from an app or manually to get the workspace.

My recommendation here would be to pass the workspace into the connector like this.

Sincerely,

Jake

1 Like