-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Milestone
Description
Describe the bug
While working with a client's Command Centre instance I found that a number of EventSummary (while tailing the /events/updates endpoint)objects were failing to parse due to missing attributes or the attributes being too strict.
To Reproduce
Steps to reproduce the behavior:
- Run the test_events.py
- Or try and validate the response from
/api/events/updatesusingEventSummary
Expected behavior
The validation should pass, instead the following fail:
operator.hrefrequired and should be optionalcard.idis not sent down in the responsemodified_item.hrefis required and it not sent downsource.hrefshould be optional
Screenshots
NA
Desktop (please complete the following information):
NA
Smartphone (please complete the following information):
NA
Additional context
- See also Support retrieving partial responses from endpoints (refactor for pydantic
2.10) #20 - Command Centre was running version
8.9 - Before we go down debugging this, can we please make sure that the
followcommand is targeting the right URLs.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation