Skip to content

Clarification Needed: /iolink/v2/gateway/events vs. /iolink/v2/gateway/diagnosis #211

@thbauer-pepperl-fuchs

Description

@thbauer-pepperl-fuchs

There appears to be overlap or unclear differentiation between two endpoints in the IO-Link Gateway API:

  • /iolink/v2/gateway/events
  • /iolink/v2/gateway/diagnosis

/iolink/v2/gateway/events

Description:
Each Gateway shall have an Event Log object containing the events of the devices, ports and the masters. The content of the Event Log can be read by getting the object "Gateway Event Log".

Additional Query Parameters:

  • top (integer, query parameter)
    Parameter to select the oldest x events of the event buffer. top is mutually exclusive to bottom.

  • bottom (integer, query parameter)
    Parameter to select the youngest x events of the event buffer. bottom is mutually exclusive to top.

/iolink/v2/gateway/diagnosis

Description:
Each event with a mode of "APPEARS" is considered as a pending event until the occurrence of a corresponding event with mode of "DISAPPEARS". Pending events must be provided regardless of the Event Log content.

My Question:

The Response Body in the examples looks similar between both endpoints.:

  1. What is the specific use case for each endpoint?
  2. When should developers use /events vs. /diagnosis?
  3. Does /diagnosis only return "pending" events (those with mode="APPEARS" that haven't been matched with mode="DISAPPEARS")?
  4. Does /events return the full event log regardless of pending status?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions