Skip to content

Add possibility to get only pending events from /events #217

Closed
roesekoSICKAG wants to merge 1 commit into
version-1-xfrom
fix/211-improve-event-endpoints
Closed

Add possibility to get only pending events from /events #217
roesekoSICKAG wants to merge 1 commit into
version-1-xfrom
fix/211-improve-event-endpoints

Conversation

@roesekoSICKAG
Copy link
Copy Markdown
Collaborator

In order to unify the event access the /diagnosis endpoint has been removed and a query parameter for /events has been introduced.

See #211

@wolfram-ladurner
Copy link
Copy Markdown
Collaborator

I think this one should go into version-1-x instead of master?

@roesekoSICKAG roesekoSICKAG changed the base branch from master to version-1-x February 23, 2026 08:40
name: onlyPendingEvents
in: query
description: |
If true, only pending events will be returned. Each event with a *mode* of "APPEARS" is considered as an pending event until the occurence of a corresponding with *mode* of "DISAPPEARS".
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a note about events of type NOTICE (I guess they are never considered as pending/active).

@roesekoSICKAG
Copy link
Copy Markdown
Collaborator Author

See comment in #211

@roesekoSICKAG roesekoSICKAG deleted the fix/211-improve-event-endpoints branch April 22, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants